Instructions to use gx123/my-gx-sd-3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use gx123/my-gx-sd-3 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-3-medium", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("gx123/my-gx-sd-3") prompt = "艺术" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download config_gpt.yaml from gx123/my-gx-sd-3: direct link, hf CLI and curl.
- Browser
- Download file 346 Bytes
-
https://huggingface.co/gx123/my-gx-sd-3/resolve/main/config_gpt.yaml
- Command line
-
hf download hf://gx123/my-gx-sd-3/config_gpt.yaml
-
curl -L -o config_gpt.yaml https://huggingface.co/gx123/my-gx-sd-3/resolve/main/config_gpt.yaml
346 Bytes
| num_audio_tokens: 626 | |
| num_text_tokens: 21178 | |
| gpt_config: | |
| hidden_size: 768 | |
| intermediate_size: 3072 | |
| num_attention_heads: 12 | |
| num_hidden_layers: 20 | |
| use_cache: False | |
| max_position_embeddings: 4096 | |
| # attn_implementation: flash_attention_2 | |
| spk_emb_dim: 192 | |
| spk_KL: False | |
| num_audio_tokens: 626 | |
| num_text_tokens: null | |
| num_vq: 4 | |