PyTorch checkpointing with Tin
#4
Labels
enhancement
New feature or request
hard
hard to implement
PyTorch-related
Taichi-related
welcome_contribution
contributions are welcome
Now although
Tin
is subclass oftorch.nn.Module
, we cannot actually save parameters and "model structures" inTin
because parameters are values in Taichi fields and "model structures" are actually Taichi kernels and Taichi functions.To totally serialize a
Tin
, we need to serialize parameters, which may be achieved by a proxytorch.nn.Parameter
(see issue #3 ), but we also need to serialize Taichi kernels and Taichi functions.If anyone comes up with a better solution, discussions and PRs are always welcomed.
The text was updated successfully, but these errors were encountered: