Instructions to use gucci233/FlexPart with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use gucci233/FlexPart with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("gucci233/FlexPart", 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 model_index.json from gucci233/FlexPart: direct link, hf CLI and curl.
- Browser
- Download file 516 Bytes
-
https://huggingface.co/gucci233/FlexPart/resolve/refs%2Fpr%2F1/model_index.json
- Command line
-
hf download hf://gucci233/FlexPart@refs/pr/1/model_index.json
-
curl -L -o model_index.json https://huggingface.co/gucci233/FlexPart/resolve/refs%2Fpr%2F1/model_index.json
516 Bytes
| { | |
| "_class_name": "FlexPartPipeline", | |
| "_diffusers_version": "0.34.0", | |
| "feature_extractor_dinov2": [ | |
| "transformers", | |
| "BitImageProcessor" | |
| ], | |
| "image_encoder_dinov2": [ | |
| "transformers", | |
| "Dinov2Model" | |
| ], | |
| "scheduler": [ | |
| "src.schedulers.scheduling_rectified_flow", | |
| "RectifiedFlowScheduler" | |
| ], | |
| "transformer": [ | |
| "src.models.transformers.flexpart_transformer", | |
| "FlexPartDiTModel" | |
| ], | |
| "vae": [ | |
| "src.models.autoencoders.autoencoder_kl_triposg", | |
| "TripoSGVAEModel" | |
| ] | |
| } | |