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 keypoint_model/config.json from OzzyGT/gemx_soma_diffusers: direct link, hf CLI and curl.
- Browser
- Download file 366 Bytes
-
https://huggingface.co/OzzyGT/gemx_soma_diffusers/resolve/main/keypoint_model/config.json
- Command line
-
hf download hf://OzzyGT/gemx_soma_diffusers/keypoint_model/config.json
-
curl -L -o config.json https://huggingface.co/OzzyGT/gemx_soma_diffusers/resolve/main/keypoint_model/config.json
366 Bytes
| { | |
| "_class_name": "GEMXKeypointModel", | |
| "_diffusers_version": "0.44.0.dev0", | |
| "auto_map": { | |
| "AutoModel": "keypoints_gemx.GEMXKeypointModel" | |
| }, | |
| "head_channels": 256, | |
| "hidden_size": 1280, | |
| "intermediate_size": 5120, | |
| "layer_norm_eps": 1e-06, | |
| "num_heads": 20, | |
| "num_keypoints": 77, | |
| "num_layers": 32, | |
| "num_register_tokens": 4, | |
| "patch_size": 16 | |
| } | |