Fix inconsistent devices for tensors#417
Fix inconsistent devices for tensors#417jonashaag merged 8 commits intoasteroid-team:masterfrom hangtingchen:master
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