Instructions to use suvadityamuk/TRELLIS-text-large-diffusers-3d with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use suvadityamuk/TRELLIS-text-large-diffusers-3d with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("suvadityamuk/TRELLIS-text-large-diffusers-3d", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Trellis
How to use suvadityamuk/TRELLIS-text-large-diffusers-3d with Trellis:
# 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
suvadityamuk HF Staff
Convert microsoft/TRELLIS-text-large with diffusers-3d 0.1.0.dev0
8567a6b verified Download model_index.json from suvadityamuk/TRELLIS-text-large-diffusers-3d: direct link, hf CLI and curl.
- Browser
- Download file 1.53 kB
-
https://huggingface.co/suvadityamuk/TRELLIS-text-large-diffusers-3d/resolve/main/model_index.json
- Command line
-
hf download hf://suvadityamuk/TRELLIS-text-large-diffusers-3d/model_index.json
-
curl -L -o model_index.json https://huggingface.co/suvadityamuk/TRELLIS-text-large-diffusers-3d/resolve/main/model_index.json
1.53 kB
| { | |
| "_class_name": "TrellisTextTo3DPipeline", | |
| "_diffusers_version": "0.41.0.dev0", | |
| "gaussian_decoder": [ | |
| "diffusers_3d.families.trellis.decoders", | |
| "TrellisSLatGaussianDecoder" | |
| ], | |
| "mesh_decoder": [ | |
| "diffusers_3d.families.trellis.decoders", | |
| "TrellisSLatMeshDecoder" | |
| ], | |
| "radiance_field_decoder": [ | |
| "diffusers_3d.families.trellis.decoders", | |
| "TrellisSLatRadianceFieldDecoder" | |
| ], | |
| "slat_flow_model": [ | |
| "diffusers_3d.families.trellis.models", | |
| "TrellisSLatFlowModel" | |
| ], | |
| "slat_mean": [ | |
| -2.1687545776367188, | |
| -0.004347046371549368, | |
| -0.13352349400520325, | |
| -0.08418072760105133, | |
| -0.5271206498146057, | |
| 0.7238689064979553, | |
| -1.1414450407028198, | |
| 1.2039363384246826 | |
| ], | |
| "slat_scheduler": [ | |
| "diffusers_3d.families.trellis.scheduler", | |
| "TrellisFlowEulerScheduler" | |
| ], | |
| "slat_std": [ | |
| 2.377650737762451, | |
| 2.386378288269043, | |
| 2.124418020248413, | |
| 2.1748552322387695, | |
| 2.663944721221924, | |
| 2.371192216873169, | |
| 2.6217446327209473, | |
| 2.684523105621338 | |
| ], | |
| "sparse_structure_decoder": [ | |
| "diffusers_3d.families.trellis.decoders", | |
| "TrellisSparseStructureDecoder" | |
| ], | |
| "sparse_structure_flow_model": [ | |
| "diffusers_3d.families.trellis.models", | |
| "TrellisSparseStructureFlowModel" | |
| ], | |
| "sparse_structure_scheduler": [ | |
| "diffusers_3d.families.trellis.scheduler", | |
| "TrellisFlowEulerScheduler" | |
| ], | |
| "text_encoder": [ | |
| "transformers", | |
| "CLIPTextModel" | |
| ], | |
| "tokenizer": [ | |
| "transformers", | |
| "CLIPTokenizer" | |
| ] | |
| } | |