GithubHelp home page GithubHelp logo

Comments (6)

qwopqwop200 avatar qwopqwop200 commented on August 15, 2024

I'm not familiar with pytorch cuda extension.
However, this code doesn't work.(RTX3090)
Also, please explain the benefits of this change.

from gptq-for-llama.

WuNein avatar WuNein commented on August 15, 2024

I tested on my rtx 3090 and 4090, in nvidia docker. IT is a must setup.

from gptq-for-llama.

qwopqwop200 avatar qwopqwop200 commented on August 15, 2024
nvcc_args = [
    '-gencode', 'arch=compute_80,code=sm_80',
    '-gencode', 'arch=compute_86,code=sm_86',
]

I have to use this code to make it work normally.
Does the CUDA version have any effect?

from gptq-for-llama.

WuNein avatar WuNein commented on August 15, 2024

sm_90 is H100, 80-86 shall be 3090 - 4090.
I have to specific version, or it will generate all sm, include parcel ones.
This shall be notify in README, i think.

For your problem, i think it is related to driver version, older drivers do not have sm_90.

from gptq-for-llama.

qwopqwop200 avatar qwopqwop200 commented on August 15, 2024

It seems to depend on the cuda version. sm90 is supported from cuda 12.0.

https://arnon.dk/matching-sm-architectures-arch-and-gencode-for-various-nvidia-cards/

from gptq-for-llama.

qwopqwop200 avatar qwopqwop200 commented on August 15, 2024

We currently use Triton instead of CUDA.

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.