How to use from
Unsloth Studio
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh
# Run unsloth studio
unsloth studio -H 0.0.0.0 -p 8888
# Then open http://localhost:8888 in your browser
# Search for Basher17/unsloth-granite-4.1-30b-mlx-8Bit to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex
# Run unsloth studio
unsloth studio -H 0.0.0.0 -p 8888
# Then open http://localhost:8888 in your browser
# Search for Basher17/unsloth-granite-4.1-30b-mlx-8Bit to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required
# Open https://huggingface.co/spaces/unsloth/studio in your browser
# Search for Basher17/unsloth-granite-4.1-30b-mlx-8Bit to start chatting
Load model with FastModel
pip install unsloth
from unsloth import FastModel
model, tokenizer = FastModel.from_pretrained(
    model_name="Basher17/unsloth-granite-4.1-30b-mlx-8Bit",
    max_seq_length=2048,
)
Quick Links

Basher17/unsloth-granite-4.1-30b-mlx-8Bit

The Model Basher17/unsloth-granite-4.1-30b-mlx-8Bit was converted to MLX format from Basher17/unsloth-granite-4.1-30b-mlx-fp16 using mlx-lm version 0.31.2.

Use with mlx

pip install mlx-lm
from mlx_lm import load, generate

model, tokenizer = load("Basher17/unsloth-granite-4.1-30b-mlx-8Bit")

prompt="hello"

if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
    messages = [{"role": "user", "content": prompt}]
    prompt = tokenizer.apply_chat_template(
        messages, tokenize=False, add_generation_prompt=True
    )

response = generate(model, tokenizer, prompt=prompt, verbose=True)
Downloads last month
495
Safetensors
Model size
29B params
Tensor type
BF16
·
U32
·
MLX
Hardware compatibility
Log In to add your hardware

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Basher17/unsloth-granite-4.1-30b-mlx-8Bit

Quantized
(3)
this model