Replies: 1 comment 3 replies
-
sorry for the confusion, |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
In the section "4. Cache IO and transforms data to GPU" in fast training guide, it seems
ToDeviced
transform is needed (afterEnsureTyped
) to move data to GPU. However, in the fast_training_tutorial.ipynb,ToDeviced
is not used, and onlyEnsureTyped
is used to "convert the data to Tensor without meta, move to GPU and cache to avoid CPU -> GPU sync in every epoch" according to the comment.So is
ToDeviced
still needed afterEnsureTyped
? Or justEnsureTyped
is enough?Beta Was this translation helpful? Give feedback.
All reactions