Skip to content

granite-8b-code-instruct-8bit

mlx-community/granite-8b-code-instruct-8bit
Text generation · transformers
8-bit Open on Hugging Face
Parameters
8.1B
Weights (est.)
≈ 8.6 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/granite-8b-code-instruct-8bit --prompt "Hello"

Details

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

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

Build Quantisation Weights Mac memory Downloads
granite-8b-code-instruct-4bit 4-bit ≈ 4.5 GB 8 GB+ 66
granite-8b-code-instruct-8bit (this one) 8-bit ≈ 8.6 GB 16 GB+ 67