Skip to content
← Build
Hypothesis, not validatedstage: hypothesis63

Hang and straggler triage for large PyTorch/NCCL training jobs

Problem, hypothesis and first deliverable

Problem
In large training jobs, a single bad GPU or slow rank stalls every other rank inside NCCL collectives. The visible symptom (a watchdog timeout on all ranks) hides which rank or host is at fault. Teams build bespoke tools for this. Smaller teams just restart.
Hypothesis
A cluster-agnostic triage tool that collects PyTorch Flight Recorder dumps from all ranks and correlates them with per-host GPU health (DCGM/XID) and collective timings could name the suspect rank or host automatically. It would be adopted because Flight Recorder is built into PyTorch but leaves cross-rank analysis and hardware correlation to the user.
A credible first version
A CLI that gathers Flight Recorder traces (TORCH_NCCL_TRACE_BUFFER_SIZE / DUMP_ON_TIMEOUT) from a Slurm or Kubernetes job, finds the first mismatched or unfinished collective, ranks suspect hosts, and attaches DCGM health data, then emits a report.

Evidence

5 links, opened when curated

Existing solutions

who already addresses it, and how well
  • partialPyTorch

    Flight Recorder captures per-rank collective traces. Cross-rank and hardware correlation is left to the user.

  • partialtorchft

    Fault tolerance (HSDP, LocalSGD, DiLoCo) for recovery, not root-cause diagnosis.

  • partialDCGM

    GPU health telemetry, unaware of training collectives.

Attached signals

40 raw signals concerning the same projects, techniques or categories

Demand · 11

DemandPyTorch#47702

GPU acceleration for Apple's M1 chip?

🚀 Feature Hi, I was wondering if we could evaluate PyTorch's performance on Apple's new M1 chip. I'm also wondering how we could possibly optimize Pytorch's capabilities on M1 GPUs/neural engines. I know the issue of supporting acceleration frameworks outside of CUDA has been…

1223 reactions183 commentsperformance
DemandPyTorch#77764

General MPS op coverage tracking issue

This issue is to have a centralized place to list and track work on adding support to new ops for the MPS backend. **Most requested ops** (extracted from comments to this issue and 141287) **PyTorch MPS Ops Project** : Project to track all the ops for MPS backend. There are a…

971 reactions1797 commentsfeature requestportability
DemandKubernetes#81723

Give the proper reason for killing pods

Add the reason the pod was killed, e.g. exceeded memory limit, liveness probe, readiness probe... Kubelet outputs "Killing container with id docker://your-example-application:Need to kill Pod" Reason: "Killing" This message is unhelpful when it comes to diagnosing why the pod…

328 reactions92 commentsfeature request
DemandKubernetes#7890

FUSE volumes

I have an use-case where I would like to mount Google Cloud Storage (GCS) bucket (and a directory in that bucket) in my container and use it as a regular FS. Currently, it seems doable using s3fs-fuse ( - thanks @brendanburns. It would be great if GCS was supported as a first…

325 reactions165 commentsfeature request
DemandKubernetes#68737

StatefulSet: support resize pvc storage in K8s v1.11

/kind feature What happened : With k8s v1.11 the new feature "Resizing Persistent Volume" was prompted to beta. I tried to update the field "statefulset.spec.volumeClaimTemplates.spec.resources.requests.storage" by increasing the storage size from 3Gi to 4Gi, however received…

229 reactions96 commentsfeature request

Papers without code · 11

Recurring pain · 16

Recurring pain

“silently drops” in open issues of 35 projects

AIBrix, Apache Iceberg, Apache TVM, Bifrost, cognee, CrewAI, CUTLASS, DeepEval, DeepGEMM, DSPy, GraphRAG, Haystack, IREE, JAX, Kubernetes, LangChain, LangGraph, llama.cpp, LLM Compressor, LobeHub, MCP Python SDK, Milvus, NVIDIA NeMo, OpenAI Agents SDK, OpenHands, PaddlePaddle, PyTorch, SGLang, TensorFlow, TensorRT, TensorRT-LLM, TileLang, Transformers, vLLM, XGrammar

35 projects62 open issues
Recurring pain

“returns wrong” in open issues of 24 projects

Apache TVM, bitsandbytes, Composable Kernel, CUTLASS, ExecuTorch, FlashAttention, FlashInfer, JAX, Liger Kernel, llama.cpp, LobeHub, Milvus, MLX, Modular Platform (Mojo & MAX), NCCL, PyTorch, Ray, SGLang, TensorFlow, TensorRT-LLM, TileLang, Transformers, Triton, vLLM

24 projects56 open issues
Recurring pain

“silently ignores” in open issues of 22 projects

Apache TVM, Cline, Colossal-AI, CUDA Python, Diffusers, FlashAttention, FlashInfer, GraphRAG, LiteLLM, lm-evaluation-harness, Milvus, NVIDIA Dynamo, NVIDIA GPU Operator, NVIDIA NeMo, Ollama, ONNX, OpenXLA XLA, Pydantic AI, PyTorch, smolagents, TileLang, vLLM

22 projects29 open issues
Recurring pain

“illegal memory” in open issues of 20 projects

bitsandbytes, ComfyUI, ExecuTorch, FlashAttention, FlashInfer, Liger Kernel, llama.cpp, Megatron-LM, NCCL, NVIDIA Dynamo, ONNX Runtime, PyTorch, ROCm, SGLang, TensorFlow, TensorRT-LLM, Triton, Unsloth, verl, vLLM

20 projects72 open issues
Recurring pain

“wrong results” in open issues of 20 projects

Apache Iceberg, Composable Kernel, CUTLASS, Dask, FlashInfer, IREE, JAX, llama.cpp, Megatron-LM, Modular Platform (Mojo & MAX), NCCL, ONNX Runtime, OpenXLA XLA, Pydantic AI, PyTorch, TensorFlow, TensorRT, TileLang, Triton, vLLM

20 projects61 open issues
Recurring pain

“memory leak” in open issues of 18 projects

DeepSpeed, Docling, JAX, Kubernetes, LangGraph, llama.cpp, LMCache, MCP TypeScript SDK, Megatron-LM, Ollama, PyTorch, Ray, TensorFlow, Transformer Engine, Transformers, Unsloth, vLLM, vLLM Production Stack

18 projects28 open issues

Research gap · 2

Research gap

Characterizing Parallelism Strategies in LLM Inference: Fundamental Compute-Communication Trade-offs

However, selecting the most effective parallelism strategy remains challenging due to complex interactions among computation, communication, pipeline utilization, sequence length, batch size, and model architecture.

remains challengingPipeline parallelismTensor parallelism
Research gap

InferSlice: A Reference Architecture for SLO-driven LLM Inference over a Telco Wide-Area Network

We share practical insights from operating SLO-driven inference on a telco network, lessons learned and open questions, and hope to encourage further research on distributed and heterogeneous LLM inference systems.

open questionPipeline parallelismPrefill/decode disaggregationTensor parallelism