Instructions to use stabilityai/stable-diffusion-3.5-medium-amdnpu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use stabilityai/stable-diffusion-3.5-medium-amdnpu 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.5-medium-amdnpu", 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
- Draw Things
- DiffusionBee
| license: other | |
| license_name: stabilityai-ai-community | |
| license_link: LICENSE | |
| tags: | |
| - text-to-image | |
| - stable-diffusion | |
| - diffusers | |
| inference: true | |
| extra_gated_prompt: >- | |
| By clicking "Agree", you agree to the [License | |
| Agreement](https://huggingface.co/stabilityai/stable-diffusion-3.5-medium-amdnpu/blob/main/LICENSE) | |
| and acknowledge Stability AI's [Privacy | |
| Policy](https://stability.ai/privacy-policy). | |
| extra_gated_fields: | |
| Name: text | |
| Email: text | |
| Country: country | |
| Organization or Affiliation: text | |
| Receive email updates and promotions on Stability AI products, services, and research?: | |
| type: select | |
| options: | |
| - 'Yes' | |
| - 'No' | |
| What do you intend to use the model for?: | |
| type: select | |
| options: | |
| - Research | |
| - Personal use | |
| - Creative Professional | |
| - Startup | |
| - Enterprise | |
| I agree to the License Agreement and acknowledge Stability AI's Privacy Policy: checkbox | |
| language: | |
| - en | |
| pipeline_tag: text-to-image | |
| # 🚀 Stable Diffusion 3.5 Medium on AMD NPU | |
| "Stable Diffusion 3.5 Medium is an improved version of SD3 Medium, featuring better prompt adherence, better generation quality, and more diverse outputs. SD3.5 Medium is a Multimodal Diffusion Transformer (MMDiT) text-to-image model that features improved image quality, typography, and prompt understanding." ([stabilityai/stable-diffusion-3.5-medium](https://huggingface.co/stabilityai/stable-diffusion-3.5-medium)) | |
| This version of the model has been optimized to run on AMD NPUs. | |
| For more information, refer to the original model card under [stabilityai/stable-diffusion-3.5-medium](https://huggingface.co/stabilityai/stable-diffusion-3.5-medium). | |
| ## Model Details | |
| | Model Details | Description | | |
| | ----------- | ----------- | | |
| | Person or organization developing model | [AMD](https://hf.co/amd) | | |
| | Original model authors | [Stability AI](https://huggingface.co/stabilityai/stable-diffusion-3.5-medium) | | |
| | Model date | February 2026 | | |
| | Model version | 1.7.1 | | |
| | Model type | Diffusion-based text-to-image generation model | | |
| | Information about training algorithms, parameters, fairness constraints or other applied approaches, and features | This is a model that can be used to generate and modify images based on text prompts. | | |
| | License | [Stability AI Community](LICENSE) | | |
| | Where to send questions or comments about the model | [Community Tab](https://hf.co/amd/stable-diffusion-3.5-medium-amdnpu/discussions) and [AMD Developer Community Discord](https://discord.gg/amd-dev) | | |
| ## ⚡ Intended Use | |
| #### Getting Started | |
| To get started with this model, visit [github.com/amd/sd-sandbox](https://github.com/amd/sd-sandbox). | |
| ## ⚓ Ethical Considerations | |
| AMD is committed to conducting our business in a fair, ethical and honest manner and in compliance with all applicable laws, rules and regulations. You can find out more at the [AMD Ethics and Compliance](https://www.amd.com/en/corporate/corporate-responsibility/ethics-and-compliance.html) page. | |
| ## ⚠️ Caveats and Recommendations | |
| Please visit the original model card for more details: [stabilityai/stable-diffusion-3.5-medium](https://huggingface.co/stabilityai/stable-diffusion-3.5-medium). |