-
Notifications
You must be signed in to change notification settings - Fork 1.4k
2789 Add ToDevice transform #2791
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
Conversation
merge master
merge master
merge master
merge master
Signed-off-by: Nic Ma <nma@nvidia.com>
|
/black |
Signed-off-by: Nic Ma <nma@nvidia.com>
|
/black |
Signed-off-by: Nic Ma <nma@nvidia.com>
Hi @rijobro , Thanks for your review. Thanks. |
|
If you guys think |
I'm not familiar with this option, @dongyang0122 any idea? |
The transform is helpful and necessary to enable GPU-based data pre-processing or augmentation. The computing efficiency will be greatly improved. |
|
thanks @dongyang0122 , the |
|
Hi @wyli , As the doc said: "When non_blocking, tries to convert asynchronously with respect to the host if possible, e.g., converting a CPU Tensor with pinned memory to a CUDA Tensor. " Thanks. |
|
thanks @Nic-Ma, sounds good |
Signed-off-by: Nic Ma <nma@nvidia.com>
|
/black |
Fixes #2789 .
Description
This PR added the
ToDevicetransform.Status
Ready
Types of changes
./runtests.sh -f -u --net --coverage../runtests.sh --quick --unittests.make htmlcommand in thedocs/folder.