You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A TensorGPU can be created from any object conforming to a CUDA Array Interface. Version 3 of this interface (accodring to numba docs) has a stream property, which can be either an integer or None.
DALI, however, always assumes that it will be an integer - which can lead to bugs in some cases, like in the example where I am trying to convert a gpuarray from pycuda package.
Version
1.36.0
Describe the bug.
A
TensorGPU
can be created from any object conforming to a CUDA Array Interface. Version 3 of this interface (accodring to numba docs) has astream
property, which can be either an integer orNone
.DALI, however, always assumes that it will be an integer - which can lead to bugs in some cases, like in the example where I am trying to convert a
gpuarray
frompycuda
package.The code responsible for this bug is
DALI/dali/python/backend_impl.cc
Lines 283 to 286 in dedcfae
and the bug was introduced with #5125, which was released in 1.32.0
Minimum reproducible example
Relevant log output
Other/Misc.
No response
Check for duplicates
The text was updated successfully, but these errors were encountered: