Instructions to use microsoft/TRELLIS.2-4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TRELLIS.2
How to use microsoft/TRELLIS.2-4B 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
Download ckpts/shape_dec_next_dc_f16c32_fp16.json from microsoft/TRELLIS.2-4B: direct link, hf CLI and curl.
- Browser
- Download file 678 Bytes
-
https://huggingface.co/microsoft/TRELLIS.2-4B/resolve/main/ckpts/shape_dec_next_dc_f16c32_fp16.json
- Command line
-
hf download hf://microsoft/TRELLIS.2-4B/ckpts/shape_dec_next_dc_f16c32_fp16.json
-
curl -L -o shape_dec_next_dc_f16c32_fp16.json https://huggingface.co/microsoft/TRELLIS.2-4B/resolve/main/ckpts/shape_dec_next_dc_f16c32_fp16.json
678 Bytes
| { | |
| "name": "FlexiDualGridVaeDecoder", | |
| "args": { | |
| "resolution": 256, | |
| "model_channels": [1024, 512, 256, 128, 64], | |
| "latent_channels": 32, | |
| "num_blocks": [4, 16, 8, 4, 0], | |
| "block_type": [ | |
| "SparseConvNeXtBlock3d", | |
| "SparseConvNeXtBlock3d", | |
| "SparseConvNeXtBlock3d", | |
| "SparseConvNeXtBlock3d", | |
| "SparseConvNeXtBlock3d" | |
| ], | |
| "up_block_type": [ | |
| "SparseResBlockC2S3d", | |
| "SparseResBlockC2S3d", | |
| "SparseResBlockC2S3d", | |
| "SparseResBlockC2S3d" | |
| ], | |
| "block_args": [{}, {}, {}, {}, {}], | |
| "use_fp16": true | |
| } | |
| } |