Skip to main content

MindIE SD

Documentation PyPI Community QR Code License SIG Meetings Zread DeepWiki

English | 简体中文

Introduction

MindIE SD (Mind Inference Engine Stable Diffusion) is the visual generation inference model suite of MindIE. Its goal is to provide an end-to-end inference solution for Stable Diffusion (SD) series large models on Huawei Ascend hardware and its software stack. The software system internally integrates various functional modules and provides a unified programming interface externally.

For supported models and feature stacking, see Model/Framework Support.

📢 Latest News

Installation Guide

pip install mindiesd

For other installation methods and environment dependencies, see Installation Guide.

Architecture Overview

For MindIE SD architecture and key features, see Architecture Overview.

MindIE SD Architecture Diagram

Quick Start

Quick Start: Using Wan2.1 as an example, introduces the overall acceleration effect with MindIE SD.

Developer Documentation

  • Contribution Guide: Explains how to submit Issues, Pull Requests, and coding standards.
  • AI Agent Support: Introduces the default skills used in the repository and the agent-assisted development workflow.
  • Test Verification: Introduces the unit test example execution workflow.

Ecosystem Support

The following projects have integrated MindIE SD as a multimodal inference backend:

🙏 Acknowledgment

We thank the CANN ops-transformer and CANN ops-nn communities for their operator source code.

  • Migration and multimodal performance optimization: The local operators QuantFlashAttn, EagleFusedInferAttentionScore, EagleBlockSparseAttention, and EagleFfn are migrated from CANN QuantFlashAttn, FusedInferAttentionScore, BlockSparseAttention, and FFN, respectively, and optimized for multimodal inference.
  • Development based on CANN operators: EagleQuantBlockSparseAttention builds on CANN BlockSparseAttention to implement mixed-precision block-sparse attention. quant_four_over_six_a5 builds on CANN dynamic MX quantization infrastructure to implement the Four Over Six quantization extension.

We thank the following contributors for their work on the related CANN operators: cardiac_index, XiyueL, jiang-lirui, monologue815, chenyizhou, liwenguihw.

Paper Citations

