Instructions to use Rin247/Hunyuan3D-Part with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Rin247/Hunyuan3D-Part with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Rin247/Hunyuan3D-Part", 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 conditioner/config.json from Rin247/Hunyuan3D-Part: direct link, hf CLI and curl.
- Browser
- Download file 2.42 kB
-
https://huggingface.co/Rin247/Hunyuan3D-Part/resolve/main/conditioner/config.json
- Command line
-
hf download hf://Rin247/Hunyuan3D-Part/conditioner/config.json
-
curl -L -o config.json https://huggingface.co/Rin247/Hunyuan3D-Part/resolve/main/conditioner/config.json
2.42 kB
| { | |
| "target": "partgen.models.conditioner.condioner_release.Conditioner", | |
| "params": { | |
| "use_geo": true, | |
| "use_obj": true, | |
| "use_seg_feat": true, | |
| "geo_cfg": { | |
| "target": "partgen.models.conditioner.part_encoders.PartEncoder", | |
| "output_dim": 1024, | |
| "params": { | |
| "use_local": true, | |
| "local_feat_type": "latents_shape", | |
| "num_tokens_cond": 4096, | |
| "local_geo_cfg": { | |
| "target": "partgen.models.autoencoders.VolumeDecoderShapeVAE", | |
| "params": { | |
| "num_latents": 4096, | |
| "embed_dim": 64, | |
| "num_freqs": 8, | |
| "include_pi": false, | |
| "heads": 16, | |
| "width": 1024, | |
| "num_encoder_layers": 8, | |
| "num_decoder_layers": 16, | |
| "qkv_bias": false, | |
| "qk_norm": true, | |
| "scale_factor": null, | |
| "geo_decoder_mlp_expand_ratio": 4, | |
| "geo_decoder_downsample_ratio": 1, | |
| "geo_decoder_ln_post": true, | |
| "point_feats": 4, | |
| "pc_size": 81920, | |
| "pc_sharpedge_size": 0 | |
| } | |
| } | |
| } | |
| }, | |
| "obj_encoder_cfg": { | |
| "target": "partgen.models.autoencoders.VolumeDecoderShapeVAE", | |
| "output_dim": 1024, | |
| "params": { | |
| "num_latents": 4096, | |
| "embed_dim": 64, | |
| "num_freqs": 8, | |
| "include_pi": false, | |
| "heads": 16, | |
| "width": 1024, | |
| "num_encoder_layers": 8, | |
| "num_decoder_layers": 16, | |
| "qkv_bias": false, | |
| "qk_norm": true, | |
| "scale_factor": 1.0039506158752403, | |
| "geo_decoder_mlp_expand_ratio": 4, | |
| "geo_decoder_downsample_ratio": 1, | |
| "geo_decoder_ln_post": true, | |
| "point_feats": 4, | |
| "pc_size": 81920, | |
| "pc_sharpedge_size": 0 | |
| } | |
| }, | |
| "seg_feat_cfg": { | |
| "target": "partgen.models.conditioner.sonata_extractor.SonataFeatureExtractor" | |
| } | |
| } | |
| } |