-
Notifications
You must be signed in to change notification settings - Fork 2
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
Pin memory for tch-rs #13
Comments
Hi, totally agree, we should provide a similar functionality as the one described in PyTorch doc. |
Yeah! |
Interesting, do you have any link to this method? I couldn't find it in there repo |
here it is -> https://docs.rs/tch/0.13.0/tch/struct.Tensor.html#method.pin_memory :) |
Hello,
I think it could be great to pass a variable (pin_memory) to the dataloader to allow pin memory for the TorchCollate case. Wdyt ?
The text was updated successfully, but these errors were encountered: