GithubHelp home page GithubHelp logo

Comments (14)

farrael004 avatar farrael004 commented on August 15, 2024 1

That doesn't work either. I managed to run it in a docker image, but that's just a workaround. Unfortunately even that doesn't work for what I want to do.

from gptq-for-llama.

mityarko avatar mityarko commented on August 15, 2024 1

If you are using conda try the following:

conda install cudatoolkit=11.7 -c conda-forge
conda install cuda -c nvidia/label/cuda-11.7.0
python setup_cuda.py install

from gptq-for-llama.

TheTerrasque avatar TheTerrasque commented on August 15, 2024

I'm guessing you're missing VS build toolkit. #11 (comment) - Need that for windows.

Alternatively you can use WSL2 or Docker

from gptq-for-llama.

farrael004 avatar farrael004 commented on August 15, 2024

It's installed. Maybe something from it is not in path? I wouldn't know what though.

from gptq-for-llama.

papuSpartan avatar papuSpartan commented on August 15, 2024

It's installed. Maybe something from it is not in path? I wouldn't know what though.

Open windows search by hitting Windows + S and search native. You should see x64 Native Tools Command Prompt for VS 2019 (make sure you do not select the wrong year if you already had another version installed like 2022). Also, since it's a cmd shell and not powershell you will need to run set DISTUTILS_USE_SDK=1 instead of $env:DISTUTILS_USE_SDK=1.

from gptq-for-llama.

DamascusGit avatar DamascusGit commented on August 15, 2024

That doesn't work either. I managed to run it in a docker image, but that's just a workaround. Unfortunately even that doesn't work for what I want to do.

same here. i am getting the exact same error, have tried everything and still getting this issue. i've also got VS 2019, i set DISTUTILS, i do everything and still no help.

from gptq-for-llama.

farrael004 avatar farrael004 commented on August 15, 2024

I managed to find a workaround (It requires a bit of Linux knowledge). Install Ubuntu 22.04 from the Microsoft Store, then open it and follow the installation process for linux instead. I installed cuda in this linux too, but I'm not sure if it was necessary. If you do, just make sure that the cuda installed in your windows and linux are the same version, otherwise you'll run into errors.

from gptq-for-llama.

DamascusGit avatar DamascusGit commented on August 15, 2024

I managed to find a workaround (It requires a bit of Linux knowledge). Install Ubuntu 22.04 from the Microsoft Store, then open it and follow the installation process for linux instead. I installed cuda in this linux too, but I'm not sure if it was necessary. If you do, just make sure that the cuda installed in your windows and linux are the same version, otherwise you'll run into errors.

can you speak to more detailed instructions? dying to run this.

from gptq-for-llama.

DamascusGit avatar DamascusGit commented on August 15, 2024

like, where are the linux setup instructions? is it the same instructions once i have followed the WSL setup? how do i use the VSCode build tools in linux?

from gptq-for-llama.

farrael004 avatar farrael004 commented on August 15, 2024

It's essentially the same thing, but you don't have to install build tools for it since linux comes with a C++ compiler.

from gptq-for-llama.

DamascusGit avatar DamascusGit commented on August 15, 2024

ah yeah, it didn't work for me on linux, but it worked on python 3.10 with the alternate install workaround. it gave me a "CUDA extension not installed" message, but is currently loading the sharded checkpoints anyway.

from gptq-for-llama.

Brawlence avatar Brawlence commented on August 15, 2024

ah yeah, it didn't work for me on linux, but it worked on python 3.10 with the alternate install workaround. it gave me a "CUDA extension not installed" message, but is currently loading the sharded checkpoints anyway.

Be aware: that wheel is an old (2 weeks, lmao) version and it may not work with the current patches.

For any lost souls who look for compiled kernels, it's probably best to use: https://github.com/jllllll/GPTQ-for-LLaMa-Wheels

from gptq-for-llama.

qwopqwop200 avatar qwopqwop200 commented on August 15, 2024

currently using triton, so I don't think this problem will occur.

from gptq-for-llama.

Paillat-dev avatar Paillat-dev commented on August 15, 2024

Yes of course, but not for windows users... I's a shame

from gptq-for-llama.

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.