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

RuntimeError: CUDA error: no kernel image is available for execution on the device #238

Open
new-Sunset-shimmer opened this issue Nov 15, 2024 · 1 comment

Comments

@new-Sunset-shimmer
Copy link

cos = cos[position_ids].unsqueeze(unsqueeze_dim)

RuntimeError: CUDA error: no kernel image is available for execution on the device
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with TORCH_USE_CUDA_DSA to enable device-side assertions

@Yiman-GO
Copy link

Yiman-GO commented Dec 9, 2024

have you solved this problem? I met the same runtimeerror at "out = out + self.bias if self.bias is not None else out"

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