Show more @misc{yu2026mxattentiondatafreeoptimalscaling, title={MXAttention: Data-Free Optimal Scaling and Pre-Normalization Quantization for MXFP4 Attention}, author={Jianlin Yu and Jing Lin and Linghui Kong and Aiyue Chen and Weiyi Sun and Chenyu Zeng and Wangli Lan and Jinxi Li and Zhuo Zheng and Ziyang Yue and Danning Ke and Fei Yi and Tianchi Hu and Yuan Ding and Yiwu Yao and Junsong Wang}, year={2026}, eprint={2607.24377}, archivePrefix={arXiv}, primaryClass={cs.LG}, url={https://arxiv.org/abs/2607.24377}, } @misc{liu2026rotateattentionropeawarerotationrange, title={RotateAttention: RoPE-Aware Rotation and Range Rectification for INT4 Quantized Attention in Video Generation}, author={Yaofu Liu and Wanli Lan and Jinxi Li and Binhang Yuan and Harry Yang}, year={2026}, eprint={2607.02584}, archivePrefix={arXiv}, primaryClass={cs.CV}, url={https://arxiv.org/abs/2607.02584}, } @misc{RainFusion2.0@2025, title = {RainFusion2.0: Temporal-Spatial Awareness and Hardware-Efficient Block-wise Sparse Attention}, author = {Aiyue Chen and Yaofu Liu and Junjian Huang and Guang Lian and Yiwu Yao and Wangli Lan and Jing Lin and Zhixin Ma and Tingting Zhou and Harry Yang}, year = {2025}, url = {https://gitcode.com/Ascend/MindIE-SD/blob/dev/docs/tech_report/RainFusion2.0.pdf} } @misc{zhang2025slasparsitydiffusiontransformers, title={SLA: Beyond Sparsity in Diffusion Transformers via Fine-Tunable Sparse-Linear Attention}, author={Jintao Zhang and Haoxu Wang and Kai Jiang and Shuo Yang and Kaiwen Zheng and Haocheng Xi and Ziteng Wang and Hongzhou Zhu and Min Zhao and Ion Stoica and Joseph E. Gonzalez and Jun Zhu and Jianfei Chen}, year={2025}, eprint={2509.24006}, archivePrefix={arXiv}, primaryClass={cs.LG}, url={https://arxiv.org/abs/2509.24006}, } @misc{zhang2025sageattentionaccurate8bitattention, title={SageAttention: Accurate 8-Bit Attention for Plug-and-play Inference Acceleration}, author={Jintao Zhang and Jia Wei and Haofeng Huang and Pengle Zhang and Jun Zhu and Jianfei Chen}, year={2025}, eprint={2410.02367}, archivePrefix={arXiv}, primaryClass={cs.LG}, url={https://arxiv.org/abs/2410.02367}, } @misc{ashkboos2024quarotoutlierfree4bitinference, title={QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMs}, author={Saleh Ashkboos and Amirkeivan Mohtashami and Maximilian L. Croci and Bo Li and Pashmina Cameron and Martin Jaggi and Dan Alistarh and Torsten Hoefler and James Hensman}, year={2024}, eprint={2404.00456}, archivePrefix={arXiv}, primaryClass={cs.LG}, url={https://arxiv.org/abs/2404.00456}, } @misc{cook2026sixaccuratenvfp4quantization, title={Four Over Six: More Accurate NVFP4 Quantization with Adaptive Block Scaling}, author={Jack Cook and Junxian Guo and Guangxuan Xiao and Yujun Lin and Keith Wyss and Mahdi Nazemi and Asit Mishra and Carlo del Mundo and Tijmen Blankevoort and Song Han}, year={2026}, eprint={2512.02010}, archivePrefix={arXiv}, primaryClass={cs.CL}, url={https://arxiv.org/abs/2512.02010}, }

Contact Us

Join the MindIE SD WeChat community by scanning the group QR code below. If the group QR code has expired, scan the personal WeChat QR code to request an invitation.

WeChat Group Personal WeChat (if the group QR code has expired)
WeChat Group QR Code Personal WeChat QR Code

Metadata

Release files for mindiesd 3.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for mindiesd 3.3.1
File Actions
mindiesd-3.3.1-cp312-cp312-manylinux_2_35_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.35+ ARM64 Details for mindiesd-3.3.1-cp312-cp312-manylinux_2_35_aarch64.whl
mindiesd-3.3.1-cp312-cp312-manylinux_2_34_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.34+ x86-64 Details for mindiesd-3.3.1-cp312-cp312-manylinux_2_34_x86_64.whl
mindiesd-3.3.1-cp311-cp311-manylinux_2_34_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.34+ x86-64 Details for mindiesd-3.3.1-cp311-cp311-manylinux_2_34_x86_64.whl
mindiesd-3.3.1-cp310-cp310-manylinux_2_34_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.34+ x86-64 Details for mindiesd-3.3.1-cp310-cp310-manylinux_2_34_x86_64.whl

Total release size: 325.3 MB

Release files / mindiesd-3.3.1-cp312-cp312-manylinux_2_35_aarch64.whl

Download URL mindiesd-3.3.1-cp312-cp312-manylinux_2_35_aarch64.whl
Size 81.0 MB
Tags CPython 3.12 Linux glibc 2.35+ ARM64
SHA-256 checksum
How to use checksums
1accff60596de928ca1fe419618c30bd5c4e6f27b6e65bd5c07cce1718ba79f2
BLAKE2b-256 checksum
How to use checksums
c25e5f3f5362e2f7fc39a58c364905b5f4e04cd0d68bbc999ec2a00083da0695
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / mindiesd-3.3.1-cp312-cp312-manylinux_2_34_x86_64.whl

Download URL mindiesd-3.3.1-cp312-cp312-manylinux_2_34_x86_64.whl
Size 81.5 MB
Tags CPython 3.12 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
a9b6e493aff0ebcd4a49673e322125432a52001752d6abe0248667aa7d43828a
BLAKE2b-256 checksum
How to use checksums
4c0f9e503c2496d0d1e59d997520e514dcdf809ea9dcb8fc2f1c9f878e59c2a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / mindiesd-3.3.1-cp311-cp311-manylinux_2_34_x86_64.whl

Download URL mindiesd-3.3.1-cp311-cp311-manylinux_2_34_x86_64.whl
Size 81.4 MB
Tags CPython 3.11 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
91e32b6789034f989897c63dd77daec47d88aeacca5ae370d40a40337f1d7afa
BLAKE2b-256 checksum
How to use checksums
da5ffa6dafd6d5e3e6d227b1408ae891bc701ff0fd49e88dec17bbf701a22a6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / mindiesd-3.3.1-cp310-cp310-manylinux_2_34_x86_64.whl

Download URL mindiesd-3.3.1-cp310-cp310-manylinux_2_34_x86_64.whl
Size 81.4 MB
Tags CPython 3.10 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
ccf37e7fe56246716886c912d7dfed0ac9d139e2b01a506da6a58855d3217a30
BLAKE2b-256 checksum
How to use checksums
2d21ca111b1588211b617381ff27882ee5c152d8bcb4a60a40c274bf763ecb12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Security for mindiesd 3.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page