Instructions to use suvadityamuk/TripoSR-diffusers-3d with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use suvadityamuk/TripoSR-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/TripoSR-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] - Notebooks
- Google Colab
- Kaggle
Download image_encoder/config.json from suvadityamuk/TripoSR-diffusers-3d: direct link, hf CLI and curl.
- Browser
- Download file 540 Bytes
-
https://huggingface.co/suvadityamuk/TripoSR-diffusers-3d/resolve/main/image_encoder/config.json
- Command line
-
hf download hf://suvadityamuk/TripoSR-diffusers-3d/image_encoder/config.json
-
curl -L -o config.json https://huggingface.co/suvadityamuk/TripoSR-diffusers-3d/resolve/main/image_encoder/config.json
540 Bytes
| { | |
| "architectures": [ | |
| "ViTModel" | |
| ], | |
| "attention_probs_dropout_prob": 0.0, | |
| "dtype": "float32", | |
| "encoder_stride": 16, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.0, | |
| "hidden_size": 768, | |
| "image_size": 512, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3072, | |
| "layer_norm_eps": 1e-12, | |
| "model_type": "vit", | |
| "num_attention_heads": 12, | |
| "num_channels": 3, | |
| "num_hidden_layers": 12, | |
| "patch_size": 16, | |
| "pooler_act": "tanh", | |
| "pooler_output_size": 768, | |
| "qkv_bias": true, | |
| "transformers_version": "5.17.0" | |
| } | |