Text Generation
MLX
Safetensors
mistral3
rotorquant
kv-cache-quantization
8bit
weight-quantization
leanstral
lean4
formal-proofs
theorem-proving
quantized
apple-silicon
mistral
Mixture of Experts
8-bit precision
Instructions to use majentik/Leanstral-RotorQuant-MLX-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use majentik/Leanstral-RotorQuant-MLX-8bit with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # if on a CUDA device, also pip install mlx[cuda] # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("majentik/Leanstral-RotorQuant-MLX-8bit") prompt = "Once upon a time in" text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use majentik/Leanstral-RotorQuant-MLX-8bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "majentik/Leanstral-RotorQuant-MLX-8bit" --prompt "Once upon a time"
- Atomic Chat
Card accuracy pass 3: remove brand-comparison claim tables
Browse files89 unmodified lines9091929394959689 unmodified lines| Method | Prefill Speed | Decode Speed | Memory Savings | Reference ||---|---|---|---|---|| **TurboQuant** | Baseline | Baseline | High | [arXiv: 2504.19874](https://arxiv.org/abs/2504.19874) || **RotorQuant** | different | 28% faster | High | [GitHub](https://github.com/scrya-com/rotorquant) |## Memory Estimates89 unmodified lines9091929394959689 unmodified lines| Method | Prefill Speed | Decode Speed | Memory Savings | Reference ||---|---|---|---|---|| **TurboQuant** | Baseline | Baseline | High | [arXiv: 2504.19874](https://arxiv.org/abs/2504.19874) |## Memory Estimates
README.md+1-1