Instructions to use OzzyGT/gemx_soma_diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use OzzyGT/gemx_soma_diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("OzzyGT/gemx_soma_diffusers", 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 modular_model_index.json from OzzyGT/gemx_soma_diffusers: direct link, hf CLI and curl.
- Browser
- Download file 1.9 kB
-
https://huggingface.co/OzzyGT/gemx_soma_diffusers/resolve/main/modular_model_index.json
- Command line
-
hf download hf://OzzyGT/gemx_soma_diffusers/modular_model_index.json
-
curl -L -o modular_model_index.json https://huggingface.co/OzzyGT/gemx_soma_diffusers/resolve/main/modular_model_index.json
1.9 kB
| { | |
| "_class_name": "ModularPipeline", | |
| "_blocks_class_name": "GEMXBlocks", | |
| "person_detector": [ | |
| "transformers", | |
| "RTDetrForObjectDetection", | |
| { | |
| "pretrained_model_name_or_path": null, | |
| "revision": null, | |
| "subfolder": "person_detector", | |
| "type_hint": [ | |
| "transformers", | |
| "RTDetrForObjectDetection" | |
| ], | |
| "variant": null | |
| } | |
| ], | |
| "detector_processor": [ | |
| "transformers", | |
| "RTDetrImageProcessorFast", | |
| { | |
| "pretrained_model_name_or_path": null, | |
| "revision": null, | |
| "subfolder": "detector_processor", | |
| "type_hint": [ | |
| "transformers", | |
| "RTDetrImageProcessorFast" | |
| ], | |
| "variant": null | |
| } | |
| ], | |
| "keypoint_model": [ | |
| "keypoints_gemx", | |
| "GEMXKeypointModel", | |
| { | |
| "pretrained_model_name_or_path": null, | |
| "revision": null, | |
| "subfolder": "keypoint_model", | |
| "type_hint": [ | |
| "keypoints_gemx", | |
| "GEMXKeypointModel" | |
| ], | |
| "variant": null | |
| } | |
| ], | |
| "pose_encoder": [ | |
| "pose_encoder_gemx", | |
| "GEMXPoseEncoder", | |
| { | |
| "pretrained_model_name_or_path": null, | |
| "revision": null, | |
| "subfolder": "pose_encoder", | |
| "type_hint": [ | |
| "pose_encoder_gemx", | |
| "GEMXPoseEncoder" | |
| ], | |
| "variant": null | |
| } | |
| ], | |
| "motion_transformer": [ | |
| "transformer_gemx", | |
| "GEMXMotionTransformer", | |
| { | |
| "pretrained_model_name_or_path": null, | |
| "revision": null, | |
| "subfolder": "motion_transformer", | |
| "type_hint": [ | |
| "transformer_gemx", | |
| "GEMXMotionTransformer" | |
| ], | |
| "variant": null | |
| } | |
| ], | |
| "skeleton": [ | |
| "skeleton_gemx", | |
| "GEMXSOMASkeleton", | |
| { | |
| "pretrained_model_name_or_path": null, | |
| "revision": null, | |
| "subfolder": "skeleton", | |
| "type_hint": [ | |
| "skeleton_gemx", | |
| "GEMXSOMASkeleton" | |
| ], | |
| "variant": null | |
| } | |
| ] | |
| } | |