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,880,282,003 | [test][do not merge]Upgrade oneDNN to v3.7(11) | yanbing-j | closed | [
"module: mkldnn",
"open source",
"module: arm",
"ciflow/trunk",
"topic: not user facing",
"intel",
"module: inductor",
"ciflow/inductor",
"ciflow/xpu",
"ciflow/linux-aarch64"
] | 1 | COLLABORATOR | Fixes #ISSUE_NUMBER
cc @gujinghui @PenghuiCheng @XiaobingSuper @jianyuh @jgong5 @mingfeima @sanchitintel @ashokei @jingxu10 @min-jean-cho @Guobing-Chen @Xia-Weiwen @snadampal @malfet @milpuz01 @voznesenskym @penguinwu @EikanWang @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8... | true |
2,880,281,292 | [test][do not merge]Upgrade oneDNN to v3.7 (10) | yanbing-j | closed | [
"module: mkldnn",
"open source",
"module: arm",
"ciflow/trunk",
"topic: not user facing",
"intel",
"module: inductor",
"ciflow/inductor",
"ciflow/xpu",
"ciflow/linux-aarch64"
] | 1 | COLLABORATOR | Fixes #ISSUE_NUMBER
cc @gujinghui @PenghuiCheng @XiaobingSuper @jianyuh @jgong5 @mingfeima @sanchitintel @ashokei @jingxu10 @min-jean-cho @Guobing-Chen @Xia-Weiwen @snadampal @malfet @milpuz01 @voznesenskym @penguinwu @EikanWang @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8... | true |
2,880,280,519 | [test][do not merge]Upgrade oneDNN to v3.7 (9) | yanbing-j | closed | [
"module: mkldnn",
"open source",
"module: arm",
"ciflow/trunk",
"topic: not user facing",
"intel",
"module: inductor",
"ciflow/inductor",
"ciflow/xpu",
"ciflow/linux-aarch64"
] | 1 | COLLABORATOR | Fixes #ISSUE_NUMBER
cc @gujinghui @PenghuiCheng @XiaobingSuper @jianyuh @jgong5 @mingfeima @sanchitintel @ashokei @jingxu10 @min-jean-cho @Guobing-Chen @Xia-Weiwen @snadampal @malfet @milpuz01 @voznesenskym @penguinwu @EikanWang @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8... | true |
2,880,279,748 | [test][do not merge]Upgrade oneDNN to v3.7 (8) | yanbing-j | closed | [
"module: mkldnn",
"open source",
"module: arm",
"ciflow/trunk",
"topic: not user facing",
"intel",
"module: inductor",
"ciflow/inductor",
"ciflow/xpu",
"ciflow/linux-aarch64"
] | 1 | COLLABORATOR | Fixes #ISSUE_NUMBER
cc @gujinghui @PenghuiCheng @XiaobingSuper @jianyuh @jgong5 @mingfeima @sanchitintel @ashokei @jingxu10 @min-jean-cho @Guobing-Chen @Xia-Weiwen @snadampal @malfet @milpuz01 @voznesenskym @penguinwu @EikanWang @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8... | true |
2,880,278,648 | [test][do not merge] Upgrade oneDNN to v3.7 (7) | yanbing-j | closed | [
"module: mkldnn",
"open source",
"module: arm",
"ciflow/trunk",
"topic: not user facing",
"intel",
"module: inductor",
"ciflow/inductor",
"ciflow/xpu",
"ciflow/linux-aarch64"
] | 1 | COLLABORATOR | Fixes #ISSUE_NUMBER
cc @gujinghui @PenghuiCheng @XiaobingSuper @jianyuh @jgong5 @mingfeima @sanchitintel @ashokei @jingxu10 @min-jean-cho @Guobing-Chen @Xia-Weiwen @snadampal @malfet @milpuz01 @voznesenskym @penguinwu @EikanWang @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8... | true |
2,880,277,849 | test 0-dim squeeze in basic.TestSqueeze | redwrasse | closed | [
"triaged",
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 11 | CONTRIBUTOR | Replace TODO with 0-dim squeeze, checks scalar is unchanged in `basic.TestSqueeze`
| true |
2,880,268,097 | Custom ops support arbitrary input types by migrating to python dispatcher | yanboliang | open | [
"triaged",
"open source",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor"
] | 1 | CONTRIBUTOR | Test case:
```
@torch.library.custom_op("mylib::foo", mutates_args=())
def foo(d: dict, t: torch.Tensor) -> torch.Tensor:
return torch.sin(d["x"] - d["y"] + t)
@foo.register_fake
def _(d: dict, t: torch.Tensor) -> torch.Tensor:
return torch.empty_like(d["x"])
d = {"x": torch.randn(2, 3, requires_g... | true |
2,880,231,009 | [Intel GPU] Decompule Intel GPU oneDNN from other backends | ZhiweiYan-96 | closed | [
"triaged",
"module: mkldnn",
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"ciflow/xpu",
"ciflow/linux-aarch64"
] | 6 | COLLABORATOR | # Motivation
Currently, Intel GPU is moving forward rapidly with the development of feature. We(Intel GPU) want an independent version control over oneDNN component so as to quickly adopt the optimization or bug fixing provided by oneDNN team.
This PR does not change the behaviors of other backends like Intel CPU,... | true |
2,880,134,335 | Fix auto_functionalize x inference_mode | zou3519 | closed | [
"Merged",
"ciflow/trunk",
"release notes: composability",
"module: inductor",
"ciflow/inductor"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #147925
Fixes #147924
We were using the wrong FunctionalTensorMode to construct
FunctionalTensors. FunctionalTensors modify the FunctionalTensorMode on
construction, so that led to the wrong FunctionalTensorMode being
modified. This ... | true |
2,880,087,911 | [functionalization] inference_mode_base wrong with auto_functionalization | zou3519 | closed | [] | 0 | CONTRIBUTOR | auto_functionalization creates FunctionalTensor whose modes are fresh modes: https://github.com/pytorch/pytorch/blob/f211818bc0d1c8de39c1ef8071c4ff865989e40b/torch/_subclasses/functional_tensor.py#L463-L465
However, constructing a FunctionalTensor mutates the mode object (https://github.com/pytorch/pytorch/blob/f21181... | true |
2,880,084,940 | [inductor] Add logs for precompile and autotuning | henrylhtsang | closed | [
"fb-exported",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 4 | CONTRIBUTOR | Differential Revision: D70222645
I want to add more logs around precompile, especially around the reason why sometimes it gets fast returned. See https://github.com/pytorch/pytorch/pull/147590
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx ... | true |
2,880,029,343 | [cutlass backend] turn autotuning logs off by default + rename log to autotuning log | henrylhtsang | 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):
* __->__ #147922
things we did:
* turn off autotuning logs by default
* rename autotuning logs from log to autotuning_log, so people are aware that it is a special artifact log.
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobi... | true |
2,880,022,894 | Adam doesn't work with nonzero-dim Tensor betas | Tony-Y | open | [
"module: optimizer",
"triaged"
] | 0 | CONTRIBUTOR | ### 🐛 Describe the bug
This bug was pointed out at https://github.com/pytorch/pytorch/issues/145461#issuecomment-2612287681. The PR #145674 fixed the Tensor `lr` issue, but not the Tensor `betas` issue.
### Versions
The same as #145461
cc @vincentqb @jbschlosser @albanD @janeyx99 @crcrpar | true |
2,880,022,885 | Remove binaries/benchmark_args.h | cyyever | closed | [
"open source",
"Merged",
"ciflow/binaries",
"ciflow/trunk",
"topic: not user facing"
] | 7 | COLLABORATOR | It's not used in OSS. | true |
2,880,011,647 | [inductor][cpu]AOT inductor AMP static shape default wrapper occupied almost 3x disk than before | zxd1997066 | open | [
"oncall: pt2",
"oncall: cpu inductor"
] | 6 | CONTRIBUTOR | ### 🐛 Describe the bug
Take resnet50 as example,
the bad commit: 0e1675a89bcc00c3615048947b5ef6c0355765d3
```
/workspace/pytorch# bash inductor_single_run.sh multiple inference performance torchbench resnet50 amp first static default 0 aot_inductor
Testing with aot_inductor.
multi-threads testing....
loading model: ... | true |
2,879,999,477 | [FlexAttention] Fix IMA bug | drisspg | closed | [
"high priority",
"module: nn",
"Merged",
"ciflow/trunk",
"release notes: nn",
"bug",
"module: inductor",
"ciflow/inductor"
] | 6 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #147918
# Summary
Fixes: https://github.com/pytorch/pytorch/issues/147268
I got this right for the backwards and somehow forgot to do the flip in the forward, not sure how this wasnt found earlier..
Testing IMAs is tuff in p... | true |
2,879,961,700 | [Don't merge]Upgrade submodule oneDNN to v3.7 (#147498)(Zi) | xuhancn | open | [
"module: mkldnn",
"open source",
"Stale",
"ciflow/binaries",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor",
"ci-no-td",
"ciflow/linux-aarch64"
] | 5 | COLLABORATOR | This PR is to upgrade submodule oneDNN to v3.7.
## Improvements
- Improved performance of convolution and matmul primitives on Intel Xeon processors with Intel AMX instruction set support (formerly Sapphire Rapids and Granite Rapids).
- Improved performance of int8 and fp32 forward convolution primitive on proce... | true |
2,879,934,245 | [Draft] Enable cpu_offload for _distribute_state_dict | mori360 | open | [
"oncall: distributed",
"Stale",
"release notes: distributed (checkpoint)"
] | 2 | CONTRIBUTOR | Fixes #ISSUE_NUMBER
cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @LucasLLC @MeetVadakkanchery @mhorowitz @pradeepfn @ekr0 | true |
2,879,930,417 | [aot] reset aot counter on torch._dynamo.reset | xmfan | open | [
"Stale",
"module: dynamo",
"ciflow/inductor",
"release notes: AO frontend"
] | 2 | MEMBER | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #147915
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,879,916,580 | [MPS] Introduce a shader for `entr()`. | dcci | closed | [
"Merged",
"topic: not user facing",
"module: mps",
"ciflow/mps",
"module: inductor"
] | 4 | MEMBER | To be used in eager/inductor in order to implement the missing operation.
cc @kulinseth @albanD @malfet @DenisVieriu97 @jhavukainen @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhu... | true |
2,879,899,362 | [dynamo] Replace `unimplemented` with `unimplemented_v2` | williamwen42 | open | [
"triaged",
"oncall: pt2",
"module: dynamo",
"module: compile ux"
] | 0 | MEMBER | Tracking issue convert all `unimplemented` calls to `unimplemented_v2`.
List of files that need conversion (tag yourself/comment to claim):
- [x] torch/_dynamo/codegen.py @zeshengzong
- [x] torch/_dynamo/variables/base.py @shink
- [x] torch/_dynamo/variables/builder.py @williamwen42 https://github.com/pytorch/pytor... | true |
2,879,881,072 | [dynamo] update data-dependent branching graph break messages | williamwen42 | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor",
"module: compile ux"
] | 3 | MEMBER | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #147912
* #147872
* #147494
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,879,865,679 | DISABLED test_inductor_reduce_scatter_tensor_single (__main__.CompileTest) | pytorch-bot[bot] | open | [
"triaged",
"module: flaky-tests",
"skipped",
"module: c10d",
"oncall: pt2"
] | 16 | NONE | Platforms: inductor, rocm, linux
This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_inductor_reduce_scatter_tensor_single&suite=CompileTest&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/37814537658).
... | true |
2,879,860,303 | [DONOTLAND] Fix partial + scalar issue | wz337 | open | [
"oncall: distributed",
"Stale",
"ciflow/trunk",
"topic: not user facing",
"ciflow/inductor",
"module: dtensor"
] | 3 | CONTRIBUTOR | Fixes #ISSUE_NUMBER
cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wconstab @d4l3k @c-p-i-o @tianyu-l @XilunWu | true |
2,879,859,281 | Exporting onnx model to a buffer causes "TypeError: expected str, bytes or os.PathLike object, not BytesIO" | liqunfu | closed | [
"module: onnx",
"triaged"
] | 2 | COLLABORATOR | ### 🐛 Describe the bug
torch.onnx.export cannot take io buffer as input when external_data is True. The repo code with some modification is from https://github.com/Project-MONAI/MONAI/blob/a09c1f08461cec3d2131fde3939ef38c3c4ad5fc/monai/networks/utils.py#L692.
when running this code:
```python
f = io.BytesIO(... | true |
2,879,832,853 | [PT2][Optimus][Opportunity Finder][1/n] Add opportunity finder in the inductor for GEMM horizonal fusion search | mengluy0125 | open | [
"fb-exported",
"Stale",
"module: inductor",
"ciflow/inductor",
"release notes: inductor"
] | 6 | CONTRIBUTOR | Summary: As titled
Test Plan:
### How to enable
Patch the following config
```
torch._inductor.config.optimus_opportunity_finder = True
```
### local reproduce
```
buck2 run mode/opt aps_models/ads/ecosystem/tooling/tools/efficient_module_suite/benchmark:omnifm_perf_benchmark -- benchmark-with-prod-model --prod_con... | true |
2,879,823,914 | Increase reference count of state tensor in `THPGenerator_reduce` to avoid premature garbage collection in `multiprocessing` start method `"forkserver"` and `"spawn"` | ringohoffman | open | [
"triaged",
"module: random",
"open source",
"release notes: cpp"
] | 5 | CONTRIBUTOR | Fixes #146828
For this script:
```python
from __future__ import annotations
import time
import torch
def worker(generator: torch.Generator):
print(generator.get_state())
if __name__ == '__main__':
torch.multiprocessing.set_start_method("forkserver") # or "spawn"
generator = torch.Ge... | true |
2,879,805,468 | scriptfunction: Make sure we have valid __name__ and __qualname__ | c00w | closed | [
"oncall: jit",
"Merged",
"ciflow/trunk",
"release notes: jit",
"topic: not user facing"
] | 12 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #147906
* #147894
It's not fully clear why these are not being created, but you can definitely
reproduce this in code. `__name__` is fun, since there appears to be no way to
explicitly set it on the pybind11 layer or c+... | true |
2,879,797,609 | [BE][EZ] Delete MacOS-12.3 xfail list | malfet | closed | [
"Merged",
"topic: not user facing",
"ciflow/mps"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #147893
* __->__ #147905
* #147892
As PyTorch requires at least MacOS-13 (and Metal-3) to work, delete any pre-MacoS13 checks from test script | true |
2,879,787,709 | [ROCm] Enable mi300-specific workflows to be triggered on PRs | jithunnair-amd | closed | [
"module: rocm",
"triaged",
"open source",
"Merged",
"topic: not user facing",
"ciflow/rocm",
"ciflow/inductor-rocm",
"ciflow/rocm-mi300",
"ciflow/inductor-perf-test-nightly-rocm"
] | 8 | COLLABORATOR | This change will be needed to be able to trigger the MI300-specific CI workflows on PRs by using a PR label.
* inductor-rocm-mi300.yml uses the existing `ciflow/inductor-rocm` label so that any PR manually labeled as such will trigger `inductor` config runs on both MI200 and MI300.
* rocm-mi300.yml uses a separate ... | true |
2,879,782,338 | Remerge of #144974 | wdvr | open | [
"Stale",
"release notes: cuda",
"module: dynamo",
"ciflow/inductor"
] | 2 | CONTRIBUTOR | Had to be reverted due to an older PR that needed to be backed out.
This is the re-merge PR for #144974. branch was deleted - need to recreate the PR
@lw feel free to approve / merge this one, or fix up your original one if you can restore gh/lw/5/base
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-... | true |
2,879,768,179 | [CP] Use TorchFunctionMode to dispatch SDPA for CP | fegin | closed | [
"oncall: distributed",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"ciflow/inductor"
] | 4 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #147902
While we prefer not use monkey patching to dispatch SDPA, TorchFunctionMode is currently not compatible with selective activation checkpointing (https://github.com/pytorch/pytorch/issues/147995). This PR adds `TorchFunctionMo... | true |
2,879,750,862 | [cutlass backend] force_disable_caches for test_number_mm_precompiles | henrylhtsang | closed | [
"fb-exported",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 4 | CONTRIBUTOR | Summary: Test is flaky right now.
Differential Revision: D70209511
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov | true |
2,879,742,513 | [ROCm][TunableOp] Remove extra transpose characters in hipBLASLt signature. | naromero77amd | closed | [
"module: rocm",
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"ciflow/rocm"
] | 3 | COLLABORATOR | Cleanup the TunableOp hipBLASLt signature of extra transpose characters.
Test manually and no new regressions found.
cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang | true |
2,879,737,011 | Change persistent reduction threshold to 32 | PaulZhang12 | open | [
"Stale",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 6 | CONTRIBUTOR | Summary:
Increasing threshold for inductor multikernel flag from 16->32 can lead to significant performance gain. This change is safe as TORCHINDUCTOR_MULTI_KERNEL is disabled by defaul
Example benchmark:
````
import torch
import torch.nn.functional as F
from triton.testing import do_bench
from torch._induct... | true |
2,879,729,786 | [PT2] Allow tensor type in allowed_getattr_types_for_subgm when verifiying ep | adeaa0332 | open | [
"fb-exported",
"release notes: export"
] | 10 | NONE | Summary:
Noticed this when converting a graph with the following format
EP(
non_lowerable_part: (....)
AOTI_HOP(non_lowerable_inputs)
)
You will get the following error
```
raise SpecViolationError(
torch._export.verifier.SpecViolationError: Invalid get_attr type <class 'torch.Tensor'>.
Valid get_attr types: (<class... | true |
2,879,717,230 | [targets2buck] Remove tombstone messages proactively | bigfootjon | closed | [
"fb-exported",
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 9 | MEMBER | Summary:
X-link: https://github.com/pytorch/executorch/pull/8703
Originally we created a bunch of empty `TARGETS` files to allow us to enable `BUCK` files in fbcode by hiding the existing BUCK file. These files were subsequently merged together using `non_fbcode_target` so these tombstones are no longer necessary.
Th... | true |
2,879,712,983 | [ONNX] slice complex tensor needs implementation | MilesV64 | closed | [
"module: onnx",
"triaged"
] | 0 | NONE | 🐛 Describe the bug
Torch 2.6.0 shows an error with slice calls to complex tensors.
```
<class 'torch.onnx._internal.exporter._errors.DispatchError'>: No ONNX function found for <OpOverload(op='aten.slice', overload='Tensor')>. Failure message: No decompositions registered for the complex-valued input
⬆️
<class 'torc... | true |
2,879,712,979 | [Inductor-CPU] Fix broken int8 WoQ GEMM AMX implementation in main | sanchitintel | closed | [
"open source",
"Merged",
"ciflow/trunk",
"topic: bug fixes",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 15 | COLLABORATOR | #146843 broke int8 WoQ GEMM's (for BF16 activation) AMX ISA implementation in the main branch.
UT: `python test/inductor/test_cpu_select_algorithm.py -v -k woq`
The issue remained undetected because in case of templated kernel compilation failure, the auto-tuning infra marks its runtime as `inf`, and the op against... | true |
2,879,702,149 | Don't crash when we call __qualname__ on torch._C.ScriptFunction | c00w | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor"
] | 16 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #147906
* __->__ #147894
We've root caused this to correctly throwing attribute error on ScriptFunction
when missing attributes are caused. This PR will fix crashes that are showing
up. I'm going to stack a second PR to fix torch._c.ScriptFu... | true |
2,879,700,327 | [BE] Switch `TestConsistency` to MPS device | malfet | closed | [
"Merged",
"topic: not user facing",
"ciflow/mps"
] | 5 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #147893
Which will eventually allow move decorators away more `common_mps.py`
Adjust tolerances accordingly. XFAIL a bunch of tests on MacOS-13, which is going to be deprecated anyway
| true |
2,879,700,245 | [BE] Switch `index_variable` to `torch.testing.make_tensor` | malfet | closed | [
"Merged",
"ciflow/trunk",
"release notes: python_frontend",
"topic: not user facing",
"ciflow/mps"
] | 2 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #147893
* #147905
* __->__ #147892
As it was a long-time todo and actually ublocks using this function for MPS devices (that do not support double) | true |
2,879,695,691 | [ca] side-effect free initial trace: RAII PyCompilerInterface | xmfan | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor",
"module: compiled autograd"
] | 3 | MEMBER | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #148042
* __->__ #147891
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,879,693,446 | [ROCm] [TunableOp] Unit tests for scaled GEMM and GEMM with bias | naromero77amd | closed | [
"module: rocm",
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"ciflow/rocm"
] | 4 | COLLABORATOR | Two more unit tests for TunableOp:
- Scaled GEMM
- GEMM with bias
cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang | true |
2,879,679,122 | Bitshift with MPS backend | philkr | closed | [
"triaged",
"module: correctness (silent)",
"module: mps"
] | 2 | NONE | ### 🐛 Describe the bug
The bitshift `<<` operation seems broken in the MPS backend
```python
import torch
1 << torch.arange(10, device="mps")
```
returns
```python
tensor([ 0, 2, 4, 6, 8, 10, 12, 14, 16, 18], device='mps:0')
```
Expected result
```python
tensor([ 1, 2, 4, 8, 16, 32, 64, 128, 256, 5... | true |
2,879,623,728 | [logs][qol] Print log options alphabetically | anijain2305 | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #147824
* __->__ #147888
| true |
2,879,621,532 | DISABLED test_inductor_reduce_scatter_tensor_coalesced (__main__.CompileTest) | pytorch-bot[bot] | open | [
"triaged",
"module: flaky-tests",
"skipped",
"module: c10d"
] | 17 | NONE | Platforms: inductor, rocm, linux
This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_inductor_reduce_scatter_tensor_coalesced&suite=CompileTest&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/37797588417).
... | true |
2,879,608,515 | [scan] User-facing reverse flag handling | bohnstingl | closed | [
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: dynamo"
] | 4 | COLLABORATOR | This PR removes the reverse flag from the backend implementation and resolves it via `torch.flip` in the frontend.
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames @ydwu4 | true |
2,879,570,254 | [inductor][ck] kBatch parametrized | coconutruben | closed | [
"module: rocm",
"fb-exported",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 7 | CONTRIBUTOR | Summary:
# Why
Enable us to set the kBatch parameter, rather than bake it in
Especially for larger splitK scenarios, this can yield very good performance (up to 1.5x vs hipblaslt from initial tests)
## Why like this
The obvious question should be: why not add this to the op itself, and maybe even into the template/... | true |
2,879,553,231 | `FxGraphDrawer` fails on `einsum` nodes | f-dangel | open | [
"triaged",
"module: fx"
] | 0 | NONE | ### 🐛 Describe the bug
I am trying to visualize a `torch.fx.GraphModule` using `torch.fx.passes.graph_drawer.FxGraphDrawer`.
If the graph module contains an `einsum` operation, I get a `bad label` error.
Here is an MWE to reproduce the problem:
```python
"""Cannot visualize `einsum` nodes with `torch.fx` graph drawe... | true |
2,879,531,469 | [aotd] Log torch._functorch.config in tlparse | IvanKobzarev | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #147883
Adding torch._functorch.config to tlparse for better debugability.
E.g. https://github.com/pytorch/pytorch/pull/147638 happened only with `torch._functorch.config.view_replay_for_aliased_outputs=False` which is True by def... | true |
2,879,510,591 | [CI] add missing matrix cases for `pytorch-linux-focal-py{3.12,3.13}-clang10` | XuehaiPan | open | [
"open source",
"topic: not user facing"
] | 1 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #147882
These two images are referenced here:
https://github.com/pytorch/pytorch/blob/adf0f4ffd24eac6bf0c49d49c82a2d0e988196c0/.github/workflows/docker-builds.yml#L57-L60
https://github.com/pytorch/pytorch/blob/adf0f4ffd24eac6b... | true |
2,879,381,680 | [export][dynamic shapes] add Dim._OBLIVIOUS, _mark_oblivious() | pianpwk | open | [
"fb-exported",
"Stale",
"ciflow/trunk",
"fx",
"module: dynamo",
"ciflow/inductor",
"release notes: export"
] | 10 | CONTRIBUTOR | Summary: Adds `Dim._OBLIVIOUS` in export dynamic shapes, and `_mark_oblivious()` in dynamo decorators, to support the use of OBLIVIOUS_SIZE.
The semantics are that we allocate what looks like a unbacked symbol, but is technically backed; it contains a hint, the user-intention is just to opt into size-oblivious reaso... | true |
2,879,361,387 | [dynamo] add sourceless builder for `types.MethodType` | XuehaiPan | closed | [
"open source",
"Merged",
"Reverted",
"ciflow/trunk",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor",
"ci-no-td"
] | 16 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #148151
* #113258
* #113257
* __->__ #147880
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,879,317,666 | Flex Attention is incompatible with selective AC | fegin | open | [
"triaged",
"oncall: pt2",
"module: higher order operators",
"module: pt2-dispatcher",
"module: flex attention"
] | 4 | CONTRIBUTOR | ### 🐛 Describe the bug
When using FlexAttention with selective activation checkpointing, we got an error as below
```
traceback : Traceback (most recent call last):
File "/data/users/chienchin/mywork/pytorch/torch/distributed/elastic/multiprocessing/errors/__init__.py", line 354, in wrapper
return f(*arg... | true |
2,879,312,751 | follow up to #147548, fix regression on MI300 | jeffdaily | closed | [
"open source",
"Merged",
"Reverted",
"ciflow/trunk",
"topic: not user facing",
"ci-no-td"
] | 10 | COLLABORATOR | Removing curly braces seemed superficial but broke MI300 rowwise matmul. | true |
2,879,309,575 | [MPS] faster integer batched matmul | Isalia20 | closed | [
"open source",
"Merged",
"ciflow/trunk",
"topic: performance",
"release notes: mps",
"ciflow/mps"
] | 6 | COLLABORATOR | Followup to #147526
Tiled matmul for bmm as well.
## Speed ups:

Script to record times:
```python
import torch
import numpy as np
import time
import csv
batch_sizes = [1, 2, 4, 8]
matrix_sizes = [256, 512, ... | true |
2,879,296,924 | [inductor] Implement max_pool2d_with_indices as a reduction for large window sizes | isuruf | closed | [
"open source",
"Merged",
"ciflow/trunk",
"module: inductor",
"ciflow/inductor",
"release notes: inductor"
] | 9 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #148210
* #148209
* __->__ #147876
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov | true |
2,879,278,235 | roundtrip cast between float32|bfloat16 and e8m0 should work in torchinductor | vkuzo | closed | [
"triaged",
"oncall: pt2",
"module: inductor"
] | 0 | CONTRIBUTOR | ### 🐛 Describe the bug
We should make sure that float32|bfloat16 -> e8m0 and back cast works in torchinductor:
```python
import torch
dtype = torch.float8_e8m0fnu
hp_dtype = torch.float32 # and torch.bfloat16
def foo(x0):
x1 = x0.to(dtype)
... | true |
2,879,268,609 | Does CUDACachingAllocator.cpp still require deferred event creation? | galv | open | [
"module: cuda",
"triaged",
"module: CUDACachingAllocator"
] | 2 | COLLABORATOR | ### 🚀 The feature, motivation and pitch
This commit back in 2017 changed the cuda caching allocator pretty drastically: https://github.com/pytorch/pytorch/commit/07f5b21ef1bd29d1451c616062dcbfc3f8fd7c6a
The previous one had the following semantics:
- The user would call CachingHostAllocator_recordEvent() after eve... | true |
2,879,263,484 | returning tensors of dtype torch.float8_e8m0fnu should work with torchinductor | vkuzo | closed | [
"triaged",
"oncall: pt2",
"module: inductor"
] | 1 | CONTRIBUTOR | ### 🐛 Describe the bug
We should make sure the following works:
```python
import torch
dtype = torch.float8_e8m0fnu
device = "cuda"
def foo(x0):
x1 = x0 + 1
x2 = x1.view(dtype)
return x2
x0 = torch.randint(0, 255, (16, 16), device=device,... | true |
2,879,252,020 | [dynamo] add context manager debug information to graph breaks | williamwen42 | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor",
"module: compile ux"
] | 15 | MEMBER | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #147912
* __->__ #147872
* #147494
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,879,220,295 | [dynamo] Plumb HOP debug info into side_effects | williamwen42 | open | [
"triaged",
"oncall: pt2",
"module: dynamo",
"module: higher order operators",
"module: pt2-dispatcher",
"dynamo-side-effects",
"module: compile ux"
] | 0 | MEMBER | See https://github.com/pytorch/pytorch/pull/147385#discussion_r1967836734
cc @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @amjames @zou3519 @ydwu4 @bdhirsh | true |
2,879,218,232 | [Not4Land] test `optree` with HEAD version | XuehaiPan | closed | [
"open source",
"ciflow/trunk",
"topic: not user facing",
"module: pytree",
"not4land",
"module: dynamo",
"ciflow/inductor",
"keep-going",
"ci-test-showlocals"
] | 2 | COLLABORATOR | cc @zou3519 @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,879,207,520 | [dtensor] refactor sharding prop to handle cross mesh computation | wanchaol | closed | [
"oncall: distributed",
"triaged",
"open source",
"Merged",
"ciflow/trunk",
"ciflow/inductor",
"release notes: distributed (dtensor)"
] | 3 | COLLABORATOR | as titled, this PR moves the same mesh check from the sharding propagation level to each individual operator level.
This is to allow more flexibility for each individual operator to check the operator can be run on the same mesh or not. For example, before this PR if user have two DTensor params that lives on differ... | true |
2,879,130,860 | Track follow ups to #147354 | mikaylagawarecki | open | [
"module: internals",
"triaged"
] | 0 | CONTRIBUTOR | Filing issue to track https://github.com/pytorch/pytorch/pull/147354#pullrequestreview-2631005924
tl;dr inplace `Tensor.set_(storage)` (except for the [meta symint variant](https://github.com/pytorch/pytorch/blob/346bbefa630b58fda5453373e2a3bdcc32236a16/aten/src/ATen/native/TensorShape.cpp#L397) which seems to properl... | true |
2,878,994,133 | [Inductor][Tests] Update `get_divisible_by_16` function in `test_torchinductor.py` to work correctly with new Triton | anmyachev | closed | [
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor"
] | 4 | COLLABORATOR | cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov | true |
2,878,993,657 | Parallelize bf16->f32 conversion for gemm(bf16:bf16->bf16) | aditew01 | closed | [
"module: cpu",
"triaged",
"open source",
"module: arm",
"topic: not user facing"
] | 2 | COLLABORATOR | Improves performance for at::addmm / linear kernels when executed in dtype=bfloat16 and when SBGEMM is available.
cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @malfet @snadampal @milpuz01 | true |
2,878,987,993 | [export] Add support for invoke_subgraph | angelayi | closed | [
"fx",
"module: dynamo",
"ciflow/inductor",
"release notes: export"
] | 1 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #147992
* __->__ #147863
* #147862
cc @ezyang @SherlockNoMad @EikanWang @jgong5 @wenzhe-nrv @voznesenskym @penguinwu @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,878,987,765 | Add some more meta kernels | angelayi | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 6 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #147862
| true |
2,878,922,237 | [Resubmit] Record input strides at time of tracing, constrain to them for triton fn | eellison | closed | [
"Merged",
"ciflow/trunk",
"release notes: fx",
"fx",
"module: inductor",
"ciflow/inductor"
] | 6 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #147861
Resubmit of https://github.com/pytorch/pytorch/pull/145448. it lost its changes on rebase.
cc @ezyang @SherlockNoMad @EikanWang @jgong5 @wenzhe-nrv @voznesenskym @penguinwu @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzhen... | true |
2,878,919,076 | addmv bfloat16 accuracy issues on cpu | AnthonyBarbier | closed | [
"triaged",
"module: bfloat16",
"module: linear algebra",
"module: correctness (silent)",
"module: arm",
"module: intel"
] | 2 | CONTRIBUTOR | ### 🐛 Describe the bug
Significant inaccuracy when using addmv composite opinstead of individual ops with bf16 inputs :
```python
import torch
b = torch.tensor([5.8438, -6.3125], dtype=torch.bfloat16)
A = torch.tensor(
[
[4.3125, -6.4375, -3.8125, 4.3125, 8.2500, -5.4062, -3.2656, -5.4688, 6.1562, -2.90... | true |
2,878,861,329 | Exporting a PyTorch Model with Dynamic ModuleList Indexing to ONNX | tso2381637 | open | [
"module: onnx",
"triaged"
] | 0 | NONE | Description:
I have a PyTorch model that contains a torch.nn.ModuleList with multiple torch.nn.Linear layers. The forward pass selects a specific layer dynamically based on an index input. Below is the model definition:
```
import torch
class TorchModel(torch.nn.Module):
def __init__(self):
super().__init... | true |
2,878,790,729 | [fix]: Offload OpenBLAS gemv calls to dedicated OpenBLAS kernel | nikhil-arm | open | [
"open source"
] | 5 | COLLABORATOR | Description:
1. Directly call mv and addmv call instead of re-routing via addmm
2. Avoid weight transpose as mv and addmv does not require it
Improvement: 14% perf improvement for gemv operator on shape of 1 4096 4096
Tester Script:
```
import torch
import torch.nn as nn
import torch.profiler as profiler
... | true |
2,878,573,749 | Triton aarch64 and triton sbsa | johnnynunez | closed | [
"oncall: releng"
] | 1 | CONTRIBUTOR | ### 🚀 The feature, motivation and pitch
Why?
runners:
Github: https://github.blog/changelog/2025-01-16-linux-arm64-hosted-runners-now-available-for-free-in-public-repositories-public-preview/
windows arm q2 2025: https://github.com/github/roadmap/issues/1098
Devices:
GH200 and future devices: Digits, jetson thor, ... | true |
2,878,566,821 | [BE] Parameterize TestSDPA in test_mps.py | malfet | closed | [
"Merged",
"topic: not user facing",
"ciflow/mps"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #147856
| true |
2,878,535,154 | [DO NOT MERGE] Migrate from oneDNN Inner Product to oneDNN MatMul for mkldnn_linear and mkldnn_linear_backward | jiayisunx | open | [
"module: cpu",
"module: mkldnn",
"open source",
"ciflow/linux-aarch64"
] | 2 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #147855
* #147360
* #147073
cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @gujinghui @PenghuiCheng @jianyuh @min-jean-cho @yanbing-j @Guobing-Chen @Xia-Weiwen @snadampal | true |
2,878,495,103 | [ONNX] BitwiseOr was generated for bool inputs (invalid) | JuntaoLiu01 | open | [
"module: onnx",
"triaged"
] | 27 | NONE | ### 🐛 Describe the bug
```python
def trans2onnx_v2(torch_model, onnx_path):
image = torch.randn(1, 3, 640, 640)
mask = torch.randint(0, 1, (1, 1, 640, 640), dtype=torch.int64)
image = image.cuda()
mask = mask.cuda()
# work ok
onnx_program = torch.onnx.dynamo_export(torch_model,
... | true |
2,878,308,461 | DISABLED test_mixed_mm_exhaustive_dtypes (__main__.TestPatternMatcher) | 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_mixed_mm_exhaustive_dtypes&suite=TestPatternMatcher&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/37769671030).
Over the past 3 hours, it... | true |
2,878,308,327 | DISABLED test_inductor_inplace_op_on_view (__main__.CompileTest) | pytorch-bot[bot] | open | [
"triaged",
"module: flaky-tests",
"skipped",
"module: c10d",
"oncall: pt2"
] | 19 | NONE | Platforms: inductor, rocm, linux
This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_inductor_inplace_op_on_view&suite=CompileTest&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/37772363869).
Over the p... | true |
2,878,232,001 | expandable_segments does not work for CUDAPluggableAllocator + MemPool | youkaichao | open | [
"module: cuda",
"triaged",
"module: CUDACachingAllocator"
] | 2 | COLLABORATOR | ### 🐛 Describe the bug
Here is an example code:
```python
import torch
import torch.utils.cpp_extension
cpp_sources = """
// save as alloc.cc
// compile with g++ alloc.cc -o alloc.so -I/usr/local/cuda/include -shared -fPIC
#include <sys/types.h>
#include <cuda_runtime_api.h>
#include <iostream>
// Compile with g++ a... | true |
2,878,224,624 | The issue where opt_output in fx_graph_runnable.py is inconsistent with the actual output when testing run_repro(acc=True) | MovieTrack | closed | [] | 1 | NONE | ### 🐛 Describe the bug
Conclusion
✔ Use .clone() before modifying tensors from expand(), view(), or as_strided().
✔ Ensure tensors are .contiguous() before operations.
✔ Debug with x.is_contiguous() to check memory layout.
If the issue persists, share a code snippet for further debugging! 🚀
### Versions
Conclusio... | true |
2,878,219,992 | Immediate Global State Mutation After Using `_force_original_view_tracking` Decorator | vwrewsge | open | [
"triaged",
"oncall: pt2",
"module: aotdispatch",
"module: pt2-dispatcher",
"internal ramp-up task"
] | 1 | NONE | ### 🐛 Describe the bug
Similar to [# 113359](https://github.com/pytorch/pytorch/pull/113359), when using the _force_original_view_tracking decorator in PyTorch, the global state of the view replay (torch._C._is_view_replay_enabled()) is mutated immediately after the decorator is applied, even though it should not mod... | true |
2,878,212,438 | [inductor] [cpu] `torch.nn.Fold` throws assertionerror in codegen | shaoyuyoung | closed | [
"triaged",
"oncall: pt2",
"oncall: cpu inductor"
] | 4 | CONTRIBUTOR | ### 🐛 Describe the bug
**description**: when compiling `torch.nn.Fold`, eager pass the check while inductor throws assertion error on CPU.
**device backend**: only CPP
```python
import torch
import torch.nn as nn
import torch.nn.functional as F
from torch._inductor import config
config.fallback_random = True
torch.s... | true |
2,878,186,396 | [inductor] [silence] inconsistent swap wih eager when compiling `torch.rot90-torch.randn_like` | shaoyuyoung | open | [
"high priority",
"triaged",
"oncall: pt2",
"module: aotdispatch",
"module: pt2-dispatcher"
] | 1 | CONTRIBUTOR | ### 🐛 Describe the bug
**description**: this bug is triggered only when `torch.rot90` and `torch.randn_like` are used together. In my case, u can see the **second element (-2.1788)** and the **third element (-0.2934)** are swapped by inductor (compared with eager).
**device backend**: both triton and CPP
**note**: I ... | true |
2,878,176,533 | `RuntimeError` not raised for `out=` argument in `torch.tensordot` with `requires_grad` tensors | vwrewsge | closed | [
"module: autograd",
"triaged",
"actionable"
] | 1 | NONE | ### 🐛 Describe the bug
When using torch.tensordot with tensors that have requires_grad=True, the function should raise a RuntimeError when the out argument is passed, as the operation does not support automatic differentiation.
# Code
```
import torch
# Create input tensors with requires_grad=True
a = torch.empty((... | true |
2,878,148,689 | Set disable_clone=True when running opt_gm | Danielmic | open | [
"triaged",
"open source",
"Stale",
"module: dynamo"
] | 3 | CONTRIBUTOR | Fixes #147843
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,878,135,773 | Python warnings are printed multiple times | vwrewsge | open | [
"oncall: jit"
] | 2 | NONE | ### 🐛 Describe the bug
Following the change in [PR #128581](https://github.com/pytorch/pytorch/pull/128581), Python warnings should be printed once unless the warning cache is reset. However, when running the following code, the warning appears multiple times instead of once.
```
import torch
# A function that caus... | true |
2,878,118,128 | The opt_output in `fx_graph_runnable.py` is inconsistent with the actual output when testing run_repro(acc=True). | Danielmic | open | [
"triaged",
"oncall: pt2"
] | 2 | CONTRIBUTOR | ### 🐛 Describe the bug
If the input tensor is created using expand(), view(), or as_strided(), cloning the input in the func same_two_models will fail. The res is mismatch with the output of directly running opt_gm(list(args)).
### Error logs
Running result.copy_(x.clone()) throws a runtime error
more than one elem... | true |
2,878,066,810 | [inductor] `torch.slice_scatter` throws `AssertionError` when meeting internal `float32` | shaoyuyoung | open | [
"good first issue",
"triaged",
"oncall: pt2",
"module: inductor"
] | 9 | CONTRIBUTOR | ### 🐛 Describe the bug
**description**: when meeting internal `float32` (it's `y` in my case), eager pass the check and return 0 while inductor throws an assertion error
**device**: both on triton and CPP
```python
import torch
import torch.nn as nn
import torch.nn.functional as F
from torch._inductor import config... | true |
2,878,058,590 | AttributeError: Can't pickle local object 'make_opaque_bitwise_fn.<locals>.BitwiseFn' | default1360 | open | [
"module: pickle",
"triaged",
"module: dynamic shapes"
] | 1 | NONE | ### 🐛 Describe the bug
I encountered an issue while trying to pickle an instance of a dynamically generated class using `make_opaque_bitwise_fn` from `torch.utils._sympy.functions`.
```
import pickle
import sympy
from torch.utils._sympy.functions import make_opaque_bitwise_fn
# Generate the bitwise_and function cla... | true |
2,878,036,896 | `AssertionError` in `torch.compile` | default1360 | closed | [
"oncall: pt2",
"module: dynamo",
"dynamo-triage-jan2025"
] | 2 | NONE | ### 🐛 Describe the bug
When attempting to compile the `torch.norm` function using `torch.compile`, an `AssertionError` occurs.
```
import torch
compiled_norm = torch.compile(torch.norm)
```
### Versions
torch 2.6.0
cc @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @... | true |
2,877,958,088 | IndexError: tuple index out of range when running vLLM script | qiangzaiXu | closed | [] | 2 | NONE | ### 🐛 Describe the bug
**Description:**
When running the provided Python script to load and generate text from a model in vllm, an error occurs during the random seed initialization.
```python
from vllm import LLM, SamplingParams
if __name__ == '__main__':
# Sample prompts
prompts = [
"Hello, my nam... | true |
2,877,836,094 | [Triton upstream] [ROCm]: `RuntimeError: Triton Error [HIP]: Code: 209, Messsage: no kernel image is available for execution on the device` | jataylo | closed | [
"module: rocm"
] | 2 | COLLABORATOR | ### 🐛 Describe the bug
Testing on latest torch/triton, running into the following failures:
```
test/inductor/test_torchinductor_opinfo.py::TestInductorOpInfoCUDA::test_comprehensive_mvlgamma_mvlgamma_p_5_cuda_float16
test/inductor/test_torchinductor_opinfo.py::TestInductorOpInfoCUDA::test_comprehensive_mvlgamma_mvl... | true |
2,877,765,610 | [Dynamo] Fix `is_compile_supported()` when `device_type` contains device index | shink | closed | [
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: dynamo"
] | 20 | CONTRIBUTOR | Fixes #147826
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,877,600,681 | Fix recent regression in evaluate_expr that effect cache lookups | laithsakka | closed | [
"Merged",
"ciflow/trunk",
"release notes: fx",
"topic: not user facing",
"fx",
"module: dynamo",
"ciflow/inductor"
] | 6 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #147836
PR https://github.com/pytorch/pytorch/pull/146939/ added an argument for evaluate_expr for the purpose of logging.
This caused a regression that we thought is due to calling id on symnode.
I digged deeper and found that a... | true |
2,877,594,634 | [Intel GPU] Add synchronize() in torch.utils.benchmark | DDEle | closed | [
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"ciflow/xpu"
] | 10 | CONTRIBUTOR | When following https://pytorch.org/tutorials/recipes/recipes/benchmark.html on XPU, I notice that the device it is not synchronized in the benchmark. This PR tries to fix this and align the behavior with CUDA. | true |
2,877,587,777 | [test][do not merge] Upgrade oneDNN to v3.7(6) | yanbing-j | closed | [
"module: mkldnn",
"open source",
"module: arm",
"ciflow/trunk",
"topic: not user facing",
"intel",
"module: inductor",
"ciflow/inductor",
"ciflow/xpu",
"ciflow/linux-aarch64"
] | 2 | COLLABORATOR | Fixes #ISSUE_NUMBER
cc @gujinghui @PenghuiCheng @XiaobingSuper @jianyuh @jgong5 @mingfeima @sanchitintel @ashokei @jingxu10 @min-jean-cho @Guobing-Chen @Xia-Weiwen @snadampal @malfet @milpuz01 @voznesenskym @penguinwu @EikanWang @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8... | true |
2,877,586,156 | [test][do not merge] Upgrade oneDNN to v3.7 (5) | yanbing-j | closed | [
"module: mkldnn",
"open source",
"module: arm",
"ciflow/trunk",
"topic: not user facing",
"intel",
"module: inductor",
"ciflow/inductor",
"ciflow/xpu",
"ciflow/linux-aarch64"
] | 2 | COLLABORATOR | Fixes #ISSUE_NUMBER
cc @gujinghui @PenghuiCheng @XiaobingSuper @jianyuh @jgong5 @mingfeima @sanchitintel @ashokei @jingxu10 @min-jean-cho @Guobing-Chen @Xia-Weiwen @snadampal @malfet @milpuz01 @voznesenskym @penguinwu @EikanWang @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8... | true |
2,877,584,316 | [test][do not merge] Upgrade oneDNN to v3.7 (4) | yanbing-j | closed | [
"module: mkldnn",
"open source",
"module: arm",
"ciflow/trunk",
"topic: not user facing",
"intel",
"module: inductor",
"ciflow/inductor",
"ciflow/xpu",
"ciflow/linux-aarch64"
] | 2 | COLLABORATOR | Fixes #ISSUE_NUMBER
cc @gujinghui @PenghuiCheng @XiaobingSuper @jianyuh @jgong5 @mingfeima @sanchitintel @ashokei @jingxu10 @min-jean-cho @Guobing-Chen @Xia-Weiwen @snadampal @malfet @milpuz01 @voznesenskym @penguinwu @EikanWang @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.