CUDA 11.4 and above are recommended (this is for GPU users, flash-attention users, etc.) To run Qwen-72B-Chat in bf16/fp16, at least 144GB GPU memory is required (e.g., 2xA100-80G or 5xV100-32G). To run it in int4, at least 48GB GPU memory is requred (e.g., 1xA100-80G or 2xV100-32G).
It’s derived from Qwen-72B, so same specs. Q2 clocks it in at only ~30GB.
TheChurn@kbin.social 9 months ago
Every billion parameters needs about 2 GB of VRAM - if using bfloat16 representation. 16 bits per parameter, 8 bits per byte -> 2 bytes per parameter.
1 billion parameters ~ 2 Billion bytes ~ 2 GB.
From the name, this model has 72 Billion parameters, so ~144 GB of VRAM
nicetriangle@kbin.social 9 months ago
Ok but will this run on my TI-83? It's a + model.
Rai@lemmy.dbzer0.com 9 months ago
Only if it’s silver.
01189998819991197253@infosec.pub 9 months ago
Dang. So close.
whoelectroplateuntil@sh.itjust.works 9 months ago
no. but put this clustering software i wrote in ti-basic on 40 million of them? still no
FaceDeer@kbin.social 9 months ago
It's been discovered that you can reduce the bits per parameter down to 4 or 5 and still get good results. Just saw a paper this morning describing a technique to get down to 2.5 bits per parameter, even, and apparently it 's fine. We'll see if that works out in practice I guess
Corngood@lemmy.ml 9 months ago
I’m more experienced with graphics than LM, but wouldn’t that cause a significant increase in computation time, since those aren’t native types for arithmetic? Maybe that’s not a big problem?
If you have a link for the paper I’d like to check it out.
FaceDeer@kbin.social 9 months ago
My understanding is that the bottleneck for the GPU is moving data into and out of it, not the processing of the data once it's in there. So if you can get the whole model crammed into VRAM it's still faster even if you have to do some extra work unpacking and repacking it during processing time.
The paper was posted on /r/localLLaMA.
L_Acacia@lemmy.one 9 months ago
You can take a look at exllama and llama.cpp source code on github if you want to see how it is implemented.
Amaltheamannen@lemmy.ml 9 months ago
Though with quantisatiom you can get it down to like 30GB of vram or less.
rs137@lemmy.world 9 months ago
Llama 2 70B with 8b quantization takes around 80GB VRAM if I remember correctly. I’ve tested it a while ago.
OutrageousUmpire@lemmy.world 9 months ago
Any idea what 8Q requirements would be? Or 4 or 5?
General_Effort@lemmy.world 9 months ago
huggingface.co/senseable/…/main
About 44GB and 50GB for the Q4 and 5. You’d need quite some extra to fully use the 32k context length.