Instructions to use cfahlgren1/Idol-Turbo-MLX-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use cfahlgren1/Idol-Turbo-MLX-8bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download cfahlgren1/Idol-Turbo-MLX-8bit --local-dir Idol-Turbo-MLX-8bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Idol Turbo 路 MLX 8-bit denoiser
Idol's denoiser with the Idol Turbo high-noise ("slow") expert merged in, quantized to 8-bit for mlx-serve on Apple Silicon. It turns one photo into a 3D Gaussian splat in 5 steps instead of 50: about 15 s on an M3 Max instead of about 3 minutes.
This is the file idol-mlx downloads. You don't need to download it yourself:
uvx idol-mlx photo.jpg --view
Use it with mlx-serve directly
Without idol-mlx, set up the model folder yourself and call mlx-serve's API. Start from the regular 8-bit Idol pack and swap in this denoiser:
brew tap ddalcu/mlx-serve https://github.com/ddalcu/mlx-serve && brew install mlx-serve
hf download ddalcu/Idol-MLX-Serve-8bit --local-dir ~/.mlx-serve/models/Idol-Turbo
hf download cfahlgren1/Idol-Turbo-MLX-8bit denoiser.safetensors --local-dir ~/.mlx-serve/models/Idol-Turbo
mlx-serve --serve --host 127.0.0.1 --model-dir ~/.mlx-serve/models
The model's id is its folder name, Idol-Turbo. In another terminal, send a photo and save the splat:
curl -s localhost:11234/v1/3d/generations \
-H 'content-type: application/json' \
-d "{\"model\": \"Idol-Turbo\", \"image\": \"$(base64 -i photo.jpg)\", \"steps\": 5, \"guidance_scale\": 0,
\"geometry\": \"splat\", \"num_gaussians\": 262144, \"mode\": \"real\", \"seed\": 42}" \
| jq -r .data | base64 -d > photo.glb
- Use 5 steps and
guidance_scale0. Guidance is already part of Turbo's weights. - Set
"geometry": "splat". Without it, mlx-serve returns a regular mesh instead of a Gaussian splat. - Set
modefor your input:"real"for photographs,"synthetic"for renders and AI-generated images, which crops tighter around the object.
The result is a GLB using KHR_gaussian_splatting. For the standard 3DGS .ply that most splat viewers open:
uvx --from idol-mlx python -c "from idol_mlx import Splat; Splat.from_glb(open('photo.glb', 'rb').read()).save('photo.ply')"
What's here
| File | What it is |
|---|---|
denoiser.safetensors |
The merged, 8-bit denoiser (447 MB) |
idol-mlx.json |
Exactly which source revisions it was built from, and its SHA-256 |
It is only the denoiser. The rest of the model (decoders, background remover, image encoders) comes from ddalcu/Idol-MLX-Serve-8bit, and this file drops into a copy of that folder in place of its denoiser.safetensors. To mlx-serve it is plain Idol, so it runs Turbo without adapter support.
How it was made
- Merge the slow LoRA expert into Idol's full-precision denoiser:
W' = W + (128 / 32) 路 B 路 Aon each of the 112 adapted layers. - Quantize exactly like the published 8-bit pack: block Linear layers to affine 8-bit, group size 64, everything else as in that pack.
The build is deterministic. idol-mlx's tests check that its quantizer reproduces the published 8-bit pack exactly, and that rebuilding this file from the revisions in idol-mlx.json gives identical tensors. (The file's bytes can differ between mlx versions, which lay out the same tensors differently.) To rebuild it yourself, see idol_mlx.pack.merge_and_quantize.
Using only the slow expert for all 5 steps is Idol Turbo's documented "simple" path. Colours come out a little darker than the full two-expert recipe or the 50-step base model.
License and credits
- Idol by Speri Labs and the Idol Turbo adapter by AK, both Apache-2.0. This merged file is Apache-2.0 as well.
- Unofficial, and not affiliated with Speri Labs.
Quantized
Model tree for cfahlgren1/Idol-Turbo-MLX-8bit
Base model
speridlabs/idol