diffusers-ascend-env-setup
Pass
Audited by Gen Agent Trust Hub on Oct 22, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONPERSISTENCEPRIVILEGE_ESCALATION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill fetches software packages and source code from well-known and trusted platforms, including the official PyTorch download server, the Python Package Index (PyPI), and the HuggingFace GitHub repository.
- [COMMAND_EXECUTION]: The skill instructs the agent and user to execute shell commands for environment configuration, including package management (
pip), repository cloning (git), and system diagnostics for NPU hardware (npu-smi). It also executes a local validation script (validate_environment.py) to verify the installation. - [PERSISTENCE]: The instructions direct the user to modify shell profile files (
~/.bashrc) to persistently source environment variables for the CANN (Compute Architecture for Neural Networks) toolkit across different terminal sessions. - [PRIVILEGE_ESCALATION]: The skill provides troubleshooting commands that require administrative privileges (
sudo) to modify system groups (usermod) and hardware device permissions (chmodon/dev/davinci*) to enable the user to interact with the NPU acceleration hardware.
Audit Metadata