Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Let installed PyTorch decide required version number #573

Merged
merged 3 commits into from
Sep 12, 2024

Conversation

wasertech
Copy link
Contributor

@wasertech wasertech commented Aug 6, 2024

Related to AWQ_kernels's PR#29 to let installed PyTorch version decide which is the required version.

Without it, I was able to build the kernels from source using CUDA 12.5 and PyTorch 2.4.0 but trying to install AWQ from source on Python 3.12.4 would downgrade torch and therefor prevent installation.

Once the kernels are built and installed, install AWQ from source using the following command to avoid downgrading pytorch.

pip install --no-build-isolation "git+https://github.com/wasertech/AutoAWQ.git@py312-torch240-cu124"

@casper-hansen casper-hansen merged commit d5ec43d into casper-hansen:main Sep 12, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants