Run this model with HF Jobs
Run nitrosocke/redshift-diffusion 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/nitrosocke/redshift-diffusion. 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/nitrosocke/redshift-diffusion 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 nitrosocke/redshift-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use nitrosocke/redshift-diffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("nitrosocke/redshift-diffusion", 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
Adding `safetensors` variant of this model
Browse filesThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert
This new file is equivalent to `pytorch_model.bin` but safe in the sense that
no arbitrary code can be put into it.
These files also happen to load much faster than their pytorch counterpart:
https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb
The widgets on your model page will run using this model even if this is not merged
making sure the file actually works.
If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions
Feel free to ignore this PR.
Files changed (5)
123version https://git-lfs.github.com/spec/v1oid sha256:15e2e4e8c89cd616f98fef7cfb7155cdecd4dbed91769fd14ee717f43719eef1size 2132625464123version https://git-lfs.github.com/spec/v1oid sha256:11cfe53105625af8c00faac32a430626641cce686454f3c39d837f14397d858bsize 1215981832123version https://git-lfs.github.com/spec/v1oid sha256:e3b949a6351ddb035486fb7963f127d5858c620846bb1e0e4901067db93527dfsize 492265880123version https://git-lfs.github.com/spec/v1oid sha256:558932f1ce8c409979290ab77da8560e79d7d6cb9ca8ab718fa15679cb42c4f9size 3438167536123version https://git-lfs.github.com/spec/v1oid sha256:55ad9628530430eed28c01dcf3c971a29ffe5d657856cb054728b6c956da3037size 334643276