Skip to content

fix _data_to_device in Trainer class#5

Merged
jkiesele merged 1 commit into
jkiesele:mainfrom
kschaeub:main
Apr 22, 2026
Merged

fix _data_to_device in Trainer class#5
jkiesele merged 1 commit into
jkiesele:mainfrom
kschaeub:main

Conversation

@kschaeub

@kschaeub kschaeub commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

Stage data to CPU before moving it to multiple GPUs, to avoid error of zero-filled tensors when using multiple devices during training.

@jkiesele jkiesele merged commit 0a00734 into jkiesele:main Apr 22, 2026
4 checks passed
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