Run this model with HF Jobs
Run stabilityai/stable-diffusion-3-medium_amdgpu 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-3-medium_amdgpu. 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-3-medium_amdgpu 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 stabilityai/stable-diffusion-3-medium_amdgpu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use stabilityai/stable-diffusion-3-medium_amdgpu 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_amdgpu", 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
Update Model Card for NPUv0530
#3
by EnzymeZoo - opened
7 unmodified lines89101112131415165 unmodified lines222324252627282936 unmodified lines666768697071722 unmodified lines757677787980817 unmodified lineslibrary_name: diffusers---# stabilityai/stable-diffusion-3-medium - AMD Optimized ONNXThis repository hosts the **AMD Optimized version of Stable Diffusion 3 Medium** created in collaboration with [AMD](https://huggingface.co/amd).## Model DescriptionRefer to the [Stable Diffusion 3 Medium Model card](https://huggingface.co/stabilityai/stable-diffusion-3-medium) for more details.5 unmodified lines## RunningUse Amuse GUI application to run it: https://www.amuse-ai.com/use *_io32 version to run with the Amuse application## Inference Result36 unmodified lines## **Safety**As part of our safety-by-design and responsible AI deployment approach, we take deliberate measures to ensure Integrity starts at the early stages of development. We implement safety measures throughout the development of our models. We have implemented safety mitigations that are intended to reduce the risk of certain harms, however we recommend that developers conduct their own testing and apply additional mitigations based on their specific use cases.For more about our approach to Safety, please visit our [Safety page](https://stability.ai/safety).### **Integrity Evaluation**2 unmodified lines### **Risks identified and mitigations:*** Harmful content: We have used filtered data sets when training our models and implemented safeguards that attempt to strike the right balance between usefulness and preventing harm. However, this does not guarantee that all possible harmful content has been removed. TAll developers and deployers should exercise caution and implement content safety guardrails based on their specific product policies and application use cases.* Misuse: Technical limitations and developer and end-user education can help mitigate against malicious applications of models. All users are required to adhere to our [Acceptable Use Policy](https://stability.ai/use-policy), including when applying fine-tuning and prompt engineering mechanisms. Please reference the Stability AI Acceptable Use Policy for information on violative uses of our products.* Privacy violations: Developers and deployers are encouraged to adhere to privacy regulations with techniques that respect data privacy.7 unmodified lines8910111213141516171819205 unmodified lines26272829303132333436 unmodified lines71727374757677782 unmodified lines818283848586877 unmodified lineslibrary_name: diffusers---# stabilityai/stable-diffusion-3-medium - AMD Optimized ONNX and Ryzen(TM) AI NPUThis repository hosts the **AMD Optimized version of Stable Diffusion 3 Medium** and the **AMD Ryzen™ AI optimized version of SD 3 Medium** created in collaboration with [AMD](https://huggingface.co/amd).The AMDGPU model is an AMD-optimized ONNX port of the Stable Diffusion 3 Medium model offering [significantly higher inferencing speeds](https://stability.ai/news/stable-diffusion-now-optimized-for-amd-radeon-gpus) compared to the base model on compatible AMD hardware.The ONNX-ported Ryzen™ AI model is the world’s first Block FP16 model with the UNET and VAE decoder completely in Block FP16. Built for the AMD XDNA™ 2 based NPU, this model combines the accuracy of FP16 with the performance of INT8.## Model DescriptionRefer to the [Stable Diffusion 3 Medium Model card](https://huggingface.co/stabilityai/stable-diffusion-3-medium) for more details.5 unmodified lines## RunningGPU: Use Amuse GUI application to run it: https://www.amuse-ai.com/. Use *_io32 version to run with the Amuse applicationNPU: On a compatible XDNA(TM) 2 NPU device, Install and Open Amuse GUI, Click on Advanced Mode. Download SD 3 Medium AMDGPU from Model Manager. Click on Image Generation. Change variant to Ryzen AI. Load.## Inference Result36 unmodified lines## **Safety**As part of our safety-by-design and responsible AI development approach, we prioritize integrity from the earliest stages of model development. We implement safeguards throughout the development process to help reduce the risk of misuse. While we’ve built in protections to mitigate certain harms, we encourage developers to test responsibly based on their intended use cases and apply additional mitigations as needed.For more about our approach to Safety, please visit our [Safety page](https://stability.ai/safety).### **Integrity Evaluation**2 unmodified lines### **Risks identified and mitigations:*** Harmful content: We have used filtered data sets when training our models and implemented safeguards that attempt to strike the right balance between usefulness and preventing harm. However, this does not guarantee that all possible harmful content has been removed. All developers and deployers should exercise caution and implement content safety guardrails based on their specific product policies and application use cases.* Misuse: Technical limitations and developer and end-user education can help mitigate against malicious applications of models. All users are required to adhere to our [Acceptable Use Policy](https://stability.ai/use-policy), including when applying fine-tuning and prompt engineering mechanisms. Please reference the Stability AI Acceptable Use Policy for information on violative uses of our products.* Privacy violations: Developers and deployers are encouraged to adhere to privacy regulations with techniques that respect data privacy.
README.md+12-6