Git Product home page Git Product logo

Comments (3)

marella avatar marella commented on June 5, 2024 1

In the error it shows it is trying to use C:\Program Files (x86)\Microsoft Visual Studio\2022 not 2019. Can you please try updating CUDA to 11.8
Also the CUDA toolkit version should be same as the CUDA version PyTorch was compiled with for auto-gptq to work.
Can you please share the PyTorch version you have installed (pip freeze). It looks something like torch==2.0.1+cu118

If you have CUDA 11.8 you can also download and install prebuilt wheels from here that don't require compilation:

pip install auto_gptq-0.2.2+cu118-cp310-cp310-win_amd64.whl

If none of these work, you can disable building the CUDA extension:

BUILD_CUDA_EXT=0 pip install auto-gptq

from chatdocs.

pyrater avatar pyrater commented on June 5, 2024

pip install auto_gptq-0.2.2+cu118-cp310-cp310-win_amd64.whl fixed it.

from chatdocs.

pyrater avatar pyrater commented on June 5, 2024

Thank you!

from chatdocs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.