Build Guide#
Overview#
This document describes how to build MindIE-SD from source, generate a .whl package, install it, and run it locally.
Environment Preparation#
Image-Based Installation#
For MindIE image acquisition, refer to the image installation guide.
Container or Bare-Metal Installation#
For container or bare-metal installation, refer to preparing software packages and dependencies.
For dependency installation steps, refer to installing software packages and dependencies.
Build and Install#
Clone the repository and build the wheel:
git clone https://gitcode.com/Ascend/MindIE-SD.git && cd MindIE-SD python -m build --wheel --no-isolation
Note If
wheelor related build dependencies are missing, install them first:pip install build wheel
Install MindIE SD.
Option 1: Standard installation with the default version
cd dist pip install mindiesd-*.whl
Option 2: Editable installation for development
pip install -e .
Upgrade#
For upgrade instructions, refer to the upgrade guide.
Uninstall#
For uninstall instructions, refer to the uninstallation guide.