datawhalechina/hello-rocm/troubleshooting
Claude Code and agent skill by datawhalechina/hello-rocm
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
跨画像常见问题排查 —— 错误模式识别和修复建议
Install
npx vskill@latest install datawhalechina/hello-rocm/troubleshootingSKILL.md
The same SKILL.md was published earlier as datawhalechina/hello-rocm/troubleshooting.
常见问题排查
当用户遇到报错时触发。先匹配错误模式,再给出修复方案。
错误模式
| 错误现象 | 可能原因 | 修复方向 | |
|---|---|---|---|
rocminfo 找不到 GPU | ROCm 未正确安装或 GPU 不兼容 | 先查 docs/zh/00-environment/rocm-gpu-architecture-table.md / docs/en/00-environment/rocm-gpu-architecture-table.md,再对照环境教程重装 | |
torch.cuda.is_available() 返回 False | PyTorch 不是 ROCm 版本 | 先查 docs/zh/04-references/index.md / docs/en/04-references/index.md 的 PyTorch ROCm 官方安装入口,再对照环境教程重装 | |
| 显存不足 (OOM) | batch size 过大或模型过大 | 减小 batch size、开启 gradient accumulation、启用 DeepSpeed ZeRO、使用 LoRA | |
| HIP 编译错误 | ROCm 版本与代码不匹配 | 确认 hipcc --version,参考 03-Infra/ 对应章节的 API 版本 | |
Permission denied | 用户权限不足 | 检查 Docker 用户组(sudo usermod -aG docker $USER),或文件权限 | |
| 多卡训练速度不理想 | 通信瓶颈 | rocm-bandwidth-test 检查带宽(ROCm 7.14+ 已 EOL,改用 TransferBench 或 RVS),确认 NCCL_DEBUG=INFO(或 HIP 等效环境变量) |
通用排查流程
- 先确认硬件:
rocminfo/rocm-smi(ROCm 7.14+ 用amd-smi) - 再确认软件:
python -c "import torch; print(torch.__version__)" - 检查项目 FAQ:大部分 README 文末有
<details>FAQ 折叠区 - 查 AMD 官方:优先通过
docs/zh/04-references/index.md/docs/en/04-references/index.md的框架与推理服务表进入对应官方安装说明,再查https://rocm.docs.amd.com/或 ROCm GitHub Issues - 如果仍无法定位问题,可加入故障排查与常见问题社区讨论:
https://zcnijjcepfie.feishu.cn/docx/R2a4dDRUBoo1R2x7mOjcPpPPnOO
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsrc/hello-rocm-skill/references/troubleshooting/SKILL.md
Popularity
- Repository stars
- 176
- Repository forks
- 26
- 7-day trend score
- 26
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/datawhalechina/hello-rocm/troubleshooting)