Home / Skills / vllm-project/vllm

debug-ima

Debug CUDA illegal memory access (IMA) errors in vLLM with CUDA core dumps and cuda-gdb. Use when a vLLM run crashes or hangs with a CUDA illegal memory access, device-side assert, or other asynchronous CUDA error and the faulting kernel needs to be located.

skillLicense: Apache-2.0 Source: vllm-project/vllm

Install

Copy this folder into your Claude Code project (needs Node.js):

npx degit vllm-project/vllm/.agents/skills/debug-ima .claude/skills/debug-ima

Or install it for every project:

npx degit vllm-project/vllm/.agents/skills/debug-ima ~/.claude/skills/debug-ima

File content

Made by its original authors and shared under Apache-2.0. We show it unchanged, with credit and a link to the source. Source ↗

---
name: debug-ima
description: Debug CUDA illegal memory access (IMA) errors in vLLM with CUDA core dumps and cuda-gdb. Use when a vLLM run crashes or hangs with a CUDA illegal memory access, device-side assert, or other asynchronous CUDA error and the faulting kernel needs to be located.
---

# Debug IMA

Follow the vLLM guide
[CUDA Core Dump: An Effective Tool to Debug Memory Access Issues and Beyond](https://vllm.ai/blog/2025-08-11-cuda-debugging).