Caching PyTorch variables?

Hey @hertzmann :wave:,

We’d like to natively support this in Streamlit. Anyway you could reproduce the issue for us after upgrading to 0.57.0 and share the updated error message? Also, for reference, here is the GitHub issue we made to track this. Thanks for the help!