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

cuda 12.2 AssertionError: AWQ kernels could not be loaded. #16

Open
s-natsubori opened this issue Apr 2, 2024 · 2 comments
Open

cuda 12.2 AssertionError: AWQ kernels could not be loaded. #16

s-natsubori opened this issue Apr 2, 2024 · 2 comments

Comments

@s-natsubori
Copy link

I am facing error, AWQ kernels could not be loaded. with autoawq==0.2.4.

  • image nvcr.io/nvidia/pytorch:23.10-py3
    • Python 3.10
    • cuda 12.2.2
    • torch 2.1.0a0+32f93b1

Build and install from source, it works.
Are there any plans to provide build packages for cuda12.2 ?

@abduIbasit
Copy link

i have cuda version 12.4 and unable to downgrade to 12.2, building and installing from source doesn't fix the issue for me @casper-hansen could you please look at the issue with the kernels not being able to be loaded

@wasertech
Copy link
Contributor

wasertech commented Aug 6, 2024

I encountered a similar issue with CUDA 12.5. The problem was that the PyTorch version pinned in setup.py was prebuilt with CUDA 12.2. To resolve this, I created a branch (#29) that allows building the kernel from source with CUDA 12.5 (or any other for that matter). I’ve successfully built the kernel multiple times using this branch. Feel free to check it out and let me know if you have any questions!

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

3 participants