Instructions to use t8star/Hi3d-Comfy with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use t8star/Hi3d-Comfy with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("t8star/Hi3d-Comfy", 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 extensions/texture_encoder/preprocessor_config.json from t8star/Hi3d-Comfy: direct link, hf CLI and curl.
- Browser
- Download file 585 Bytes
-
https://huggingface.co/t8star/Hi3d-Comfy/resolve/main/extensions/texture_encoder/preprocessor_config.json
- Command line
-
hf download hf://t8star/Hi3d-Comfy/extensions/texture_encoder/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/t8star/Hi3d-Comfy/resolve/main/extensions/texture_encoder/preprocessor_config.json
585 Bytes
| { | |
| "crop_size": null, | |
| "data_format": "channels_first", | |
| "default_to_square": true, | |
| "device": null, | |
| "disable_grouping": null, | |
| "do_center_crop": null, | |
| "do_convert_rgb": null, | |
| "do_normalize": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "image_mean": [ | |
| 0.485, | |
| 0.456, | |
| 0.406 | |
| ], | |
| "image_processor_type": "DINOv3ViTImageProcessorFast", | |
| "image_std": [ | |
| 0.229, | |
| 0.224, | |
| 0.225 | |
| ], | |
| "input_data_format": null, | |
| "resample": 2, | |
| "rescale_factor": 0.00392156862745098, | |
| "return_tensors": null, | |
| "size": { | |
| "height": 224, | |
| "width": 224 | |
| } | |
| } | |