Git Product home page Git Product logo

Comments (10)

BlackSamorez avatar BlackSamorez commented on June 16, 2024

Please provide the following information:

  • aqlm version
  • torch version
  • CUDA version
  • Your GPU model

from aqlm.

amrothemich avatar amrothemich commented on June 16, 2024

Thanks!

aqlm==1.1.3
torch: 2.2.2+cu121
cuda: 12.1
GPU: Tesla V100 via Databricks: NCv3 VM https://learn.microsoft.com/en-us/azure/virtual-machines/ncv3-series

(And FYI using ISTA-DASLab/Mixtral-8x7B-Instruct-v0_1-AQLM-2Bit-1x16-hf, I'm still having the same issue)

from aqlm.

BlackSamorez avatar BlackSamorez commented on June 16, 2024

@amrothemich v100 doesn't really support efficient bf16 operations. If you were to update aqlm to the latest version it would perform a check for Compute Capability to display a more readable error.

from aqlm.

amrothemich avatar amrothemich commented on June 16, 2024

Okay got it, thanks. So is bf16 a requirement for the whole library or just this model?

from aqlm.

BlackSamorez avatar BlackSamorez commented on June 16, 2024

bfloat16 is not a requirement at all. You can pass torch_dtype=torch.float16 to from_pretrained to use standard half precision. It should work for any model no problem.

from aqlm.

BlackSamorez avatar BlackSamorez commented on June 16, 2024

Actually, float16 is the default for the models we put out. No need to specify it explicitly.
But first please update aqlm. It simply wouldn't compile otherwise.

from aqlm.

amrothemich avatar amrothemich commented on June 16, 2024

from aqlm.

BlackSamorez avatar BlackSamorez commented on June 16, 2024

I see, I'm sorry. It's not that you didn't update, it's actually the opposite: I broke it in the latest release.
The latest dequantization kernels won't compile on GPUs with Compute Capability of 8 or less.
For now, you can downgrade to 1.1.2 and everything should work. I'll try and fix the error to allow you to use the latest dequantization kernels as well.

from aqlm.

amrothemich avatar amrothemich commented on June 16, 2024

from aqlm.

BlackSamorez avatar BlackSamorez commented on June 16, 2024

Please update to aqlm>=1.1.4 and it should resolve the issue.
Feel free to reopen it if it doesn't.

from aqlm.

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.