agent-backend-adapter
Installation
SKILL.md
Agent Backend Adapter Skill
This skill automates the integration of Agent training and inference backends, supporting MSRL (MindSpeed-RL), VERL, and vLLM frameworks on Ascend NPU. It generates standalone code that can run independently without OpenCode.
⚠️ IMPORTANT: Ascend NPU Optimization
This skill is specifically designed for Ascend NPU (昇腾AI处理器). Key differences from GPU/CUDA:
| CUDA/GPU | Ascend NPU | Notes |
|---|---|---|
torch.cuda |
torch_npu.npu |
Device module |
.cuda() |
.npu() |
Device placement |
CUDA_VISIBLE_DEVICES |
ASCEND_RT_VISIBLE_DEVICES |
Device selection |
| GPU memory | NPU memory | Memory management |
nccl |
hccl |
Collective comm |