Skip to content

CodeLlama-34b-Instruct-hf-6bit-mlx

mlx-community/CodeLlama-34b-Instruct-hf-6bit-mlx
6-bit Open on Hugging Face
Parameters
34B
Weights (est.)
≈ 27.4 GB
Mac memory (est.)
48 GB+

Size is estimated from the parameter count and quantisation. Memory allows a fifth extra for context plus 2 GB for the system; long contexts need more.

Run it

With mlx-lm on an Apple silicon Mac:

pip install mlx-lmmlx_lm.generate --model mlx-community/CodeLlama-34b-Instruct-hf-6bit-mlx --prompt "Hello"

Details

Base model
codellama/CodeLlama-34b-Instruct-hf (quantized)
Vendor
codellama
Task
Text generation
Quantisation
6-bit
Licence
llama2
Downloads
46 in the last 30 days · 845 all time · 1 likes
Published
2025-04-27 · updated 2025-04-27 (1y ago)
Languages
code
Tags
llama, llama-2

Other MLX builds of codellama/CodeLlama-34b-Instruct-hf

Build Quantisation Weights Mac memory Downloads
CodeLlama-34b-Instruct-hf-4bit-mlx 4-bit ≈ 19.0 GB 24 GB+ 46
CodeLlama-34b-Instruct-hf-6bit-mlx (this one) 6-bit ≈ 27.4 GB 48 GB+ 46