triton-ascend-migration
Pass
Audited by Gen Agent Trust Hub on Apr 15, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill is a specialized technical guide for migrating Triton kernels from CUDA to Ascend NPU. It contains extensive instructions, best practices, and code templates for handling platform-specific constraints like coreDim limits, UB (Unified Buffer) management, and physical core binding.
- [COMMAND_EXECUTION]: The skill provides templates for standard development commands (e.g.,
python,docker exec,export ASCEND_RT_VISIBLE_DEVICES) to facilitate the validation of migrated kernels. These are presented as instructional examples for the user to run in their own environment. - [EXTERNAL_DOWNLOADS]: The instructions neutrally reference standard, well-known libraries such as
torch_npuandtriton, which are essential dependencies for the Ascend NPU development environment. No suspicious or unverified third-party sources were detected. - [PROMPT_INJECTION]: While the skill contains strong behavioral directives (e.g., '优先使用本 skill', '始终按这个结构输出'), these are functional instructions designed to maintain the agent's persona as a migration assistant and do not attempt to bypass core safety guardrails or extract system prompts.
- [DATA_EXFILTRATION]: No patterns related to sensitive data access or external transmission were found. The skill operates locally on user-provided code snippets or file paths for the purpose of technical migration.
Audit Metadata