CodeLlama-7b-Instruct-hf-8bit-mlx
mlx-community/CodeLlama-7b-Instruct-hf-8bit-mlx
Text generation · mlx
8-bit Open on Hugging Face
Parameters
6.7B
Weights (est.)
≈ 7.2 GB
Mac memory (est.)
16 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-7b-Instruct-hf-8bit-mlx --prompt "Hello"
Details
- Base model
- codellama/CodeLlama-7b-Instruct-hf (quantized)
- Vendor
- codellama
- Task
- Text generation
- Quantisation
- 8-bit
- Licence
- llama2
- Downloads
- 48 in the last 30 days · 479 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-7b-Instruct-hf
| Build | Quantisation | Weights | Mac memory | Downloads |
|---|---|---|---|---|
| CodeLlama-7b-Instruct-hf-4bit-mlx-2 | 4-bit | ≈ 3.8 GB | 8 GB+ | 44 |
| CodeLlama-7b-Instruct-hf-6bit-mlx | 6-bit | ≈ 5.5 GB | 16 GB+ | 30 |
| CodeLlama-7b-Instruct-hf-8bit-mlx (this one) | 8-bit | ≈ 7.2 GB | 16 GB+ | 48 |