-
Notifications
You must be signed in to change notification settings - Fork 423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix inconsistent devices for tensors #417
Conversation
…ording to the epoch number
update streaming
Looks good, can you add a test? |
IMO, we can merge without a test. |
Ah, since we only have a single PyTorch device in CI, it's kind of pointless anyways. I was wondering why this isn't tested already, but we always only ever test with the default device in the first place. At some point it would be really great to add a second the device to CI and also run all of the tests on CPU and CUDA. |
The bug was found when I train the network on GPU, but |
Unfortunately we don't have GPU support in CI :( Will merge this fix, thanks for the patch. |
Yes, no GPU on CI. Maybe we can emulate another device? It might be too much work. |
Fix inconsistent devices for tensors