Text-to-Image
Diffusers
TensorBoard
Safetensors
Sana
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
dreambooth
diffusers-training
lora
sana-diffusers
template:sd-lora
Instructions to use ainjarts/output with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ainjarts/output with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("darkstorm2150/Protogen_x3.4_Official_Release", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("ainjarts/output") prompt = "a photo of ohwx woman" image = pipe(prompt).images[0] - Sana
How to use ainjarts/output with Sana:
# Load the model and infer image from text import torch from app.sana_pipeline import SanaPipeline from torchvision.utils import save_image sana = SanaPipeline("configs/sana_config/1024ms/Sana_1600M_img1024.yaml") sana.from_pretrained("hf://ainjarts/output") image = sana( prompt='a cyberpunk cat with a neon sign that says "Sana"', height=1024, width=1024, guidance_scale=5.0, pag_guidance_scale=2.0, num_inference_steps=18, ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download checkpoint-4000/scheduler.bin from ainjarts/output: direct link, hf CLI and curl.
- Browser
- Download file 1 kB
-
https://huggingface.co/ainjarts/output/resolve/main/checkpoint-4000/scheduler.bin
- Command line
-
hf download hf://ainjarts/output/checkpoint-4000/scheduler.bin
-
curl -L -o scheduler.bin https://huggingface.co/ainjarts/output/resolve/main/checkpoint-4000/scheduler.bin
1 kB
- Xet hash:
- 2a1f8f6acb91834c762163d1d34a24351f1f14591c0bdbcb9061ac560f83d4a3
- Size of remote file:
- 1 kB
- SHA256:
- a27fbcb71e64da5cd3c386782ab45bb0efde0abb5d30842a94c8a599b450c90c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.