Downloads · 30 days
0
appautomaton/trellis2-mlx-8bit
trellis2-mlx-8bit is a image-to-3d model from appautomaton. Use it for the image-to-3d task on the model card, and read the license before you ship it in a product. It is set up for mlx. The card lists the license as other.
<p align="center" <a href="https://appautomaton.github.io"<img alt="App Automaton project" src="https://img.shields.io/badge/AppAutomaton-Project-5B5BD6?style=for-the-badge"</a <a href="https://github.com/appautomaton…
Downloads · 30 days
0
Access
Public
Updated Aug 14, 2026
Repo size
11.2 GB
Likes
1
Public
Click a slice to open those files.
.safetensors11.2 GB · 100%
From the Hugging Face model README
mlx-spatialA self-contained TRELLIS.2 image-to-3D bundle with selective 8-bit affine
weights for direct execution by
mlx-spatial on Apple Silicon.
The bundle includes the TRELLIS.2 checkpoints, DINOv3 image conditioner, and
RMBG-2.0 foreground extractor required by the local inference pipeline.
Large transformer and block-internal MLP matrices execute through MLX's packed quantized matrix multiplication. Convolutions and accuracy-sensitive boundary tensors remain in their source precision.
This is an unofficial quantized derivative. It is not a Microsoft, Meta, or BRIA release. Because the bundle contains RMBG-2.0, it is restricted to non-commercial use unless the user obtains separate commercial rights from BRIA.
| Variant | Precision | Complete bundle size | Model |
|---|---|---|---|
| Source dependency set | BF16, FP16, and FP32 | 18.483 GB | TRELLIS.2-4B + DINOv3 ViT-L/16 + RMBG-2.0 |
| MLX 8-bit bundle | Selective affine INT8 with retained BF16, FP16, and FP32 | 11.248 GB | This model |
The complete 8-bit bundle is 39.1% smaller and does not require duplicate full-precision checkpoints. Both forms expose the same 5,587 logical tensors with identical names, shapes, and declared source dtypes.
This format requires an mlx-spatial build that includes TRELLIS.2 affine
checkpoint support. Until that support is available in a tagged PyPI release,
install the current project revision:
pip install \
"mlx-spatial @ git+https://github.com/appautomaton/mlx-spatial.git@main"
The runtime targets Apple Silicon, Python 3.13, and MLX 0.32.x. It does not
use Torch, CUDA, or a dequantized full-precision checkpoint.
Download the complete bundle:
hf download appautomaton/trellis2-mlx-8bit \
--local-dir weights/trellis2-mlx-8bit
Validate its three runtime roots:
mlx-spatial-trellis2 validate \
--root weights/trellis2-mlx-8bit
mlx-spatial-trellis2 dinov3-validate \
--root weights/trellis2-mlx-8bit/dinov3
mlx-spatial-trellis2 rmbg-validate \
--root weights/trellis2-mlx-8bit/rmbg
Generate a textured GLB:
mlx-spatial-trellis2 generate-textured \
weights/trellis2-mlx-8bit \
inputs/trellis2/object.png \
--dino-root weights/trellis2-mlx-8bit/dinov3 \
--rmbg-root weights/trellis2-mlx-8bit/rmbg \
--output outputs/trellis2/object-8bit/model.glb \
--pipeline-type 1024_cascade \
--seed 42
1024_cascade is the recommended quality tier; use 512 when lower memory
use or faster iteration matters more.
Do not pass --slat-steps for a quality run; the model configuration uses 12
steps. --slat-steps 1 is intended only for a quick runtime smoke test.
RGBA inputs use their alpha channel directly. RGB inputs are passed through the bundled RMBG-2.0 model. A clean single-object foreground and an uncropped silhouette generally produce the most useful reconstruction.
| Component | Logical tensors | INT8 matrices | Safetensors bytes |
|---|---|---|---|
| TRELLIS.2 flow, VAE, and decoder checkpoints | 4,418 | 1,306 | 10,560,255,296 |
dinov3/model.safetensors | 415 | 144 | 344,386,453 |
rmbg/model.safetensors | 754 | 96 | 343,122,500 |
| Total | 5,587 | 1,546 | 11,247,764,249 |
Configuration, model card, license, and RMBG support files account for the small difference between checkpoint bytes and the complete directory size.
The repository preserves the TRELLIS.2 checkpoint names and layout used by the
source model. DINOv3 and RMBG-2.0 are bundled under dinov3/ and rmbg/ so a
single download contains every runtime weight.
The quantization scheme is affine 8-bit with group size 64. Packed weights are
stored as uint32 with FP32 scales and biases, then executed directly through
mx.quantized_matmul.
The following block-internal two-dimensional weights are quantized:
The following tensors remain in their source precision:
Physical packed arrays use internal qweight, scale, and bias suffixes. The
runtime reconstructs the original logical names from safetensors metadata, so
the existing TRELLIS.2 pipeline and configuration continue to use the same
checkpoint contract. Format details are embedded under
mlx_spatial.trellis2.quantization.
Starting from the three source weight roots:
mlx-spatial-trellis2-quantize \
weights/trellis2 \
weights/trellis2-mlx-8bit \
--dinov3-root weights/dinov3-vitl16-pretrain-lvd1689m \
--rmbg-root weights/rmbg2 \
--bits 8 \
--group-size 64
The command creates a complete runtime root. Do not add full-precision copies of the quantized checkpoints to the 8-bit repository.
mlx-spatial repository suite passed 1,175 tests; 10 tests
were skipped, 50 were deselected, and 3 expected failures remained.1024_cascade, 12-step run completed the same end-to-end path
and produced a Blender-readable 12,670,448-byte GLB with 199,884 faces and
embedded 1024 x 1024 PBR textures.The 512 runtime and memory figures are one local Apple Silicon observation,
not a general benchmark. The 1024_cascade run overlapped another MLX workload,
so it establishes compatibility and artifact health rather than performance.
Neither run is a formal claim of visual equivalence to the source weights.
512 and 1024_cascade. The standalone 1024
and 1536_cascade routes have not received an equivalent quality evaluation.mlx-spatial; generic safetensors
readers expose the physical packed arrays rather than the logical matrices.This is a combined derivative; no single permissive license covers every
included component. Read LICENSES.md and all referenced terms
before downloading, using, or redistributing the bundle.
LICENSE_TRELLIS2.LICENSE_DINOV3.md, as required for redistribution.LICENSE_RMBG2.md. Commercial use requires separate
authorization from BRIA.The combined bundle must therefore be treated as non-commercial unless the user has obtained all additional rights that their use requires. This repository is not affiliated with or endorsed by Microsoft, Meta, BRIA, or the original authors.
appautomaton/mlx-spatial — MLX-native 3D and spatial inference for Apple Silicon.mlx-spatial documentationmlx-spatial on PyPI