Dataset Viewer
Auto-converted to Parquet Duplicate
failure_id
stringlengths
20
34
source_url
stringlengths
47
56
source_type
stringclasses
4 values
failure_type
stringlengths
8
53
title
stringlengths
25
164
framework
stringclasses
7 values
environment
unknown
error_message
stringlengths
168
2k
lf_github_issue_2873
https://github.com/meta-pytorch/torchtune/issues/2873
github_issue
STATE_DICT_SHAPE_MISMATCH
Error running distributed Qwen3-32B lora
FSDP
{ "gpu_type": "L40" }
Traceback (most recent call last): [rank3]: File "/home/allen.philip/src/finetune/torchtune/.venv/lib/python3.11/site-packages/recipes/lora_finetune_distributed.py", line 908, in <module> [rank3]: sys.exit(recipe_main()) [rank3]: ^^^^^^^^^^^^^ [rank3]: File "/home/allen.philip/src/finetune/torchtun...
lf_github_issue_2830
https://github.com/meta-pytorch/torchtune/issues/2830
github_issue
OOM_FRAGMENTATION
OOM handling and recovery
Axolotl
{ "cuda_version": "5.15" }
File "/mnt/fs/venv_torchtune/lib/python3.12/site-packages/recipes/full_finetune_distributed.py", line 919, in train [rank6]: current_loss = self._loss_step(batch) * current_num_tokens [rank6]: ^^^^^^^^^^^^^^^^^...
lf_github_issue_45663
https://github.com/huggingface/transformers/issues/45663
github_issue
FSDP_ERROR
Gemma-4 training with FSDP2 raises `KeyError` in `Gemma4TextAttention.forward` because `shared_kv_states` is rebuilt per-layer
DeepSpeed
{ "pytorch_version": "2.10.0", "gpu_type": "H100" }
nccl") torch.cuda.set_device(dist.get_rank()) cast = os.environ.get("CAST_FORWARD_INPUTS", "1") == "1" print(f"cast_forward_inputs={cast}", flush=True) # 2-layer Gemma-4: layer 0 writes shared_kv_states[0], layer 1 reads it. # * num_kv_shared_layers=1 - default 0 means no sharing layer, bug can't fire. # * layer_t...
lf_github_issue_44928
https://github.com/huggingface/transformers/issues/44928
github_issue
GRADIENT_EXPLOSION
[Bug] Catastrophic gradient explosion (NaN) in RLHF with Qwen3.5 due to 3D position_ids forcing SDPA Math fallback and BF16 collapse
DeepSpeed
{ "pytorch_version": "2.10.0", "cuda_version": "12.8", "gpu_type": "A100" }
### System Info Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points. - `transformers` version: 5.3.0 - Platform: Linux-6.8.0-40-generic-x86_64-with-glibc2.35 - Python version: 3.11.15 - Huggingface_hub version: 1.7.1 - Safetensors version: 0.7.0 - Accelerate version: 1.13.0 - Accelerat...
lf_github_issue_43541
https://github.com/huggingface/transformers/issues/43541
github_issue
TORCH_COMPILE_DYNAMO
RuntimeError: MixtralForCausalLM float32 model errors at grouped_mm op during torch dynamo tracing
DeepSpeed
{ "pytorch_version": "2.9.1" }
File "/home/ubuntu/workplace/tc_moduscope/src/TorchNeuronEager/.venv/lib/python3.10/site-packages/torch/_subclasses/fake_tensor.py", line 2096, in dispatch return self._cached_dispatch_impl(func, types, args, kwargs) File "/home/ubuntu/workplace/tc_moduscope/src/TorchNeuronEager/.venv/lib/python3.10/site-packages...
lf_github_issue_3169
https://github.com/huggingface/peft/issues/3169
github_issue
TENSOR_DEVICE_MISMATCH
LoRA + BnB INT8 + CPU offload: output tensor on wrong device in tuners/lora/bnb.py
Unknown
{ "gpu_type": "RTX 4090" }
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! ``` ## Full context Discovered while making Gemma4 26B-A4B train on a single RTX 4090 (BnB INT8 + LoRA + Gradient Checkpointing + CPU offload). All patches + complete training example: https://github.com/sirf...
lf_github_issue_7844
https://github.com/deepspeedai/DeepSpeed/issues/7844
github_issue
SILENT_HANG
[BUG] DeepSpeed ZeRO-3 deadlock in engine.step() at step 0 under 2-GPU execution (RTX 3090, torch 2.2.1, DS 0.14.2)
DeepSpeed
{ "pytorch_version": "2.2.1", "cuda_version": "12.1", "gpu_type": "RTX 3090", "num_gpus": 2 }
NCCL_SOCKET_IFNAME=eno2 export GLOO_SOCKET_IFNAME=eno2 export NCCL_IB_DISABLE=1 # ZeRO stage export DS_ZERO_STAGE=3 # run deepspeed --num_gpus 2 testcases/deepspeed_testcase.py ``` 3. Observe logs: Both ranks print: ``` - R0 STEP0 route=0 -> forward - R1 STEP0 route=0 -> forward - ... -> backward - R0 STEP0 route=0...
lf_github_issue_7811
https://github.com/deepspeedai/DeepSpeed/issues/7811
github_issue
DEEPSPEED_ERROR
[BUG] ZeRO-3: zero.GatheredParameters([multiple params], modifier_rank=None) + in-place slice touch triggers assert not param.ds_active_sub_modules in free_param()
DeepSpeed
{}
[rank0] CONFIG world=2 device=cuda:0 vocab=32768 d_model=2048 iters=200 tile=8 do_bwd=True force_edit=True [rank0] EXC TRACEBACK: Traceback (most recent call last): File ".../ds_zero3_gather_assert_tri.py", line 125, in main with zero.GatheredParameters(params, modifier_rank=None): File ".../deepspeed/runtime/z...
lf_github_issue_7746
https://github.com/deepspeedai/DeepSpeed/issues/7746
github_issue
VERSION_MISMATCH
[BUG] Dtype mismatch (bf16 vs fp32) when resuming Muon optimizer from checkpoint
DeepSpeed
{ "cuda_version": "0.050000000000000044", "gpu_type": "H100" }
[rank2]: torch._dynamo.exc.TorchRuntimeError: Failed running call_method lerp_(*(FakeTensor(..., device='cuda:2', size=(1, 64)), FakeTensor(..., device='cuda:2', size=(1, 64), dtype=torch.bfloat16), 0.050000000000000044), **{}): [rank2]: expected dtype torch.float32 for `end`, but got dtype torch.bfloat16 [rank2]: fro...
lf_github_issue_7584
https://github.com/deepspeedai/DeepSpeed/issues/7584
github_issue
CHECKPOINT_CORRUPTION
[BUG] universal checkpoin for stage3 fail when there are multiple subgroups
DeepSpeed
{}
Traceback (most recent call last): File "/work/zhengchenyu/ai-project/qwen3/scripts/ds_to_universal_example.py", line 21, in <module> main() File "/work/zhengchenyu/ai-project/qwen3/scripts/ds_to_universal_example.py", line 18, in main ds_to_universal_main(args) File "/opt/conda/lib/python3.11/site-packag...
lf_github_issue_7549
https://github.com/deepspeedai/DeepSpeed/issues/7549
github_issue
DEEPSPEED_NVME_CHECKPOINT_RACE
[BUG] save_checkpoint race when consolidating NVMe offloaded tensors → FileExistsError
DeepSpeed
{ "cuda_version": "12.4", "num_gpus": 2 }
**Describe the bug** When calling save_checkpoint (via accelerator.save_state) from all ranks on a multi-GPU run with ZeRO Stage 3 NVMe offloading enabled, DeepSpeed attempts to consolidate per-rank NVMe offload directories into a single shared offloaded_tensors destination using shutil.copytree. Because all ranks call...
lf_github_issue_186357
https://github.com/pytorch/pytorch/issues/186357
github_issue
TORCH_COMPILE_AOTI
AOTInductor on Windows: models with >2GB constants fail to load - 32-bit `lseek` overflow (`weights_offset must be aligned to 16K boundary`)
PyTorch
{ "cuda_version": "12.8", "gpu_type": "RTX 5060" }
# aoti_mmap_probe.py - build needs MSVC + CUDA toolkit (vcvars64; LINK=cudart.lib) import torch, os from torch import nn class MLP(nn.Module): def __init__(self, d=8192, n=18): # 18 * 8192^2 * 2 bytes ≈ 2.36 GB > 2GB threshold super().__init__() self.layers = nn.ModuleList([nn.Linear(d,...
lf_github_issue_185535
https://github.com/pytorch/pytorch/issues/185535
github_issue
TORCH_COMPILE_INDUCTOR
[inductor] cat lowering AssertionError with 1-D empty tensor and negative dim
PyTorch
{}
### 🐛 Describe the bug Inductor's lowering for `aten.cat.default` raises `AssertionError` when a 1-D empty tensor (e.g. `torch.tensor([])`) appears among the inputs and `dim` is negative with magnitude exceeding that tensor's rank. ATen handles this via `cat_should_skip_tensor`: 1-D tensors with numel==0 are skipped...
lf_github_search_139884
https://github.com/pytorch/pytorch/issues/139884
github_search
PINNED_HOST_MEMORY_ALLOCATION_LIMIT
Persistent memory leak from failed pinned memory allocation
PyTorch
{ "pytorch_version": "2.5.1", "cuda_version": "12.4", "gpu_type": "RTX 4070" }
Traceback (most recent call last): File "[...]/leakmem.py", line 2, in <module> torch.empty((1024,1024,1024), dtype=torch.float32, pin_memory=True) RuntimeError: CUDA error: invalid argument CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect....
lf_github_search_14766
https://github.com/huggingface/transformers/issues/14766
github_search
NAN_LOSS
Nan when training LayoutLM_V2 Model
PyTorch
{ "pytorch_version": "1.10.0" }
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.13.0 - Platform: Linux-5.4.104+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.12 - PyTorch version...
gc6_gc6-pytorch-pytorch-143580
https://github.com/pytorch/pytorch/issues/143580
generalization_cycle_6
DDP_ERROR
RuntimeError: expect_autograd_hooks_ INTERNAL ASSERT FAILED at "../torch/csrc/distributed/c10d/reducer.cpp"
pytorch
{ "family": "pytorch-distributed" }
[stack] torch, DDP, PyTorch, cuda, nccl Reproduces the error This scenario triggers the error [rank0]: RuntimeError: expect_autograd_hooks_ INTERNAL ASSERT FAILED at "../torch/csrc/distributed/c10d/reducer.cpp":1603, please report a bug to PyTorch. No no_sync() context - works without error
gc6_gc6-deepspeedai-deepspeed-3574
https://github.com/deepspeedai/DeepSpeed/issues/3574
generalization_cycle_6
DEEPSPEED_ZERO3_PARTITIONED_CHECKPOINT_SHAPE_MISMATCH
fail to load checkpoints after zero3 initialize
deepspeed
{ "family": "deepspeed-megatron" }
[stack] torch, deepspeed, checkpoint raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format( RuntimeError: Error(s) in loading state_dict for MT5ForConditionalGeneration: size mismatch for shared.weight: copying a param with shape torch.Size([250112, 512]) from checkpoint, the shape in current model i...
depth_pytorch_190964
https://github.com/pytorch/pytorch/issues/190964
corpus_depth_mined
DEVICE_ASSERT
illegal memory access for torch.prod with unusual sizes
pytorch
{ "family": "pytorch/pytorch" }
Traceback (most recent call last): File "/root/test.py", line 7, in <module> torch.cuda.synchronize() File "/root/.pyenv/versions/3.12.13/lib/python3.12/site-packages/torch/cuda/__init__.py", line 1219, in synchronize return torch._C._cuda_synchronize() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ torch.Accelera...
lf_github_issue_43856
https://github.com/huggingface/transformers/issues/43856
github_issue
OOM_FRAGMENTATION
Inefficient memory usage during Qwen3 MoE training
DeepSpeed
{ "pytorch_version": "2.9.0", "cuda_version": "0.8", "gpu_type": "H100" }
torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 2.00 MiB. GPU 0 has a total capacity of 79.19 GiB of which 2.50 MiB is free. Process 2253701 has 79.18 GiB memory in use. Of the allocated memory 51.31 GiB is allocated by PyTorch, and 27.15 GiB is reserved by PyTorch but unallocated. If reserved but unalloc...
lf_github_issue_3265
https://github.com/huggingface/peft/issues/3265
github_issue
OOM_FRAGMENTATION
prepare_model_for_kbit_training adds ~1 GB CUDA reserved memory in 500 ms - undocumented cost that breaks memory-constrained training on 8 GB unified-memory devices
FSDP
{ "cuda_version": "0.3", "gpu_type": "RTX 4060" }
torch.cuda.memory_allocated() // (1024 * 1024), "cuda_reserved_mb": torch.cuda.memory_reserved() // (1024 * 1024), }), flush=True) bnb_cfg = BitsAndBytesConfig( load_in_4bit=True, bnb_4bit_quant_type="nf4", bnb_4bit_compute_dtype=torch.bfloat16, bnb_4bit_use_double_quant=True, ) snap("00...
lf_github_issue_3073
https://github.com/huggingface/peft/issues/3073
github_issue
GRADIENT_EXPLOSION
LoRA gradients not normalized by input norm → training instability (NaN)
Unknown
{}
### System Info Found an issue: PEFT scales LoRA output by α / r​, but gradients remain linearly dependent on input norm ∥x∥∥x∥: ∥Grad∥∝α / r⋅∥x∥ When activations vary 10-100× across layers, this causes: Gradient explosion → NaN on first steps Vanishing gradients in layers with small activations Workaround: A...
lf_github_issue_7741
https://github.com/deepspeedai/DeepSpeed/issues/7741
github_issue
SILENT_HANG
[BUG] DecoupledCheckpointEngine hangs indefinitely due to missing timeouts and process health checks
DeepSpeed
{}
# Replace assert with proper validation if info != self.commit_info: raise ValueError(f"Checkpoint commit info mismatch: expected {self.commit_info}, got {info}") # Add timeout to event wait with process health check TIMEOUT_SECONDS = 300 # 5 minutes while not self.save_event.wait(timeout=10): if not self.ckp...
lf_github_issue_7635
https://github.com/deepspeedai/DeepSpeed/issues/7635
github_issue
VERSION_MISMATCH
[BUG] TypeError: DeepSpeedEngine.load_checkpoint() got an unexpected keyword argument 'weights_only'
DeepSpeed
{ "gpu_type": "A100" }
Traceback (most recent call last): [rank0]: File "/inspire/ssd/project/robot3d/mazipei-253107140027/WorldActionModel/main.py", line 69, in <module> [rank0]: main() [rank0]: File "/inspire/ssd/project/robot3d/mazipei-253107140027/WorldActionModel/main.py", line 45, in main [rank0]: runner.train() [rank0]: ...
lf_github_issue_7607
https://github.com/deepspeedai/DeepSpeed/issues/7607
github_issue
VERSION_MISMATCH
[BUG] ZeRO 2 ipg_buckets key error
DeepSpeed
{ "cuda_version": "12.9" }
NCCL version: the result is overridden to be `fp32` in any case. Note: It appears with torch autocast enabled, a different initialisation path might avoid this crash.
lf_github_issue_7581
https://github.com/deepspeedai/DeepSpeed/issues/7581
github_issue
DEEPSPEED_ERROR
[BUG] Unit Test TestFp8ComposabilityAcrossZero.test[fp16] failure
DeepSpeed
{ "cuda_version": "13.0" }
Traceback (most recent call last): File "/usr/lib/python3.12/multiprocessing/pool.py", line 125, in worker result = (True, func(*args, **kwds)) ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/multiprocessing/pool.py", line 51, in starmapstar return list(itertools.starmap(args[0], args[1]))...

Denpex GPU Failure Fixtures (25 Reproducible Cases)

A lightweight, curated open dataset of 25 public GPU training, distributed collective, and inference failure signatures extracted from upstream issue trackers across PyTorch, DeepSpeed, vLLM, NCCL, PEFT, and Hugging Face Transformers.

Files Included

  • corpus-sample-25.json: Canonical 25-record JSON fixture array.
  • train.jsonl: Line-delimited JSON records ready for Hugging Face Datasets viewer and streaming ingestion.

Schema Fields

Each record contains:

  • id: Fixture identifier (matching the upstream issue number).
  • source_url: Public HTTPS link to the upstream GitHub issue.
  • framework: Stack component (PyTorch, DeepSpeed, FSDP, or Unknown).
  • failure_type: Canonical incident classification label (for example OOM_FRAGMENTATION, SILENT_HANG, VERSION_MISMATCH, CHECKPOINT_CORRUPTION).
  • summary: Short incident summary.
  • error_message: Raw log or traceback excerpt.

Usage Scope

This dataset publishes public benchmark fixtures only. Denpex's deterministic rule engine and multi-rank diagnosis scoring remain hosted on denpex.com.

Downloads last month
49