Skip to content

granite-34b-code-instruct-4bit

mlx-community/granite-34b-code-instruct-4bit
Text generation · transformers
4-bit Open on Hugging Face
Parameters
34B
Weights (est.)
≈ 19.0 GB
Mac memory (est.)
24 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/granite-34b-code-instruct-4bit --prompt "Hello"

Details

Base model
ibm-granite/granite-34b-code-base-8k (finetune)
Vendor
IBM · Granite
Task
Text generation
Quantisation
4-bit
Licence
apache-2.0
Downloads
56 in the last 30 days · 680 all time · 1 likes
Published
2024-05-06 · updated 2024-05-14 (2y ago)
Tags
gpt_bigcode, code, granite, model-index

Other MLX builds of ibm-granite/granite-34b-code-base-8k

Build Quantisation Weights Mac memory Downloads
granite-34b-code-instruct-4bit (this one) 4-bit ≈ 19.0 GB 24 GB+ 56
granite-34b-code-instruct-8bit 8-bit ≈ 35.8 GB 48 GB+ 38