mindspeed-mm-env-setup
Pass
Audited by Gen Agent Trust Hub on May 19, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTIONCOMMAND_EXECUTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: Fetches MindSpeed and MindSpeed-MM source code from the official Ascend GitCode organization.
- [EXTERNAL_DOWNLOADS]: Downloads the Megatron-LM core module from NVIDIA's GitHub repository.
- [EXTERNAL_DOWNLOADS]: Recommends the use of pre-built PyTorch and torch_npu wheels hosted on GitCode for stable ARM64 installation.
- [EXTERNAL_DOWNLOADS]: References official Ascend CANN Docker images from Huawei Cloud's container registry.
- [REMOTE_CODE_EXECUTION]: Executes installation scripts (
bash scripts/install.sh) downloaded from the vendor's GitCode repository. - [COMMAND_EXECUTION]: Instructs the execution of environment setup scripts (
source /usr/local/Ascend/...) and hardware-related Docker commands (--privileged) required for NPU interaction.
Audit Metadata