id int64 2.74B 3.05B | title stringlengths 1 255 | user stringlengths 2 26 | state stringclasses 2
values | labels listlengths 0 24 | comments int64 0 206 | author_association stringclasses 4
values | body stringlengths 7 62.5k ⌀ | is_title bool 1
class |
|---|---|---|---|---|---|---|---|---|
2,899,255,863 | [Window][Inductor UT] Fix for tempfile.NamedTemporaryFile(delete=True) not work on Windows. | etaf | closed | [
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor",
"ciflow/xpu"
] | 10 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148632
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov | true |
2,899,250,725 | DISABLED test_sdpa_rewriter_11_cuda (__main__.SDPAPatternRewriterCudaDynamicTests) | pytorch-bot[bot] | open | [
"module: rocm",
"triaged",
"module: flaky-tests",
"skipped",
"oncall: pt2",
"module: inductor"
] | 1 | NONE | Platforms: rocm
This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_sdpa_rewriter_11_cuda&suite=SDPAPatternRewriterCudaDynamicTests&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/38274939794).
Over the past... | true |
2,899,112,366 | [inductor] lowering for fractional_max_pool3d | isuruf | open | [
"open source",
"module: inductor",
"ciflow/inductor",
"release notes: inductor"
] | 3 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148630
also a lowering with a reduction for large window_sizes for
fractional_max_pool2d
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang... | true |
2,899,065,459 | [ONNX] dynamic dims are not exported with the specified names | yuanyao-nv | open | [
"module: onnx",
"triaged"
] | 32 | NONE | ### 🐛 Describe the bug
For the following export script:
```
import torch
import torch.nn as nn
import torch.onnx
class AddModel(nn.Module):
def __init__(self):
super(AddModel, self).__init__()
def forward(self, x, y):
return x + y
# Instantiate the model
model = AddModel()
# Set the model ... | true |
2,899,061,844 | Adjust CMake code for Eigen | cyyever | open | [
"triaged",
"open source",
"topic: not user facing"
] | 13 | COLLABORATOR | There are some CMake changes introduced:
1. CAFFE2_USE_EIGEN_FOR_BLAS is removed because it is used in the removed Caffe2 code.
2. Link to Eigen only when `BLAS` value is `EIGEN`. | true |
2,899,025,088 | [ONNX] Use torch export to get dynamic shapes for JIT convert strategy | justinchuby | closed | [
"module: onnx",
"open source",
"Merged",
"ciflow/trunk",
"release notes: onnx",
"topic: improvements"
] | 6 | COLLABORATOR | Use torch export to get dynamic shapes for JIT converted graph. I just realized we can retrace a converted jit graph with `torch.export` and produce dynamic shapes using `torch.export`.
- **Prior:** The exporter will produce a **static graph silently** even when dynamic_shapes are provided.
- **Proposed:** When `dy... | true |
2,899,015,281 | [triton 3.3] test_triton_kernel_constants fix | davidberard98 | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 10 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148626
Thanks @FindHao who did the initial version of this PR: https://github.com/pytorch/pytorch/pull/148505
TL;DR is that https://github.com/triton-lang/triton/pull/5961 deprecates `tl.constexpr` annotations - you're supposed t... | true |
2,899,010,794 | Remove Cuda 12.4 from nightly Binaries | tinglvv | closed | [
"triaged",
"open source",
"Merged",
"Reverted",
"ciflow/binaries",
"topic: not user facing",
"ci-no-td"
] | 10 | COLLABORATOR | https://github.com/pytorch/pytorch/issues/145570
removes cuda 12.4 nightly builds
cc @atalman @malfet @nWEIdia @ptrblck | true |
2,899,002,229 | DISABLED test_return_captured_var_used_multiple_times_dynamic_shapes (__main__.DynamicShapesHigherOrderOpTests) | pytorch-bot[bot] | closed | [
"triaged",
"module: flaky-tests",
"skipped",
"oncall: pt2",
"module: dynamo"
] | 8 | NONE | Platforms: asan, linux, rocm, mac, macos
This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_return_captured_var_used_multiple_times_dynamic_shapes&suite=DynamicShapesHigherOrderOpTests&limit=100) and the most recent trunk [workflow logs](https://gi... | true |
2,898,880,349 | [mm_logs] follow up to add count info based on shape for inductor `aten.mm`s | YUNQIUGUO | closed | [
"fb-exported",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 9 | CONTRIBUTOR | Summary:
as title.
when enable `TORCH_LOGS="+inductor"`, you can get logs at the end such as
stats [('calls_captured', 1), ('unique_graphs', 1)]
inductor [('pattern_matcher_count', 2), ('pattern_matcher_nodes', 2), ('benchmarking.TritonBenchmarker.benchmark_gpu', 2), **(('aten_addmm', (16, 6, 16)), 1)**, ('extern_cal... | true |
2,898,833,035 | stage 2 of depreate silent fallback of tuning gemm | henrylhtsang | closed | [
"fb-exported",
"Merged",
"Reverted",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor",
"ci-no-td"
] | 43 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148622
* #151506
context: https://github.com/pytorch/pytorch/issues/147479
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng ... | true |
2,898,832,481 | update get_default_device to also respect torch.device ctx manager | kshitij12345 | open | [
"triaged",
"open source",
"release notes: python_frontend"
] | 2 | COLLABORATOR | Fixes https://github.com/pytorch/pytorch/issues/131328 | true |
2,898,792,839 | fix 142457 , fixes double free corruption by adding TORCH_CHECK to ensure weights have the proper size | AmalDevHaridevan | open | [
"triaged",
"open source",
"topic: not user facing"
] | 3 | NONE | Fixes #142457
# Problem
```slow_conv_transpose3d_shape_check``` currently does not enforce the constraint that the size of the ```weight = n_input_plane x n_output_plane x kernel_depth x kernel_height x kernel_width```. This causes the undefined behavior seen in issue 142457. This can be fixed by enforcing that t... | true |
2,898,780,339 | [ONNX] Support complex comparison when verify=True | titaiwangms | closed | [
"open source",
"Merged",
"ciflow/trunk",
"release notes: onnx",
"topic: improvements"
] | 4 | COLLABORATOR | Previously, the comparison of complex numbers was not supported when `verify=True`.
NOTE: This PR can be extended to support more complex comparison cases if there are other places in onnx codebase needed to be changed.
| true |
2,898,760,708 | [dynamo] Don't affect stack traces under TORCHDYNAMO_DISABLE | xmfan | open | [
"module: dynamo",
"ciflow/inductor",
"release notes: dynamo"
] | 8 | MEMBER | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148618
Follow-up to https://fb.workplace.com/groups/1286739428954016/permalink/1446477902980167/. We don't want to wrap eager code when TORCHDYNAMO_DISABLE/JustKnobs are flipped, because it was confusing model owners to still see th... | true |
2,898,718,575 | [ONNX] Update saved exported program in debugging report if the exporting passes run_decomposition() | titaiwangms | closed | [
"open source",
"Merged",
"ciflow/trunk",
"release notes: onnx",
"topic: improvements"
] | 5 | COLLABORATOR | Previous to this PR, if the exporting passes run_decomposition(), the report still shows the exported_program before decomposition, which adds the difficulties to our users when they want to check the exported program that are used to translate to ONNX graph.
The following example is what we see before this PR:
`... | true |
2,898,703,848 | Optimize AOTInductor: Caching, Reduced Decompositions, and Improved JSON Handling | devsashidhar | open | [
"oncall: distributed",
"triaged",
"open source",
"topic: not user facing",
"module: inductor"
] | 2 | NONE | PR Description:
This PR improves AOTInductor's compilation performance by introducing caching, limiting unnecessary decompositions, and optimizing JSON handling.
Changes:
Added persistent caching to avoid redundant recompilation.
Restricted decompositions to only necessary operators (aten::add, aten::mul).
Optim... | true |
2,898,685,504 | Bump to AOTriton 0.9.2 to fix version strings | xinyazhang | closed | [
"triaged",
"open source",
"ciflow/trunk",
"topic: not user facing",
"rocm",
"ciflow/rocm"
] | 4 | COLLABORATOR | AOTriton 0.9.1 does not bump the version strings in both .comment section or the file name, which may cause confusions if slipped into final release.
A new point release is made to address this confusion and unify the version strings.
| true |
2,898,678,530 | [while_loop] enforce stride to be the same for subgraph's input and output | ydwu4 | closed | [
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 1 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148614
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov | true |
2,898,677,542 | [For Discussion][Dynamo] Avoiding skipping module.py inner() frame, to keep forward hooks and forward in the same graph | yf225 | closed | [
"module: dynamo",
"ciflow/inductor"
] | 5 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148613
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,898,650,654 | [CI] [inductor] Add cu126 inductor jobs and move away cu124 | tinglvv | closed | [
"open source",
"Merged",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor",
"keep-going",
"ciflow/inductor-perf-test-nightly",
"ciflow/inductor-perf-compare",
"ciflow/inductor-micro-benchmark",
"ciflow/inductor-periodic"
] | 6 | COLLABORATOR | https://github.com/pytorch/pytorch/issues/145570
breaking https://github.com/pytorch/pytorch/pull/140793 into eager and inductor benchmarks to unblock
Seems many inductor yml are added after initial change was prepared.
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @bl... | true |
2,898,629,447 | Remove warnings on non-buffer tensor constants (#148483) | tugsbayasgalan | closed | [
"Stale",
"ciflow/trunk",
"release notes: fx",
"fx"
] | 3 | CONTRIBUTOR | Summary:
Export already registers tensor constants directly in the graph and this is also true for Torchbind objects. This removes warning that pollutes the output.
cc ezyang SherlockNoMad EikanWang jgong5 wenzhe-nrv
imported-using-ghimport
Test Plan: Imported from OSS
Reviewed By: zou3519
Differential Revision... | true |
2,898,620,337 | Optimize shard_dim_alltoall to use alltoall_single | wanchaol | closed | [
"oncall: distributed",
"release notes: distributed (c10d)"
] | 2 | COLLABORATOR | as titled, previously the shard_dim_alltoall uses `all_to_all`, which essentially could incur lots of copies if the tensor become non-contiguous during splits, and alltoall itself also incur copies
This PR uses alltoall_single instead, so that we could minimize tensor copies.
tested on all the shard dim change te... | true |
2,898,608,933 | Optimize shard_dim_alltoall to use alltoall_single | wanchaol | closed | [
"oncall: distributed",
"release notes: distributed (c10d)"
] | 2 | COLLABORATOR | as titled, previously the shard_dim_alltoall uses `all_to_all`, which essentially could incur lots of copies if the tensor become non-contiguous during splits, and alltoall itself also incur copies
This PR uses alltoall_single instead, so that we could minimize tensor copies.
tested on all the shard dim change te... | true |
2,898,588,532 | [MPS] fix crash for mse loss with 0 numel inputs | Isalia20 | closed | [
"open source",
"Merged",
"topic: bug fixes",
"module: mps",
"release notes: mps",
"ciflow/mps"
] | 3 | COLLABORATOR | Fixes #148589
cc @kulinseth @albanD @malfet @DenisVieriu97 @jhavukainen | true |
2,898,585,211 | DISABLED test_host_memory_stats (__main__.TestCuda) | pytorch-bot[bot] | closed | [
"module: cuda",
"triaged",
"module: flaky-tests",
"skipped"
] | 5 | NONE | Platforms: linux, rocm, slow
This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_host_memory_stats&suite=TestCuda&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/38260272155).
Over the past 3 hours, it has... | true |
2,898,584,165 | DISABLED test_nested_tuple_output_dynamic_shapes (__main__.DynamicShapesHigherOrderOpTests) | pytorch-bot[bot] | closed | [
"triaged",
"module: flaky-tests",
"skipped",
"oncall: pt2",
"module: dynamo"
] | 5 | NONE | Platforms: asan, linux, rocm, mac, macos
This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_nested_tuple_output_dynamic_shapes&suite=DynamicShapesHigherOrderOpTests&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytor... | true |
2,898,568,947 | [cuda] Add new faster gammabeta backward kernel | ahmadsharif1 | open | [
"Merged",
"Reverted",
"ciflow/trunk",
"release notes: cuda",
"ci-no-td"
] | 24 | CONTRIBUTOR | This PR adds a new kernel for producing gamma and beta values for the backward pass in a performant way.
To test the performance against the baseline, I measured the backward pass of layernorm while sweeping over the following variables:
1. dtype in {half, float}
2. M in `2**k, 2**k - 1, 2**k + 1 for k in range(... | true |
2,898,564,048 | Clear triton kernels after parent make_launcher | jamesjwu | closed | [
"fb-exported",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"module: dynamo",
"ciflow/inductor"
] | 5 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148604
Before, we were clearing the cache only after inductor compile. But inductor may not **always** compile, i.e. on AOTAutogradCache hit.
So instead, we should clear it when the future is consumed. This is a more robust fix for ... | true |
2,898,549,021 | [ONNX] Expose verification utilities | justinchuby | closed | [
"module: onnx",
"triaged",
"open source",
"Merged",
"ciflow/trunk",
"release notes: onnx",
"topic: new features"
] | 12 | COLLABORATOR | Expose verification utilities to public documentation. | true |
2,898,498,813 | [CI][CUDA] Move away from cuda12.4, Add cuda12.6 eager CI tests | tinglvv | closed | [
"triaged",
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"ciflow/periodic",
"keep-going",
"ciflow/slow"
] | 7 | COLLABORATOR | https://github.com/pytorch/pytorch/issues/145570
breaking https://github.com/pytorch/pytorch/pull/140793/ into eager and inductor benchmarks to unblock
cc @atalman @malfet @nWEIdia @ptrblck | true |
2,898,452,325 | Fix for AOTI + CUDAGraphs when calling from Python | jbschlosser | closed | [
"Merged",
"ciflow/trunk",
"topic: improvements",
"module: inductor",
"ciflow/inductor",
"release notes: inductor"
] | 15 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148601
**Background**: I've been comparing performance of torch.compile vs. torch.export + AOTI (specifically, loaded from Python) on the Flux model and found a ~1.4% performance decrease with the latter. The trace shows that CUDAGr... | true |
2,898,448,515 | [pytorch] Update flexattention bwd config generation | mandroid6 | closed | [
"fb-exported",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 7 | CONTRIBUTOR | Summary: Currently `flex_attention` template's backward config generation returns values for every case. This change instead stores intermediate values in `'bwd_config` returned at the end.
Test Plan: CI. Existing tests.
Differential Revision: D70649316
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen... | true |
2,898,435,031 | torch.conj behaves differently on cpu and mps | arandono | closed | [
"triaged",
"module: complex",
"module: mps"
] | 3 | NONE | ### 🐛 Describe the bug
torch.conj appears to behave differently on cpu vs mps devices. On cpu when combined in matrix multiplication operations it behaves as expected. On mps devices it does not perform conjugation before the matrix multiplication. Here's an example:
```
a = torch.rand(2,2, dtype=torch.cfloat)
A = a... | true |
2,898,408,639 | Test | zxiiro | closed | [
"open source",
"topic: not user facing"
] | 1 | COLLABORATOR | Fixes #ISSUE_NUMBER
| true |
2,898,365,204 | Clear triton kernels after parent make_launcher | jamesjwu | closed | [
"fb-exported",
"topic: not user facing",
"module: inductor",
"module: dynamo",
"ciflow/inductor"
] | 6 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148597
Before, we were clearing the cache only after inductor compile. But inductor may not **always** compile, i.e. on AOTAutogradCache hit.
So instead, we should clear it when the future is consumed. This is a more robust fix for ... | true |
2,898,316,383 | [c10d] Make getDefaultBackend more fault tolerant | kwen2501 | closed | [
"oncall: distributed",
"Merged",
"ciflow/trunk",
"release notes: distributed (c10d)"
] | 11 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148596
This is a forward fix for #135338.
It hits error like this:
```
"distributed_c10d.py", line 2156, in destroy_process_group
if type(pg) == ProcessGroup and pg._has_hooks():
RuntimeError: Could not find the default b... | true |
2,898,311,828 | [Inductor][Triton] Fix test_autotune_inplace_kernel to work with newer Triton version | PaulZhang12 | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 15 | CONTRIBUTOR | For new Triton version 3.3, constexpr are included as part of the signature. Update failing test to reflect this change, additional context in https://github.com/pytorch/pytorch/pull/145051.
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @... | true |
2,898,311,261 | [CUDA Graphs][NCCL] Set event queries to happen under thread-local mode in `ProcessGroupNCCL.cpp` | eqy | closed | [
"oncall: distributed",
"module: cuda",
"module: nccl",
"open source",
"Merged",
"module: cuda graphs",
"ciflow/trunk",
"topic: not user facing",
"ciflow/periodic",
"rocm"
] | 7 | COLLABORATOR | Should mean we don't need to coordinate the watchdog with CUDAGraph captures anymore
cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @ptrblck @msaroufim @mcarilli @ezyang @eellison @penguinwu @BoyuanFeng | true |
2,898,267,447 | Add XPU device to nested_layer_norm | min-jean-cho | closed | [
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"ciflow/xpu",
"release notes: xpu",
"module: xpu"
] | 15 | COLLABORATOR | Work with https://github.com/intel/torch-xpu-ops/pull/1416 .
cc @gujinghui @EikanWang @fengyuan14 @guangyey | true |
2,898,251,150 | [AOTI] Swith to local cpp compile for fbcode | zoranzhao | closed | [
"fb-exported",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 15 | MEMBER | Summary: as title, otherwise we can not find lamdhip64
Test Plan: https://www.internalfb.com/phabricator/paste/view/P1747104431
Differential Revision: D70637798
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng... | true |
2,898,237,706 | Move broken job to unstable workflow: `trunk / libtorch-linux-focal-cuda12.4-py3.10-gcc9-debug / build` | ZainRizvi | closed | [
"topic: not user facing"
] | 3 | CONTRIBUTOR | The job `trunk / libtorch-linux-focal-cuda12.4-py3.10-gcc9-debug / build` is currently broken and marked as unstable: https://github.com/pytorch/pytorch/issues/148495
Why is this needed?
* Using Issues to mark jobs as unstable is only meant for short term use, and this job is taking longer to fix.
* The tooling ... | true |
2,898,168,333 | [PGNCCL] Launch kernel on current stream & remove `record_stream` entirely | kwen2501 | closed | [
"oncall: distributed",
"Merged",
"Reverted",
"ciflow/trunk",
"release notes: distributed (c10d)",
"keep-going",
"ci-no-td"
] | 50 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148590
This PR has multiple changes to `ProcessGroupNCCL` (which unfortunately are related):
1. When async_op=False, we directly launch the collective on "current" stream, instead of a trampoline stream and join back.
- Resolve... | true |
2,898,164,996 | RuntimeError on MPS: [srcBuf length] > 0 INTERNAL ASSERT FAILED – Placeholder tensor is empty using huggingface model ibm-granite/granite-timeseries-ttm-r2 | Arjein | closed | [
"module: crash",
"triaged",
"module: mps"
] | 2 | NONE | ### 🐛 Describe the bug
**Describe the bug**
I encounter the following error during inference when running a model on MPS with PyTorch 2.6.0 on macOS 15.3.1 (Apple M4):
RuntimeError: [srcBuf length] > 0 INTERNAL ASSERT FAILED at "/Users/runner/work/pytorch/pytorch/pytorch/aten/src/ATen/native/mps/OperationUtils.mm":5... | true |
2,898,153,150 | [CI][CUDA] Update test_unary_ufuncs.py to workaround #148143 | nWEIdia | closed | [
"open source",
"topic: not user facing"
] | 5 | COLLABORATOR | Workaround: #148143
test_reference_numerics_small has the following:
if dtype in (torch.bool,):
raise self.skipTest("bool has no small values")
Does bool have "normal" values?
Fixes #148143
cc @atalman @malfet @eqy @tinglvv @ptrblck
| true |
2,898,147,484 | [AOTI] build CPU CPP kernels at O3, and all other code at O1 | benjaminglass1 | closed | [
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 4 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148587
In the future, we may also want to add LTO linking to further optimize the results (while still hopefully netting compile time benefits).
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuha... | true |
2,898,147,482 | Enable a fast path for (static) qlinear for AArch64 through ACL directly. | fadara01 | closed | [
"module: cpu",
"open source",
"release notes: quantization"
] | 2 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148586
* #148585
* #148584
This enables a fast path for eager mode static quantization for AArch64 through Arm Compute Library (ACL) directly.
PR #145942 addressed the high overhead in qlinear_dynamic on AArch64 (due to redundant we... | true |
2,898,147,367 | Enable fast qlinear static/dynamic path for AArch64 through ACL directly | fadara01 | closed | [
"module: cpu",
"open source",
"module: arm",
"Merged",
"release notes: quantization",
"ciflow/linux-aarch64",
"arm priority"
] | 12 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #148653
* __->__ #148585
This enables a fast path for eager mode static/dynamic quantization for AArch64 through Arm Compute Library (ACL) directly.
Context: PRs #126687, #139887 enabled an optimized implementation for `qlinear` and `qli... | true |
2,898,147,220 | Enable Direct Use of Arm Compute Library (ACL) in ATen | fadara01 | closed | [
"open source",
"module: arm",
"Merged",
"topic: not user facing",
"ciflow/linux-aarch64"
] | 6 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #148653
* #148585
* __->__ #148584
ACL is already built with PyTorch as a shared library when USE_MKLDNN_ACL is set.
Currently, it is only used indirectly in ATen via oneDNN for AArch64 targets. However there are cases where it makes sense t... | true |
2,898,142,167 | Enable fast qlinear static/dynamic path for AArch64 through ACL directly | fadara01 | closed | [
"module: cpu",
"open source",
"release notes: quantization"
] | 2 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148583
* #148582
This enables a fast path for eager mode dynamic quantization for AArch64 through Arm Compute Library (ACL) directly.
Context: PR #126687 enabled an optimized implementation for qlinear_dynamic for aarch64 through id... | true |
2,898,142,032 | Enable Direct Use of Arm Compute Library (ACL) in ATen | fadara01 | closed | [
"open source"
] | 3 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #148583
* __->__ #148582
ACL is already built with PyTorch as a shared library when USE_MKLDNN_ACL is set.
Currently, it is only used indirectly in ATen via oneDNN for AArch64 targets. However there are cases where it makes sense to utilize ... | true |
2,898,138,311 | Enable Direct Use of Arm Compute Library (ACL) in ATen | fadara01 | closed | [
"open source"
] | 3 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148581
ACL is already built with PyTorch as a shared library when USE_MKLDNN_ACL is set.
Currently, it is only used indirectly in ATen via oneDNN for AArch64 targets. However there are cases where it makes sense to utilize ACL direct... | true |
2,898,127,106 | [inductor]lowering scan to while_loop | ydwu4 | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 7 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148580
This PR add a pass in post_grad that lowers scan to while_loop. See the comment before the pass for how this is implemented.
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzhe... | true |
2,898,102,028 | [AOTI] build CPU CPP kernels at O3, and all other code at O1 | benjaminglass1 | closed | [
"open source",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 1 | COLLABORATOR | In the future, we may also want to add LTO linking to further optimize the results (while still hopefully netting compile time benefits).
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @amjames @chauha... | true |
2,898,058,501 | [CI][CUDA][Distributed]Update test_composability.py | nWEIdia | closed | [
"oncall: distributed",
"triaged",
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 17 | COLLABORATOR | world_size = int(os.getenv("WORLD_SIZE", 4)) in subsequent lines indicate the tests in this file do not only require > 1 GPU, but at least 4 GPUs. skip_if_lt_x_gpu(4) does not properly skip this on a platform with 2 GPUs.
skip_if_lt_x_gpu being broken, potentially related to a similar issue: https://github.com/pyto... | true |
2,898,024,412 | [DCP] Save Plan Caching: Fix the missing all_plans update in the cache. | saumishr | closed | [
"oncall: distributed",
"fb-exported",
"Merged",
"ciflow/trunk",
"release notes: distributed (checkpoint)",
"oncall: distributed checkpointing"
] | 10 | CONTRIBUTOR | Summary: Save Plan Caching: Fix the missing all_plans update in the cache.
Test Plan:
```
buck2 test //aiplatform/modelstore/experimental/integration_tests/tests/nosan:checkpoint_dist_save_load_test
```
https://www.internalfb.com/intern/testinfra/testrun/17451448626323264
Reviewed By: MeetVadakkanchery
Differential... | true |
2,898,022,193 | [Easy/Profiler] Add last entry to truncated values | sraikund16 | closed | [
"enhancement",
"fb-exported",
"Merged",
"ciflow/trunk",
"release notes: profiler"
] | 6 | CONTRIBUTOR | Summary: Since the ranks of a PG are usually in a consecutive range it is useful to print the last values when truncating metadata
Test Plan:
Manually changed truncate length to 2 and ran 4 gpu graph to get the following trace:
https://www.internalfb.com/intern/perfdoctor/trace_view?filepath=tree/traces/dynocli/devgpu... | true |
2,897,946,847 | [BE] Relax sympy dependency to 1.13.3 or newer | malfet | closed | [
"Merged",
"ciflow/trunk",
"release notes: releng",
"topic: improvements",
"topic: not user facing"
] | 3 | CONTRIBUTOR | Fixes https://github.com/pytorch/pytorch/issues/145225
| true |
2,897,931,924 | [Inductor][Triton] Fix test_autotune_inplace_kernel to work with newer Triton version | PaulZhang12 | closed | [
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 4 | CONTRIBUTOR | For new Triton version 3.3, constexpr are included as part of the signature. Update failing test to reflect this change, additional context in https://github.com/pytorch/pytorch/pull/145051.
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @... | true |
2,897,929,892 | Re-enable test_torchinductor:test_buffer_batch_norm | masnesral | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148573
Summary: Per https://github.com/pytorch/pytorch/issues/128198 seems like this is working now
Fixes #128198
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx... | true |
2,897,914,098 | AOTI takes very long time to compile (1:40 hours) | tugsbayasgalan | open | [
"oncall: pt2",
"export-triage-review",
"oncall: export",
"module: aotinductor"
] | 1 | CONTRIBUTOR | ### 🐛 Describe the bug
```python
import requests
import torch
from PIL import Image
from transformers import BlipForQuestionAnswering, BlipProcessor
processor = BlipProcessor.from_pretrained("Salesforce/blip-vqa-base")
model = BlipForQuestionAnswering.from_pretrained("Salesforce/blip-vqa-base").to("cuda")
img_url ... | true |
2,897,911,568 | [c10d] Move record param for init to the right place | fduwjj | closed | [
"oncall: distributed",
"Merged",
"ciflow/trunk",
"release notes: distributed (c10d)"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148571
The place we do the log of init does not look correct. We move it to the beginning of comm init.
cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @wz337 @wconstab @d4l3k @c-p-i-o | true |
2,897,866,046 | [dynamo] ctx_manager.py: replace unimplemented with unimplemented_v2 | zou3519 | closed | [
"Merged",
"ciflow/trunk",
"module: dynamo",
"ciflow/inductor",
"release notes: dynamo"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148570
* #148454
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,897,865,112 | [BE][pytree] cleanup parameterized pytree tests | XuehaiPan | open | [
"open source",
"topic: not user facing",
"module: pytree",
"module: dynamo",
"ciflow/inductor"
] | 4 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #138214
* #113258
* __->__ #148569
Changes:
1. Rename import `py_pytree` -> `python_pytree`. We will add a new test for `generic_pytree` in a follow-up PR after #137400
2. Reuse the parametrize test marker:
```python
parametrize_pyt... | true |
2,897,863,560 | Suggested fixes sometimes not enough in export | tugsbayasgalan | open | [
"triaged",
"oncall: pt2",
"oncall: export"
] | 2 | CONTRIBUTOR | ### 🐛 Describe the bug
```python
import requests
import torch
from PIL import Image
from transformers import BlipForQuestionAnswering, BlipProcessor
processor = BlipProcessor.from_pretrained("Salesforce/blip-vqa-base")
model = BlipForQuestionAnswering.from_pretrained("Salesforce/blip-vqa-base").to("cuda")
img_ur... | true |
2,897,826,278 | tc | clee2000 | closed | [
"topic: not user facing"
] | 1 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148567
* #148566
| true |
2,897,826,108 | [no ci] | clee2000 | closed | [
"topic: not user facing"
] | 1 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #148567
* __->__ #148566
| true |
2,897,799,274 | [MTIA] Use "ieee" instead of "tf32" for MTIA's default precision in FlexAttention | PatriceVignola | closed | [
"fb-exported",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 7 | CONTRIBUTOR | Summary: MTIA supports ieee but not tf32, so we set the default precision of MTIA to ieee similar to how it's done for AMD.
Test Plan: CI
Reviewed By: mortzur
Differential Revision: D70072064
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @i... | true |
2,897,798,818 | [Feature Request] Dynamic shapes API requires spec for all arguments. | tugsbayasgalan | open | [
"feature",
"triaged",
"oncall: pt2",
"module: dynamic shapes"
] | 0 | CONTRIBUTOR | ### 🐛 Describe the bug
```python
import torch
class DummyModel(torch.nn.Module):
def __init__(self):
super().__init__()
self.a = torch.ones(4, 4)
def forward(self, start, end):
return start.sum() + end.sum()
f = DummyModel()
kwargs = {"start": torch.ones(4, 4), "end": torch.ones(... | true |
2,897,784,561 | [ROCm][Windows] Enable hipblaslt for Windows | m-gallus | closed | [
"module: rocm",
"triaged",
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"ciflow/rocm"
] | 6 | CONTRIBUTOR | This PR adds hipblaslt library as one of the Windows' dependencies. `rocBLAS` is added too, since certain symbols aren't detected with `hipblas` alone on Windows.
cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang @naromero77amd | true |
2,897,780,719 | [ROCm] add gfx12 to nightly wheels | alugorey | closed | [
"module: rocm",
"open source",
"Merged",
"ciflow/binaries",
"topic: not user facing"
] | 4 | CONTRIBUTOR | Adds gfx1200 and gfx1201 to PYTORCH_ROCM_ARCH for wheels and libtorch.
cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang @naromero77amd | true |
2,897,754,286 | [RFC] First version of statically compiled launcher for triton compiled CUDA kernels | jamesjwu | closed | [
"fb-exported",
"Merged",
"Reverted",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor",
"ci-no-td"
] | 57 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148561
Putting this up for a first pass review, though I will likely make a bunch of changes before landing to add more features, etc.
This diff implements a first version of a static CUDA kernel launcher in `torch._C`. The goa... | true |
2,897,748,486 | [ROCm][Windows] Fix ROCm/HIP version header | m-gallus | closed | [
"module: rocm",
"triaged",
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"ciflow/rocm"
] | 4 | CONTRIBUTOR | On Windows, ROCm libraries do not have a `<rocm-core/rocm_version.h>` header, which causes the compilation to fail. This PR resolves this problem by utilising `<hip/hip_version.h>` from HIP SDK.
cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang @naromero77amd | true |
2,897,737,223 | [BE] Remove `onlyCPU` decorator from test_local_scalar_dense | malfet | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"ciflow/mps"
] | 9 | CONTRIBUTOR | Followup from https://github.com/pytorch/pytorch/pull/145717, not sure why author thinks those tests should be limited to one architecture.
And fixed similar crashes for CUDA and MPS
| true |
2,897,693,863 | DISABLED test_internal_nonlocal_dynamic_shapes (__main__.DynamicShapesHigherOrderOpTests) | pytorch-bot[bot] | closed | [
"triaged",
"module: flaky-tests",
"skipped",
"oncall: pt2",
"module: dynamo"
] | 6 | NONE | Platforms: asan, linux, rocm, mac, macos
This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_internal_nonlocal_dynamic_shapes&suite=DynamicShapesHigherOrderOpTests&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch... | true |
2,897,679,351 | AOTI is OOM-ing when eager doesn't | tugsbayasgalan | open | [
"oncall: pt2",
"export-triage-review",
"oncall: export",
"module: aotinductor"
] | 1 | CONTRIBUTOR | ### 🐛 Describe the bug
Repro instruction:
1. git clone https://github.com/zhxchen17/torchnative/blob/main/wip/flux_aoti.py
2. install flux
3. python flux_aoti.py (This will output a python command to run)
4. Modify https://github.com/zhxchen17/torchnative/blob/main/wip/flux_test.py#L56 to 4096 and 4096.
cc: @des... | true |
2,897,602,379 | [WIP] First version of StaticCudaLauncher | jamesjwu | closed | [
"fb-exported",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 2 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148556
Putting this up for a first pass review, though I will likely make a bunch of changes before landing to add more features, etc.
This diff implements a first version of a static CUDA kernel launcher in `torch._C`. The goal her... | true |
2,897,456,274 | [custom_ops][perf] Move expensive pytree traversals of tensors to C++ | IvanKobzarev | closed | [
"Merged",
"Reverted",
"ciflow/trunk",
"topic: not user facing",
"ci-no-td"
] | 11 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148555
(benchmark for 1 call)
Before:
```
└─ $ python ~/task_custom_ops_perf/test_custom_ops_perf_repro.py
DO_BENCH mutate: 77.72445678710938 us PROFILE:/home/ivankobzarev/task_custom_ops_perf/mutate.json
DO_BENCH no_mutate: ... | true |
2,897,446,332 | [BE] format `test/inductor/s429861_repro.py` | XuehaiPan | closed | [
"open source",
"better-engineering",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"skip-pr-sanity-checks",
"module: inductor",
"ciflow/inductor"
] | 9 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #144556
* #148186
* __->__ #148554
Split from #148186
The diff can be re-generated with the following code in the repo root directory on main branch:
```python
import re
from pathlib import Path
def replace(m: re.Match) -> ... | true |
2,897,329,063 | remove TORCH_NCCL_AVOID_RECORD_STREAMS,use stashed_for_allocator_safety_ to save the input ref | taozhiwei | closed | [
"oncall: distributed",
"triaged",
"open source",
"release notes: distributed (c10d)"
] | 4 | CONTRIBUTOR | Thoroughly solve the following problems: [https://discuss.pytorch.org/t/cuda-allocation-lifetime-for-inputs-to-distributed-all-reduce/191573](https://discuss.pytorch.org/t/cuda-allocation-lifetime-for-inputs-to-distributed-all-reduce/191573)
`recordStream` can cause additional performance loss and result in memory no... | true |
2,897,258,704 | Return type annotation of `Tensor.long()` etc is not narrowed down to dtype-specific names `LongTensor` etc | lkct | open | [
"module: typing",
"triaged"
] | 0 | CONTRIBUTOR | ### 🐛 Describe the bug
Sometimes when we want dtype-specific typing for `Tensor`, e.g. `LongTensor`, the conversion from `Tensor.long()` (and similar methods) still returns `Tensor`, so the following code fails mypy.
```python
from torch import LongTensor, Tensor
def foo(x: Tensor) -> LongTensor:
return x.long(... | true |
2,897,235,029 | Issue with torch.compile | 1peng | closed | [
"triaged",
"oncall: pt2",
"module: inductor"
] | 8 | NONE | ### 🐛 Describe the bug
When using fish-speech, if I compile and run, I get the error.
### Error logs
/home/eason/anaconda3/envs/fish-speech/lib/python3.10/contextlib.py:103: FutureWarning: `torch.backends.cuda.sdp_kernel()` is deprecated. In the future, this context manager will be removed. Please see `torch.nn.at... | true |
2,897,219,901 | Name 'equal_valued' cannot be imported in pytorch 2.5.0 | ByulEEEEE | closed | [] | 1 | NONE | ### 🐛 Describe the bug
Name 'equal_valued' cannot be imported in pytorch 2.5.0, which can be imported in version 1.13 and 2.5.1.
Traceback (most recent call last):
File "D:\PycharmProjects\pythonProject2\test.py", line 4, in <module>
from sympy.core.numbers import equal_valued
ImportError: cannot import name '... | true |
2,897,218,480 | Name 'equal_valued' cannot be imported in pytorch 2.5.0 | ByulEEEEE | open | [
"triaged",
"oncall: pt2",
"module: dynamic shapes"
] | 0 | NONE | ### 🐛 Describe the bug
Name 'equal_valued' cannot be imported in pytorch 2.5.0, which can be imported in version 1.13 and 2.5.1.
Traceback (most recent call last):
File "D:\PycharmProjects\pythonProject2\test.py", line 4, in <module>
from sympy.core.numbers import equal_valued
ImportError: cannot import name '... | true |
2,897,196,745 | Issue with Sparse Tensor Matrix Multiplication and Broadcasting | pigu163 | open | [
"module: sparse",
"triaged"
] | 0 | NONE | ### 🐛 Describe the bug
I’m encountering a NotImplementedError when trying to perform matrix multiplication with sparse COO tensors that involves broadcasting. Here’s a minimal reproducible example:
`x = torch.matmul(torch.rand(327, 36).to_sparse_coo(),torch.rand(1, 36, 1))
torch.matmul(torch.rand(2000, 327).to_spars... | true |
2,897,131,481 | The operator 'aten::_linalg_solve_ex.result' is not currently implemented for the MPS device | tuwenbo0120 | closed | [
"triaged",
"module: linear algebra",
"module: mps"
] | 2 | NONE | ### 🚀 The feature, motivation and pitch
Subject: Missing Operator Support for MPS in PyTorch
Dear PyTorch Development Team,
I am writing to bring to your attention an issue I encountered while using PyTorch with the MPS device on my macOS system.
When running my code, I received the following error message: "The oper... | true |
2,897,095,074 | Pytorch nightly broken Flash Attention 3 compile with sycl commit - TypeError: _write_ninja_file() got an unexpected keyword argument 'sycl_cflags' | FurkanGozukara | open | [
"module: build",
"triaged"
] | 4 | NONE | Here more information
`torch.__version__ = 2.7.0.dev20250228+cu128`
https://github.com/Dao-AILab/flash-attention/issues/1524
https://github.com/Dao-AILab/flash-attention/issues/1524#issuecomment-2699309947
Original error was below one. Then authors did some commits and now I get below error of that one
previous e... | true |
2,896,838,470 | F.scaled_dot_product_attention calculation output is nan when in dynamic dim under torch.compile mode | HiIcy | open | [
"triaged",
"oncall: pt2",
"module: sdpa"
] | 0 | NONE | ### 🐛 Describe the bug
I have the following piece of code, when executing the scaled_dot_product_attention calculation, using torch.compile mode, if the input shape values of two consecutive cases are different, the second case outputs nan values. There is no such issue when using eager mode. any help or analyize, th... | true |
2,896,794,855 | DISABLED test_inlined_functions_dynamic_shapes (__main__.DynamicShapesHigherOrderOpTests) | pytorch-bot[bot] | closed | [
"triaged",
"module: flaky-tests",
"skipped",
"oncall: pt2",
"module: dynamo"
] | 6 | NONE | Platforms: asan, linux, rocm, mac, macos
This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_inlined_functions_dynamic_shapes&suite=DynamicShapesHigherOrderOpTests&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch... | true |
2,896,697,376 | When Ues torch::jit::Module in UE env, there are some structured exception caused by calling module.forward() | rjzhou06 | open | [
"oncall: jit"
] | 0 | NONE | ### 🐛 Describe the bug
it only causes on UE env, when i running the same case on independent cxx project,no error or exception.

```
// © 2023 Kaya Adrian.
#include "Layers/Network/AtumNeuralNetworkJit.h"
#include "FunctionLi... | true |
2,896,694,432 | Enable Direct Use of Arm Compute Library (ACL) in ATen | fadara01 | closed | [
"module: cpu",
"triaged",
"open source",
"module: arm",
"topic: not user facing",
"ciflow/linux-aarch64",
"arm priority"
] | 7 | COLLABORATOR | ACL is already built with PyTorch as a shared library when USE_MKLDNN_ACL is set.
Currently, it is only used indirectly in ATen via oneDNN for AArch64 targets. However there are cases where it makes sense to utilize ACL directly without oneDNN as an intermediary - e.g. quantization. See #145942, #147337, #146620.
... | true |
2,896,667,516 | [triton 3.3] inductor/test_torchinductor_opinfo.py::TestInductorOpInfoCUDA::test_comprehensive_floor_divide_cuda_float16 | davidberard98 | closed | [
"oncall: pt2"
] | 3 | CONTRIBUTOR | ### 🐛 Describe the bug
```
PYTORCH_TEST_WITH_INDUCTOR=1 python inductor/test_torchinductor_opinfo.py -k test_comprehensive_floor_divide_cuda_float16
```
From https://hud.pytorch.org/pr/pytorch/pytorch/148492#38210074518
### Versions
https://github.com/pytorch/pytorch/pull/148492
cc @chauhang @penguinwu | true |
2,896,663,736 | [triton 3.3] inductor/test_aot_inductor.py::AOTInductorTestABICompatibleGpu::test_none_args_aot_codegen_cuda | davidberard98 | closed | [
"oncall: pt2"
] | 3 | CONTRIBUTOR | ### 🐛 Describe the bug
from https://github.com/pytorch/pytorch/pull/148492
### Versions
```PYTORCH_TEST_WITH_INDUCTOR=1 python inductor/test_aot_inductor.py -k test_none_args_aot_codegen_cuda```
https://hud.pytorch.org/pr/pytorch/pytorch/148492#38210074518
cc @chauhang @penguinwu | true |
2,896,611,452 | exported modules using custom autograd functions will ignore custom backward function | Gajoo | closed | [
"module: autograd",
"triaged",
"oncall: pt2",
"export-triaged",
"oncall: export"
] | 2 | NONE | ### 🐛 Describe the bug
I was experimenting with a gradient function that is not mathematically accurate and for a while I thought it was doing great until I this issue. Simply speaking if a model is exported, it only considers the forward implementation of the custom function and computes automatically from the forwa... | true |
2,896,572,096 | [Break XPU] Add test/kernel.errors.txt to .gitignore. | etaf | closed | [
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 3 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #148323
* #147727
* __->__ #148538
* #148534
Intel GPU user mode driver may generate kernel.errors.txt files in
current working directory in certain scenarios. It includes diagnostic
information but does necessarily indicates the issue with ... | true |
2,896,557,998 | [dtensor] add CuDNN SDPA op support to DTensor | XilunWu | closed | [
"oncall: distributed",
"Merged",
"ciflow/trunk",
"ciflow/inductor",
"release notes: distributed (dtensor)",
"module: context parallel",
"release notes: context parallel"
] | 6 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148537
### Summary
This PR adds `_scaled_dot_product_cudnn_attention` and `_scaled_dot_product_cudnn_attention_backward` to DTensor ops
### Test
`pytest test/distributed/tensor/test_attention.py`
cc @H-Huang @awgu @kwen2501 ... | true |
2,896,537,403 | Computing only the n first rows of a distance matrix with pdist | cyrilmory | open | [
"triaged",
"enhancement",
"module: python frontend"
] | 1 | NONE | ### 🚀 The feature, motivation and pitch
Would it be possible to add an argument to pdist, so that it computes and returns only the n first rows of the upper triangular distance matrix ?
This need arises when trying to determine whether a set of points are within a certain distance D of each other. If the dataset is ... | true |
2,896,512,830 | [inductor][cpu]speech_transformer failure in 2025-03-02 nightly release | LifengWang | closed | [
"oncall: pt2",
"oncall: cpu inductor"
] | 3 | CONTRIBUTOR | ### 🐛 Describe the bug
speech_transformer failure
the bad commit: ce2f680e0009550ef0dc594f375d542662fcb7e5
the suspected guilty commit: 276dfe8150f228496e65b29c626a38eb1ef1dcde
[torchbench-speech_transformer-inference-float32-dynamic-default-single-performance-crash_guilty_commit.log](https://inteltf-jenk.sh.intel.c... | true |
2,896,343,273 | [Break XPU][Inductor UT] Generalize device-bias code introduced by #146866. | etaf | closed | [
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 3 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #148323
* #147727
* #148538
* __->__ #148534
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov | true |
2,896,205,375 | Skip buffer in dense update | zoranzhao | closed | [
"fb-exported",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"ciflow/inductor"
] | 17 | MEMBER | Summary:
as title.
PyTorch Module buffer will not be published in delta publishing. In Quinn's previous diff, constant type annotations have been introduced.
In addition to skip constant, we also need to skip buffer if it is not found in the user-provided delta weights list
Test Plan: https://docs.google.com/docume... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.