Note Annotations
- Status: ✅ fixed; 🚨 high-priority bug; 🔵 explicitly confirmed by developers; ❌ won't fix;
- Symptom: 💥 Crash or exception; 🧮 Result inconsistency (silent semantic bug); 🧴 Sanitizers;
- ✅💥🚨 SIGIOT when running model with conv2d and avgpool2d after
optimize_for_inference
· Issue #86535 · pytorch/pytorch · GitHub - ✅🧮
optimize_for_inference
leads to wrong results for model with conv2d, max and clip · Issue #86556 · pytorch/pytorch · GitHub - ✅💥🚨 RuntimeError: could not construct a memory descriptor using a format tag · Issue #86664 · pytorch/pytorch · GitHub
- ✅💥 [NNPack] Runtime error with padded
Conv1d
and>=16
batch size · Issue #90142 · pytorch/pytorch · GitHub - ✅💥 stable
torch.sort
crash with expanded tensor · Issue #91420 · pytorch/pytorch · GitHub - ✅💥 [Crash]
torch.searchsorted
with out-of-bound sorter · Issue #91606 · pytorch/pytorch · GitHub - ✅🧮
index_select
with scalar input and 0-dimed vector leads to undeterministic output · Issue #94340 · pytorch/pytorch · GitHub - ✅🧮
index_select
with scalar input and 0-dimed vector leads to undeterministic output · Issue #94340 · pytorch/pytorch · GitHub - ✅💥
torch.compile
failed ontorch.add
with a constant python number · Issue #92324 · pytorch/pytorch · GitHub - ✅💥
torch.compile
generates wrong profiling program forrandn_like
· Issue #92368 · pytorch/pytorch · GitHub - ✅💥
torch.compile
generates wrong profiling program for function havingtranspose
andlerp
· Issue #93229 · pytorch/pytorch · GitHub - ✅💥
torch.compile
triggers assertion error when explicitly provideout=None
· Issue #92814 · pytorch/pytorch · GitHub - ✅💥 INTERNAL ASSERT FAILED in
torch.compile
when the input tensor oftorch.clamp
hasrequires_grad=True
· Issue #93225 · pytorch/pytorch · GitHub - ✅💥
torch.compile
failed to run in-place operationunsqueeze_(0)
· Issue #93259 · pytorch/pytorch · GitHub - ✅🧮
stack
+ inplace operator produce wrong results intorch.compile
· Issue #93283 · pytorch/pytorch · GitHub - ✅🧮 [pt2] compiled model with cat and expand gives wrong results · Issue #93357 · pytorch/pytorch · GitHub
- ✅🧮🚨 [pt2] compiled function with cat and mul gives wrong results · Issue #93365 · pytorch/pytorch · GitHub
- ✅🧮 [pt2] cannot compile model with linear layer when the input has rank 1 · Issue #93372 · pytorch/pytorch · GitHub
- ✅💥
softmax
+transpose
+div_
triggers assertion fail in compile mode · Issue #93371 · pytorch/pytorch · GitHub - ✅🧮🚨 [pt2]
torch.where
gives wrong results withtorch.compile
· Issue #93374 · pytorch/pytorch · GitHub - ✅💥
torch.rsub
withalpha=xxx
triggers assertion fail in compile mode · Issue #93376 · pytorch/pytorch · GitHub - ✅🧮 [pt2] compile gives wrong result for function having
expand
anddiv_
· Issue #93377 · pytorch/pytorch · GitHub - ✅💥 [pt2]
torch._inductor.exc.CppCompileError: C++ compile error
when compilingneg
andmax
· Issue #93380 · pytorch/pytorch · GitHub - ✅💥 [pt2] exception when compiling
max_pool2d_with_indices
· Issue #93384 · pytorch/pytorch · GitHub - ✅💥 [pt2] cannot compile function having
gt
,expand
andadd_
· Issue #93386 · pytorch/pytorch · GitHub - ✅💥🚨
torch.compile
trigger assertion error when executinghistogramdd
· Issue #93274 · pytorch/pytorch · GitHub - ✅🧮 [pt2]
torch.compile
produces wrong results formasked_fill
· Issue #93823 · pytorch/pytorch · GitHub - ✅🧮 [pt2]
torch.compile
produces wrong results for function withreciprocal_
· Issue #93824 · pytorch/pytorch · GitHub - ✅🧮 [pt2]
torch.compile
produces wrong results for function withneg
onuint8
tensor · Issue #93829 · pytorch/pytorch · GitHub - ✅💥
log_softmax
+pad
triggers assertion fail in compile mode · Issue #93819 · pytorch/pytorch · GitHub - ✅💥 [pt2] Cannot compile model with
neg
andlinear
· Issue #93836 · pytorch/pytorch · GitHub - ✅🧮
pad
+gt
produce wrong results in compile mode · Issue #93351 · pytorch/pytorch · GitHub - ✅💥 [pt2] (
interpolate
withmode=nearest
) +kthvalue
triggers assertion fail in compile mode · Issue #93849 · pytorch/pytorch · GitHub - ✅💥 [pt2]
torch._inductor.exc.CppCompileError: C++ compile error
when compilingargmax
andmin
· Issue #94055 · pytorch/pytorch · GitHub - ✅💥
Tensor.select
+add_
triggers C++ Compile Error · Issue #94960 · pytorch/pytorch · GitHub - ✅💥
torch.compile
fails when usingtorch.sub
with python constant · Issue #95181 · pytorch/pytorch · GitHub - ✅💥
Tensor.copy_
+moveaxis
Trigger Exception in Compile Mode · Issue #95262 · pytorch/pytorch · GitHub - ✅🧮
torch.ge
produces wrong results in compile mode when given int tensors · Issue #95695 · pytorch/pytorch · GitHub - ✅💥 [pt2]
bitwise_and
+clamp_max
Triggers Compilation Error · Issue #97968 · pytorch/pytorch · GitHub - ✅🧮 [pt2]
add
+unfold
+abs_
produces wrong results · Issue #98143 · pytorch/pytorch · GitHub - ✅🧮 [pt2]
pow
+cos
produces wrong result · Issue #98149 · pytorch/pytorch · GitHub - ✅💥
torch._C._nn.fractional_max_pool3d
Trigger Segmentation Fault · Issue #89648 · pytorch/pytorch · GitHub - ✅💥🚨
torch.nn.functional.embedding_bag
Trigger "IOT instruction" Failure · Issue #89677 · pytorch/pytorch · GitHub - ✅🧴
torch.Tensor.index_select
Trigger heap-buffer-overflow with AddressSanitizer · Issue #88940 · pytorch/pytorch · GitHub - ✅🧴
nn.utils.rnn.pack_sequence
Trigger heap-buffer-overflow with AddressSanitizer · Issue #88334 · pytorch/pytorch · GitHub - ✅🚨🧴
MultiMarginLoss
Trigger out-of-bound Read under Compute Sanitizer · Issue #88724 · pytorch/pytorch · GitHub - ✅🧴
nn.functional.max_unpool3d
Trigger heap-buffer-overflow with AddressSanitizer · Issue #88032 · pytorch/pytorch · GitHub - ✅🧴
torch.nn.functional.interpolate
Trigger heap-buffer-overflow with AddressSanitizer · Issue #88939 · pytorch/pytorch · GitHub - ✅🧴
torch.fft.hfft
Trigger RuntimeError under UndefinedBehaviorSanitizer · Issue #88985 · pytorch/pytorch · GitHub - ✅🧴
torch.nn.functional.interpolate
Trigger RuntimeError under UndefinedBehaviorSanitizer · Issue #88951 · pytorch/pytorch · GitHub - 🔵💥 [JIT] Zero-channel conv2d cannot be applied with
optimize_for_inference
· Issue #91396 · pytorch/pytorch · GitHub - 🔵💥 [JIT] Applying
conv2d
over Constants Leads to Exception · Issue #92740 · pytorch/pytorch · GitHub - 🔵💥🚨
torch.compile
failed ontorch.bitwise_xor
with a constant python number · Issue #93224 · pytorch/pytorch · GitHub - 🔵🧮
dstack
+reciprocal
produce wrong result in compile mode · Issue #93078 · pytorch/pytorch · GitHub - 🔵💥
min
reduction on float16 tensor failed on certain shapes · Issue #93249 · pytorch/pytorch · GitHub - 🔵🧮
torch.compile
produce wrong result ininterpolate
whenmode=bilinear
· Issue #93262 · pytorch/pytorch · GitHub - 🔵💥
argmin
+view
Trigger Exception in compile mode · Issue #95370 · pytorch/pytorch · GitHub - 🔵🧮
torch.fmod
produces inconsistent results in eager and compile mode · Issue #97333 · pytorch/pytorch · GitHub - 🔵💥 [CPU Inductor] Compile error when passing float16 tensors to
vector_norm
+remainder
· Issue #97758 · pytorch/pytorch · GitHub - 🔵💥 [pt2]
movedim
+add_
+cat
triggers exception · Issue #98122 · pytorch/pytorch · GitHub - 🔵💥
torch.Tensor.flatten
Trigger Segmentation Fault when trying to provide and output named dim · Issue #89718 · pytorch/pytorch · GitHub - 🔵🧴
nn.functional.embedding_bag
Trigger out-of-bound Read under Compute Sanitizer · Issue #88563 · pytorch/pytorch · GitHub - 🔵🧴
torch.nn.CTCLoss
Trigger heap-buffer-overflow under AddressSanitizer · Issue #88047 · pytorch/pytorch · GitHub - 🔵🧴
torch.nn.ReplicationPad2D
Report "invalid configuration argument" Error under Compute Sanitizer · Issue #89254 · pytorch/pytorch · GitHub - 🔵🧴
torch.nn.LayerNorm
Abort with "invalid device ordinal" Error · Issue #89218 · pytorch/pytorch · GitHub - 🔵🧴
torch.svd_lowrank
Trigger RuntimeError under UndefinedBehaviorSanitizer · Issue #88942 · pytorch/pytorch · GitHub - 🔵🧴
torch.linalg.lstsq
Trigger RuntimeError under UndefinedBehaviorSanitizer · Issue #88941 · pytorch/pytorch · GitHub - 💥 Adding a linear layer leads to failure of
optimize_for_mobile
· Issue #86667 · pytorch/pytorch · GitHub - 💥 [JIT] INTERNAL ASSERT FAILED when dispatching for
torch.Tensor.view
· Issue #90365 · pytorch/pytorch · GitHub - 💥 [JIT] INTERNAL ASSERT FAILED
torch.add
with boolean primitive constant · Issue #90367 · pytorch/pytorch · GitHub - 💥 [JIT] INTERNAL ASSERT FAILED
torch.mul
with boolean primitive constant · Issue #90366 · pytorch/pytorch · GitHub - 💥 [JIT] Wrong type inference leads to misleading error message · Issue #90369 · pytorch/pytorch · GitHub
- 💥 [JIT] INTERNAL ASSERT FAILED when
Conv2d
andclamp
used together · Issue #92563 · pytorch/pytorch · GitHub - 💥 [JIT] Inconsistency in tensor shape between eager mode and JIT · Issue #92548 · pytorch/pytorch · GitHub
- 💥 [JIT][TracingCheckError] inplace ops incompatible with
contiguous(.., channels_last)
· Issue #92558 · pytorch/pytorch · GitHub - ❌💥 [JIT]
Linear
+BatchNorm2d
Trigger Inconsistency between Eager Mode and JIT · Issue #92674 · pytorch/pytorch · GitHub - 💥 [JIT] Consecutive use of
addmm
Leads to Exception · Issue #92742 · pytorch/pytorch · GitHub - ❌💥 [Crash][MKL]
torch.linalg.eigvals
crash with NaN · Issue #93124 · pytorch/pytorch · GitHub - 🧴
torch.nn.CTCLoss
Trigger out-of-bound Read under Compute Sanitizer · Issue #89208 · pytorch/pytorch · GitHub - 🧴
torch.nn.functional.embedding_bag
Trigger RuntimeError under UndefinedBehaviorSanitizer · Issue #88950 · pytorch/pytorch · GitHub - 🧴
torch.set_rng_state
Trigger RuntimeError under UndefinedBehaviorSanitizer · Issue #88949 · pytorch/pytorch · GitHub - 🧴
torch.Tensor.msort
Trigger RuntimeError under UndefinedBehaviorSanitizer · Issue #88947 · pytorch/pytorch · GitHub - 🧴
torch.linalg.eigvals
Trigger RuntimeError under UndefinedBehaviorSanitizer · Issue #88945 · pytorch/pytorch · GitHub - 🧴
torch.topk
Trigger RuntimError under UndefinedBehaviorSanitizer · Issue #88944 · pytorch/pytorch · GitHub - 🧴
torch.vander
Trigger RuntimeError with UndefinedBehaviorSanitizer · Issue #88943 · pytorch/pytorch · GitHub
- 🔵💥 Inconsistant behavior of Conv2D between eager mode and tracing · Issue #57664 · tensorflow/tensorflow · GitHub
- 🔵💥 TFLite fails to run a model with a dense layer following an Add operator · Issue #57697 · tensorflow/tensorflow · GitHub
- 🔵💥 TFLite throws an error with certain tensor value · Issue #57708 · tensorflow/tensorflow · GitHub
- 🔵🧮 TFLite's max operator has wrong broadcasting behavior · Issue #57759 · tensorflow/tensorflow · GitHub
- 🔵💥 Issues · tensorflow/tensorflow · GitHub
- 🔵🧮 pow operation gives valid output even the input is invalid · Issue #57757 · tensorflow/tensorflow · GitHub
- 🔵🧮 TFLite produce wrong results when add follows a leakyrelu · Issue #57818 · tensorflow/tensorflow · GitHub
- 🔵💥 TFLite runner crashes with XOR and squeeze in the model · Issue #57882 · tensorflow/tensorflow · GitHub
- 🔵💥 Conv2D with XLA jit_compile=True fails to run · Issue #57748 · tensorflow/tensorflow · GitHub
- 🔵🧮 log operator outputs wrong results with XLA compilation · Issue #57744 · tensorflow/tensorflow · GitHub
- 🔵🧮 pow operator output nan for valid inputs · Issue #57747 · tensorflow/tensorflow · GitHub
- 🔵🧮 LRN operator outputs wrong results with
jit_compile=True
· Issue #57746 · tensorflow/tensorflow · GitHub - 🔵💥 Conv2D layer fails to run with XLA on CUDA · Issue #57838 · tensorflow/tensorflow · GitHub
- 🔵🧴
tf.raw_ops.SegmentMax
Behaves Differently Under CPU and GPU · Issue #58469 · tensorflow/tensorflow · GitHub - ❌🧮 Inconsistent behavior of TF eager and XLA in int64 casting · Issue #57883 · tensorflow/tensorflow · GitHub
Note NeuRI or NNSmith is able to find a lot more TensorFlow bugs in addition to these above. Because we want to report bugs more responsibly, we use a buffer size of 15 reports until some of them are fixed. That being said, the 15 reported bugs were not fixed (though confirmed) by TensorFlow developers at the time we were developing NeuRI and consequently we discontinued bug finding for TensorFlow.