Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@sebffischer
Copy link
Member

Because LearnerTorchModel stored an instantiated nn_module, this caused issues when transferring the learner to the worker, e.g. when using callr encapsulation.
This is now solved by serializing the network and unserializing it during training.

Because `LearnerTorchModel` stored an instantiated `nn_module`,
this caused issues when transferring the learner to the
worker, e.g. when using callr encapsulation.
This is now solved by serializing the network and unserializing
it during training.
@sebffischer sebffischer merged commit a5e7403 into main Feb 7, 2025
@sebffischer sebffischer deleted the fix-learner-torch-model branch February 7, 2025 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants