Skip to content
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

Getting no kernel image error #2708

Open
ankur6ue opened this issue Jan 28, 2025 · 3 comments
Open

Getting no kernel image error #2708

ankur6ue opened this issue Jan 28, 2025 · 3 comments

Comments

@ankur6ue
Copy link

Pytorch version: 2.5
torchrec version: 1
Cuda: 11.8
GPU: Nvidia 1080 Ti. Architecture: 6.1

Running the two tower example. Getting the following runtime error:

File "/home/ankur/miniconda3/envs/py3_12/lib/python3.12/site-packages/torchrec/sparse/jagged_tensor.py", line 79, in _to_offsets
return torch.ops.fbgemm.asynchronous_complete_cumsum(lengths)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ankur/miniconda3/envs/py3_12/lib/python3.12/site-packages/torch/_ops.py", line 1116, in call
return self._op(*args, **(kwargs or {}))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: CUDA error: no kernel image is available for execution on the device

Any suggestions?

@ankur6ue
Copy link
Author

Also, I ran Pytorch's Distributed Dataparallel example on my computer just fine.. implying that the CUDA error is because of some cuda kernel binaries in the torchrec distribution?

@dstaay-fb
Copy link
Contributor

Hi is this still an open issue?

@ankur6ue
Copy link
Author

Yes it is! Any suggested fixes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants