Treating all memory numbers as interchangeable
Host memory, device memory and allocator-reserved memory are different measurements. Record which domain each observation describes.
Operator task guide
Increasing frame count, resolution or batch size can change resource requirements, but the configuration change alone does not identify the failed memory domain. Preserve the actual allocation exception or host process-termination evidence.
PyTorch's allocated and reserved memory measurements describe different parts of its CUDA allocator state. A device-memory snapshot does not prove host memory exhaustion, and a generic killed-process message does not prove CUDA OOM.
Record batch size, frame count, spatial dimensions, precision and the first exception. Keep the model revision and stage of execution, such as loading, forward pass or checkpoint save. Use metadata rather than uploading video or image content.
A CUDA allocation exception supports a device-memory investigation. A kernel OOM-killer record or container OOMKilled status supports a host or container-memory investigation. Collect the process identity and relevant host event before treating a later peer timeout as the cause.
When available, retain PyTorch allocated/reserved memory and a memory summary around the failure. Check other device processes and the runtime version. Do not conclude fragmentation from reserved memory alone, or treat empty_cache as a way to free live tensors.
Compare the explanation with a resolved incident. A workload owner can test a smaller input or batch within the model's documented constraints, while a host-memory investigation may instead require data-worker or container-limit checks. Verify completion and application quality separately.
| Signal | What it means | Next action |
|---|---|---|
| Explicit CUDA allocation exception | A device allocation failed. | Collect allocator context, model/input settings and device process state. |
| Host OOM-killer or OOMKilled event | Host or container memory limits are implicated. | Identify the killed process and its memory domain. |
| Peer timeout after a worker disappears | The initiating failure is not established by the timeout. | Retrieve the missing worker and host evidence. |
Host memory, device memory and allocator-reserved memory are different measurements. Record which domain each observation describes.
A text-model KV-cache example does not establish the memory controls for a visual or video runtime.
No. PyTorch documents empty_cache for unused cached allocations. It does not free memory occupied by live tensors.
No. It is relevant configuration evidence, but the actual allocation or process-termination event must identify the failure.
Get the likely cause, supporting evidence, and next safe steps with the same cloud reasoning used by paid plans. A crash the engine recognizes is answered in seconds, then checked by an independent AI review that updates this page when it finishes. A crash it does not recognize waits for the AI's own answer, which can take a few minutes. No account, card, or installation. Logs are masked at Denpex API ingress and are not saved to account history.
Before uploading, review cloud data handling and local options.
Upload your log file. Large files are processed in your browser. Only selected evidence is submitted when you run diagnosis.
No credit card. No automatic subscription. See whether Denpex helps with an incident you already understand.
Up to 50 diagnoses a day for 30 days. Verify your work email to activate an eligible company evaluation, then replay a resolved incident and compare the evidence and next steps with your team's confirmed cause.
Use the three free diagnoses to review your error and relevant evidence. Keep reference guidance separate from the cause and recovery status of your own workload.
Diagnose your incident