Run this model with HF Jobs
Run pruna-test/test-save-tiny-stable-diffusion-pipe-smashed on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/pruna-test/test-save-tiny-stable-diffusion-pipe-smashed. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/pruna-test/test-save-tiny-stable-diffusion-pipe-smashed on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use pruna-test/test-save-tiny-stable-diffusion-pipe-smashed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use pruna-test/test-save-tiny-stable-diffusion-pipe-smashed with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("pruna-test/test-save-tiny-stable-diffusion-pipe-smashed", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Pruna AI
How to use pruna-test/test-save-tiny-stable-diffusion-pipe-smashed with Pruna AI:
from pruna import PrunaModel pip install -U diffusers transformers accelerate
from pruna import PrunaModel import torch # switch to "mps" for apple devices pipe = PrunaModel.from_pretrained("pruna-test/test-save-tiny-stable-diffusion-pipe-smashed", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
Add files using upload-large-folder tool
Browse filesFiles changed (4)
1233456{ "_class_name": "StableDiffusionPipeline", "_diffusers_version": "0.38.0", "_diffusers_version": "0.39.0", "_name_or_path": "hf-internal-testing/tiny-stable-diffusion-pipe", "feature_extractor": [ "transformers",1233456{ "_class_name": "DDIMScheduler", "_diffusers_version": "0.38.0", "_diffusers_version": "0.39.0", "beta_end": 0.012, "beta_schedule": "scaled_linear", "beta_start": 0.00085,1233456{ "_class_name": "UNet2DConditionModel", "_diffusers_version": "0.38.0", "_diffusers_version": "0.39.0", "_name_or_path": "/home/runner/.cache/huggingface/hub/models--hf-internal-testing--tiny-stable-diffusion-pipe/snapshots/3ee6c9f225f088ad5d35b624b6514b091e6a4849/unet", "act_fn": "silu", "addition_embed_type": null,1233456{ "_class_name": "AutoencoderKL", "_diffusers_version": "0.38.0", "_diffusers_version": "0.39.0", "_name_or_path": "/home/runner/.cache/huggingface/hub/models--hf-internal-testing--tiny-stable-diffusion-pipe/snapshots/3ee6c9f225f088ad5d35b624b6514b091e6a4849/vae", "act_fn": "silu", "block_out_channels": [model_index.json+1-1
scheduler/scheduler_config.json+1-1
unet/config.json+1-1
vae/config.json+1-1