Image-to-3D
MLX
Safetensors
TRELLIS.2
English
apple-silicon
o-voxel
mesh-generation
pbr
glb
8-bit precision
affine-quantization
mixed-precision
non-commercial
Instructions to use appautomaton/trellis2-mlx-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use appautomaton/trellis2-mlx-8bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir trellis2-mlx-8bit appautomaton/trellis2-mlx-8bit
- TRELLIS.2
How to use appautomaton/trellis2-mlx-8bit with TRELLIS.2:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
File size: 298 Bytes
a1cc385 | 1 2 3 4 5 6 7 8 9 10 11 12 | from transformers import PretrainedConfig
class BiRefNetConfig(PretrainedConfig):
model_type = "SegformerForSemanticSegmentation"
def __init__(
self,
bb_pretrained=False,
**kwargs
):
self.bb_pretrained = bb_pretrained
super().__init__(**kwargs)
|