Diffusers
Safetensors
StableDiffusionUpscalePipeline
stable-diffusion

Run this model with HF Jobs

Run stabilityai/stable-diffusion-x4-upscaler 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/stabilityai/stable-diffusion-x4-upscaler. 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/stabilityai/stable-diffusion-x4-upscaler 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.

Remove text-to-image tag

#19

WebUIs build on top of diffusers start to rely on the HF Hub client library to filter for models. This one should not be displayed when listing "text-to-image" models:

import huggingface_hub as hf
hf_api = hf.HfApi()
model_filter = hf.ModelFilter(
    model_name="",
    task='text-to-image',
    tags='stable-diffusion',
    library=['diffusers', 'stable-diffusion'],
)
res = hf_api.list_models(filter=model_filter, full=True, limit=200, sort="downloads", direction=-1)
patrickvonplaten changed pull request status to merged

Sign up or log in to comment