Comments (10)
Please provide the following information:
aqlm
versiontorch
version- CUDA version
- Your GPU model
from aqlm.
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.
@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.
Okay got it, thanks. So is bf16 a requirement for the whole library or just this model?
from aqlm.
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.
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.
from aqlm.
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.
from aqlm.
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)
- Question: How to choose a dataset for quantizing with AQLM a model like Mistral 7b-Instruct v0.2 HOT 9
- DBRX Support HOT 6
- Any lightweight OpenAI API compatible HTTP server that can be used to serve AQLM models yet? HOT 1
- AQLM support for Cohere Command-R + HOT 3
- Request: AQLM quantization of the new Mixtral 8x22B HOT 3
- Fine-tune colab example doesn't work HOT 2
- Issues while attempting LLaMA-3 Quantization HOT 22
- Request: Phi-3-mini-128k-instruct Support HOT 2
- Query on Evaluation Support for C4 Validation HOT 5
- KV Cache Quantization HOT 3
- Minor race condition in CPU 2x8 inference code HOT 2
- Finetuning ISTA-DASLab/Mistral-7B-Instruct-v0.2-AQLM-2Bit-2x8: RuntimeError: CUDA error: invalid argument HOT 1
- Actual bitrate of models on github? HOT 4
- Request for the Llama-2-13B with AQLM (2x8 scheme) HOT 3
- How to run perplexity eval on HF hub models? HOT 1
- when load Llama, AutoConfig will occur error. HOT 2
- Request for Nvidia's RAG Implementation of Llama-3-70B "ChatQA 1.5" HOT 7
- Can you please share the *end-to-end* quantization script+config (including data used) for each model you've already quantized? (particularly llama-3 and miqu - i.e. 70B models) HOT 4
- FV tuning based on GPTQ HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aqlm.