You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_pickle.PicklingError: Can't pickle <function my_kernel at 0x0000020199CA9000>: it's not the same object as __main__.my_kernel
Context
Being able to pickle kernels is necessary to save PyTorch models that contain Warp kernels. torch.save() uses pickle (or a user-provided pickling module) to store the models, which fails.
The text was updated successfully, but these errors were encountered:
Description
It is currently not possible to pickle Warp kernels.
Example:
yields the error:
Context
Being able to pickle kernels is necessary to save PyTorch models that contain Warp kernels.
torch.save()
usespickle
(or a user-provided pickling module) to store the models, which fails.The text was updated successfully, but these errors were encountered: