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
torch_manual_seed() now matches PyTorch's behavior so we can more easily compare implementations. Since this is a breaking change we added the torch.old_seed_behavior=TRUE option so users can stick to the old behavior. (#639)
Indexing with vectors has a now the same behavior as R indexing, making it easier to understand. Users can still use the old behavior by using torch_index or torch_index_put. (#649)
New features
Added support for ScriptModule. Loaded JIT modules now operate as nn_modules. (#593)
Added a jit_compile function that allows compiling arbitrary TorchScript code into script function that can be serialized and executed. (#601)
Added jit_trace support for nn_module created from R. (#604)
A warning is raised when an incompatible dataset is passed to a parallel dataloader. (#626)
Additionally to calling gc when CUDA memory is exhausted we now call R_RunPendingFinalizers. This should improve memory usage, because we will now delete tensors earlier. (#654)