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,751,733,450 | Use default_collate from public API | kit1980 | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 6 | CONTRIBUTOR | Codemodded via `torchfix . --select=TOR104 --fix`.
This is a step to unblock https://github.com/pytorch/pytorch/pull/141076 | true |
2,751,731,749 | [Reland] Add support for bfloat16 atomic adds in fbcode | mlazos | closed | [
"module: inductor",
"ciflow/inductor",
"release notes: inductor"
] | 1 | CONTRIBUTOR | Reland https://github.com/pytorch/pytorch/pull/141857 and fallback on A100 which doesn't have bfloat16 atomic add instrs.
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @dese... | true |
2,751,673,723 | Add a test to ensure grads are never inplaced into accidentally | janeyx99 | closed | [
"topic: not user facing"
] | 4 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #143614
| true |
2,751,599,946 | [ROCm] upgrade nightly wheels to rocm6.3 - 2 of 2 (binaries) | jithunnair-amd | closed | [
"module: rocm",
"open source",
"Merged",
"ciflow/binaries",
"topic: not user facing",
"ciflow/rocm"
] | 4 | COLLABORATOR | cc @jeffdaily @sunway513 @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang @naromero77amd | true |
2,751,551,041 | [BE] Add a test to ensure grads are never inplaced into accidentally | janeyx99 | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 6 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #143612
| true |
2,751,526,962 | [DynamoBench] Handle accuracy results in benchmark records | huydhn | closed | [
"Merged",
"topic: not user facing",
"test-config/default",
"module: dynamo",
"ciflow/inductor"
] | 4 | CONTRIBUTOR | I discovered this issue when trying to search for the accuracy results on the database and couldn't find any. It turns out that the results is there on the JSON file, for example `"metric": {"name": "accuracy", "benchmark_values": ["pass_due_to_skip"]}`, but inserting them into the database fails because benchmark val... | true |
2,751,506,767 | [inductor] Shorten tracebacks for errors inside inductor (by skipping AOTAutograd frames) | jansel | closed | [
"Merged",
"module: inductor",
"ciflow/inductor",
"release notes: inductor"
] | 1 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #143626
* __->__ #143610
* #143552
Before #143552
```py
Traceback (most recent call last):
File "/home/jansel/pytorch/repro.py", line 51, in <module>
fp32_compiled = optimized_model(low_input)
^^^^^^^^^^^^^^^^... | true |
2,751,464,821 | [Dynamo] check node class first for graph dedup | mlazos | closed | [
"Merged",
"ciflow/trunk",
"module: dynamo",
"ciflow/inductor",
"release notes: dynamo"
] | 6 | CONTRIBUTOR | as title
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,751,462,612 | Remove assert from partitioner.py | pytorchbot | closed | [
"open source",
"release notes: fx",
"fx"
] | 1 | COLLABORATOR | Remove erroneous assert assuming a dependent (user) node to be in the partition. This partially reverts #136616 by removing the assert.
Tested locally with a failing ExecuTorch Arm test using
```
$ python -m examples.arm.aot_arm_compiler --model_name mv2 --target ethos-u55-128 --delegate --quantize
```
cc @ezy... | true |
2,751,423,183 | [GPT-fast] Support run spcific model or micro-benchmark | yanboliang | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"ciflow/inductor-micro-benchmark"
] | 5 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #143607
| true |
2,751,380,899 | remove allow-untyped-defs from torch/distributed/pipelining/_debug.py | bobrenjc93 | closed | [
"oncall: distributed",
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 6 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #143606
cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o | true |
2,751,380,781 | remove allow-untyped-defs from torch/distributed/elastic/multiprocessing/errors/handlers.py | bobrenjc93 | closed | [
"oncall: distributed",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"release notes: distributed (torchelastic)"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #143606
* __->__ #143605
cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o | true |
2,751,380,680 | remove allow-untyped-defs from torch/ao/__init__.py | bobrenjc93 | closed | [
"Merged",
"Reverted",
"ciflow/trunk",
"topic: not user facing",
"release notes: AO frontend",
"ci-no-td"
] | 6 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #143606
* #143605
* __->__ #143604
| true |
2,751,380,542 | remove allow-untyped-defs from torch/_lazy/config.py | bobrenjc93 | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #143606
* #143605
* #143604
* __->__ #143603
| true |
2,751,380,424 | remove allow-untyped-defs from torch/fx/experimental/refinement_types.py | bobrenjc93 | closed | [
"Merged",
"ciflow/trunk",
"release notes: fx",
"topic: not user facing",
"fx"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #143606
* #143605
* #143604
* #143603
* __->__ #143602
cc @ezyang @SherlockNoMad @EikanWang @jgong5 @wenzhe-nrv | true |
2,751,380,313 | remove allow-untyped-defs from torch/ao/quantization/experimental/APoT_tensor.py | bobrenjc93 | closed | [
"Merged",
"ciflow/trunk",
"release notes: quantization",
"topic: not user facing",
"release notes: AO frontend"
] | 8 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #143606
* #143605
* #143604
* #143603
* #143602
* __->__ #143601
| true |
2,751,377,294 | Reuse partial reductions | eellison | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 5 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #143600
Reuse partial reductions for complete reductions. We could expand this to more cover more types of reductions, although we'd have to be a bit more careful about keeping the intermediary, partial reduction in higher precision.... | true |
2,751,345,839 | [pipelining] throw error with ZB and compile | H-Huang | closed | [
"oncall: distributed",
"Merged",
"ciflow/trunk",
"release notes: distributed (pipeline)"
] | 3 | MEMBER | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #143386
* __->__ #143599
Zero bubble wil SIGSEGV when operating on a `torch.compile`'d model so raising this error while I am still investigating the cause / design for a fix.
cc @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab ... | true |
2,751,340,385 | c10d: no call_guard in init | d4l3k | closed | [
"oncall: distributed",
"Merged",
"ciflow/trunk",
"release notes: distributed (c10d)"
] | 6 | MEMBER | `py::call_guard<py::gil_scoped_release>` is not safe when using multiple threads. This instead moves it into the init function which is safe.
For more details see #143593
https://github.com/pybind/pybind11/issues/5473
Test plan:
```
python setup.py develop
```
CI
```py
import time
from concurrent... | true |
2,751,322,914 | remove explicit aws tokens used in sccache, works via IMDSv2 now | wdvr | closed | [
"Stale",
"topic: not user facing",
"ciflow/xpu"
] | 2 | CONTRIBUTOR | Fixes #143585
| true |
2,751,316,156 | [canary] clear speculation log | bobrenjc93 | closed | [
"ciflow/trunk",
"module: dynamo",
"ciflow/inductor"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #143596
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames
Differential Revision: [D67471663](https://our.internmc.facebook.... | true |
2,751,283,008 | Improve cond error messaging | janeyx99 | closed | [
"Merged",
"ciflow/trunk",
"module: dynamo",
"ciflow/inductor",
"release notes: export"
] | 3 | CONTRIBUTOR | Discovered by @drisspg and I trying out a simple toy example and being way too confused :')
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #143595
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @cheny... | true |
2,751,221,147 | [dynamo, 3.13t] raise error if torch.compile is attempted in 3.13t (nogil) | williamwen42 | closed | [
"module: dynamo",
"ciflow/inductor",
"module: python version"
] | 1 | MEMBER | https://github.com/pytorch/pytorch/pull/143404 cherry picked for 2.6
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,751,217,284 | TCPStore crash when initializing from multiple threads | d4l3k | open | [
"oncall: distributed",
"module: c10d",
"bug"
] | 2 | MEMBER | ### 🐛 Describe the bug
There's a bug in pybind which is causing TCPStore to crash on deletion when instantiating it from multiple threads.
```
terminate called after throwing an instance of 'std::runtime_error'
what(): pybind11_object_dealloc(): Tried to deallocate unregistered instance!
```
Full repro an... | true |
2,751,205,847 | [dynamo] guard global autocast state | williamwen42 | closed | [
"module: amp (automated mixed precision)",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor"
] | 6 | MEMBER | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #143592
Fixes https://github.com/pytorch/pytorch/issues/112260.
cc @mcarilli @ptrblck @leslie-fang-intel @jgong5 @voznesenskym @penguinwu @EikanWang @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenya... | true |
2,751,203,106 | c10::string_view -> std::string_view in pytorch | r-barnes | closed | [
"fb-exported",
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 11 | CONTRIBUTOR | Test Plan: Sandcastle
Differential Revision: D67312322
| true |
2,751,201,845 | [ROCm] Update setup-rocm for almalinux-based images | amdfaa | closed | [
"module: rocm",
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"ciflow/rocm"
] | 4 | CONTRIBUTOR | Needed for https://github.com/pytorch/test-infra/pull/6104 and https://github.com/pytorch/ao/pull/999
* Explicitly specify repo and branch in `pytorch/pytorch/.github/actions/diskspace-cleanup@main` to be able to use `setup-rocm` in test-infra's `.github/workflows/linux_job_v2.yml` (like in PR https://github.com/pyt... | true |
2,751,189,079 | [pipelining] Detach output and losses returned to the user | Adrien-AM | closed | [
"oncall: distributed",
"triaged",
"open source",
"Stale",
"release notes: distributed (pipeline)"
] | 4 | CONTRIBUTOR | Issue #142229, followup to PR #142237
The output and losses returned to the user by the last stage are now detached from the rest of the graph. Therefore the tensors do not need to be detached in-place during backward, which was causing issues with views.
I also added tests for memory usage of schedules, with addit... | true |
2,751,127,223 | Full BFGS optimizer | PeaBrane | open | [
"module: optimizer",
"triaged"
] | 1 | NONE | ### 🚀 The feature, motivation and pitch
Currently, the torch optimizer supports [LBFGS](https://pytorch.org/docs/stable/generated/torch.optim.LBFGS.html), which is a limited-memory version of the full [BFGS](https://en.wikipedia.org/wiki/Broyden%E2%80%93Fletcher%E2%80%93Goldfarb%E2%80%93Shanno_algorithm#:~:text=In%20... | true |
2,751,051,300 | fix formatting in programming model doc | avikchaudhuri | closed | [
"fb-exported",
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 5 | CONTRIBUTOR | Test Plan: Some of the formatting in https://docs-preview.pytorch.org/pytorch/pytorch/143546/export.programming_model.html is broken.
Differential Revision: D67458972
| true |
2,750,957,476 | update expected results | laithsakka | closed | [
"Merged",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #143586
update results based on small regression added by
https://github.com/pytorch/pytorch/commit/17b71e5d6a8a45c33e01231e38056e7da5857c88
the max we was 1.25%. for sum_floor_div
<img width="842" alt="Screenshot 2024-12-1... | true |
2,750,808,558 | [CI] XPU linux ci test has flaky error with sccache service | chuanqi129 | closed | [
"module: ci",
"triaged",
"module: infra",
"intel"
] | 3 | COLLABORATOR | Noticed that there are some torch xpu ci test failure with sccache caused by the S3 token permission expired, refer https://github.com/pytorch/pytorch/actions/runs/12374649660/job/34540161843#step:14:3461
```
sccache: error: Server startup failed: cache storage failed to read: Unexpected (permanent) at read => S3Er... | true |
2,750,759,085 | remove allow-untyped-defs from torch/utils/_config_typing.pyi | bobrenjc93 | closed | [
"ciflow/trunk",
"topic: not user facing"
] | 1 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #143584
* #143583
* #143582
| true |
2,750,758,952 | remove allow-untyped-defs from distributed/tensor/experimental/__init__.py | bobrenjc93 | closed | [
"oncall: distributed",
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #143583
cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o | true |
2,750,758,806 | remove allow-untyped-defs from torch/ao/quantization/experimental/fake_quantize_function.py | bobrenjc93 | closed | [
"Merged",
"ciflow/trunk",
"release notes: quantization",
"topic: not user facing",
"release notes: AO frontend"
] | 5 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #143584
* #143583
* __->__ #143582
| true |
2,750,662,910 | Unskipped multiple inductor tests for ROCm | iupaikov-amd | closed | [
"module: rocm",
"triaged",
"open source",
"Merged",
"Reverted",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor",
"keep-going",
"ciflow/rocm",
"ci-no-td",
"ciflow/inductor-rocm"
] | 20 | CONTRIBUTOR | All of them should be fine to run now after the triton fix.
cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang @naromero77amd @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang... | true |
2,750,637,701 | RuntimeError: expect_autograd_hooks_ INTERNAL ASSERT FAILED at "../torch/csrc/distributed/c10d/reducer.cpp" | alita-moore | open | [
"oncall: distributed",
"module: ddp"
] | 5 | NONE | ### 🐛 Describe the bug
When using `DistributedDataParallel` (DDP) with `static_graph=True` and multiple backward passes on the same forward pass within a `no_sync()` context, a runtime error may occur. Specifically, if the very first forward/backward call sequence on the model is made within a `no_sync()` block and i... | true |
2,750,608,502 | `assert_size_stride` failing in `_inductor/utils.py` `return model(new_inputs)` | bhack | open | [
"triaged",
"module: custom-operators",
"oncall: pt2",
"module: pt2-dispatcher"
] | 13 | CONTRIBUTOR | ### 🐛 Describe the bug
I was trying to create a custom_ops for Mamba `selective_scan` as suggested by @ezyang at https://github.com/pytorch/pytorch/issues/130150#issuecomment-2211312921
So I've prepared https://github.com/state-spaces/mamba/pull/651 to extend the original test to the `custom_op` version. Custom... | true |
2,750,537,283 | Unskipped multiple inductor tests for ROCm | iupaikov-amd | closed | [
"module: rocm",
"topic: not user facing",
"module: inductor"
] | 6 | CONTRIBUTOR | cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang @naromero77amd @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauh... | true |
2,750,445,769 | [ONNX] Output order is switched when exporting model phi-2 with or without input cache | xadupre | closed | [
"module: onnx",
"triaged"
] | 3 | COLLABORATOR | ### 🐛 Describe the bug
The cache is not flattened in the same order if the cache is given as one of the input when the model is exported. It seems to be introduced by one the passes made by the exporter.
With no input cache, the model (2 layers only) outputs ``key_cache_0, value_cache_0, key_cache_1, value_cache_1... | true |
2,750,416,518 | Remove unneeded std::make_optional | cyyever | closed | [
"oncall: jit",
"triaged",
"open source",
"Merged",
"ciflow/trunk",
"release notes: jit",
"module: dynamo",
"ciflow/inductor"
] | 6 | COLLABORATOR | Fixes #ISSUE_NUMBER
cc @EikanWang @jgong5 @wenzhe-nrv @sanchitintel @voznesenskym @penguinwu @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,750,198,826 | Torch elastic restart fails with torch-2.6.0 nightly build: NCCL unhandled system error | shujue | open | [
"oncall: distributed",
"module: nccl"
] | 2 | NONE | ### 🐛 Describe the bug
**Summary:**
Run multi-gpu training with torch elastic run, backend is nccl,
Torch 2.5.1, job restarted successfully
Nightly torch 2.6.0, same nccl version as above, after job restarted, NCCL error is reported:
`[rank1]: torch.distributed.DistBackendError: NCCL error in: /pytorch/torch/... | true |
2,750,099,025 | register_backward_pre_hook wrong | pxp511 | closed | [
"module: autograd",
"triaged"
] | 3 | NONE | ### 🐛 Describe the bug
i test hooks by UNet2DConditionModel like this:
```
def forward_pre_hook(module, input, output=None):
print_rank_0("forward_pre_hook")
def forward_hook(module, input, output=None):
print_rank_0("forward_hook")
def backward_pre_hook(module, input, output=None):
print_rank_0(... | true |
2,750,072,340 | cuda graphs produce two additional kernel calls | trporn | closed | [
"triaged",
"module: cuda graphs"
] | 4 | NONE | ### 🐛 Describe the bug
When using cuda graph capture, the replay() function produces two additional kernel calls before the launchGraph.
Additional calls are to fillFunctor, probably the result of replay_prologue(), line 229 in https://github.com/pytorch/pytorch/blob/main/aten/src/ATen/cuda/CUDAGraph.cpp.
This i... | true |
2,750,056,673 | Issues linking to libtorch on M2 mac | jatkinson1000 | open | [
"triaged",
"module: arm"
] | 6 | NONE | ### 🐛 Describe the bug
I am following the minimal example for compiling libtorch provided here: https://pytorch.org/cppdocs/installing.html
I am using libtorch for mac downloaded from here: https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.5.1.zip
This looks like it should be for arm64 and is the lat... | true |
2,750,033,620 | [ROCm] Guard triton backend call around cuda.is_available | jataylo | closed | [
"module: rocm",
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor",
"ciflow/rocm"
] | 8 | COLLABORATOR | To resolve: https://github.com/pytorch/test-infra/issues/6082
Calling into Triton's get_backend_options will initialise CUDA and break CPU-only environments that may have hip installed.
cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @hongxiayang @naromero77amd @voznesenskym @pengui... | true |
2,750,010,063 | [ROCm] Add miopen_batch_norm to meta_registrations to fix AOTI issue | jataylo | closed | [
"module: rocm",
"open source",
"Merged",
"ciflow/trunk",
"topic: bug fixes",
"topic: not user facing",
"ciflow/rocm"
] | 7 | COLLABORATOR | Currently the upstream example for AOTI usage breaks on ROCm (https://pytorch.org/tutorials/recipes/torch_export_aoti_python.html)
```
File "/root/upstream/torch/_dynamo/exc.py", line 317, in unimplemented
raise Unsupported(msg, case_name=case_name)
torch._dynamo.exc.Unsupported: unsupported operator: aten.mi... | true |
2,749,998,844 | [Inductor][CPU] C++ compile error: no known conversion from `VecMask` to `VectorizedN` | guangyey | closed | [
"triaged",
"oncall: cpu inductor"
] | 1 | COLLABORATOR | ### 🐛 Describe the bug
It will raise a C++ compile error when run the following reproducer.
```python
import torch
def demo():
# Input tensors that are generated randomly
torch.manual_seed(777)
in_self_ln39273 = (
torch.randn(size=[128, 2501], device="cpu").ge(0)
)
def fwd... | true |
2,749,941,004 | [dynamo] Remove transformers ModelOutput hack | anijain2305 | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor",
"keep-going"
] | 7 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #143567
* #143548
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,749,936,862 | [Inductor] [CPU] [silent] `bitwise_left_shift` outputs wrong results compared with eager | shaoyuyoung | closed | [
"oncall: pt2",
"module: inductor",
"oncall: cpu inductor"
] | 2 | CONTRIBUTOR | ### 🐛 Describe the bug
related to #143555
```python
import torch
import torch.nn as nn
from torch._inductor import config
config.fallback_random = True
torch.use_deterministic_algorithms(True)
torch.manual_seed(42)
class Model(nn.Module):
def __init__(self):
super().__init__()
def ... | true |
2,749,822,052 | Failed to load TorchScript of SSDLite in android | sun-jiao | open | [
"oncall: mobile"
] | 1 | NONE | ### 🐛 Describe the bug
I tried to load SSDLite in Android but always failed with it.
Here is my code for export TorchScript: [sun-jiao/pytorch_ssdlite_export](https://github.com/sun-jiao/pytorch_ssdlite_export).
Use `detection_export.py` to convert the pretrained model to TorchScript. And then use `detection.... | true |
2,749,800,628 | [Bug] Memory leak in C++ libtorch | TheophileChampion | open | [
"module: cpp",
"triaged"
] | 2 | NONE | ### 🐛 Describe the bug
It seems there is a bug leading to a memory leak in the (C++) libtorch.
```
#include <torch/extension.h>
#include <thread>
class FrameVector {
private:
std::vector<int> data;
public:
FrameVector() {
std::vector<int> data(7056);
this->data = data;
... | true |
2,749,696,858 | [Inductor] Fix FX Graph Cache with constant adding in lowering | leslie-fang-intel | closed | [
"open source",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 2 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #143563
**Summary**
Fix https://github.com/pytorch/pytorch/issues/143144, the issue happens due to we add new constant into `GraphLowering` when `freezing` turns on. We record these new constants and set it into the loaded Python Mo... | true |
2,749,647,878 | "aten::any" and "aten::all" behavior for unsigned tensors different than signed | DanielLevi6 | open | [
"triaged",
"module: reductions",
"module: unsigned int"
] | 3 | NONE | ### 🐛 Describe the bug

When I use torch.any ot torch.all for an int8 tensor, the result is boolean as expected for these boolean ops. But, for some reason, when I use uint8 for example, so the result is a uint8 tensor. That's... | true |
2,749,535,717 | Add the max_autotune tests in the periodic jobs. | LifengWang | closed | [
"triaged",
"open source",
"Merged",
"ciflow/trunk",
"release notes: releng",
"module: dynamo"
] | 19 | CONTRIBUTOR | To promptly detect issues with max_autotune, such as [#143102](https://github.com/pytorch/pytorch/issues/143102), add the max_autotune tests to the periodic CI to track the accuracy regularly.
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chen... | true |
2,749,459,223 | [hop] fix unbacked_bindings meta for while_loop | ydwu4 | 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):
* __->__ #143559
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,749,373,941 | [Don't merge] Xu debug illegal instraction | xuhancn | closed | [
"open source",
"topic: not user facing"
] | 1 | COLLABORATOR | Fixes #ISSUE_NUMBER
| true |
2,749,325,669 | [Dynamo] Support dict_keys from nested dict object | yanboliang | 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):
* __->__ #143557
* #143547
* #143374
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,749,287,043 | [caffe2] Move vectorized templates into a separate file for box_cox operator | efiks | closed | [
"caffe2",
"fb-exported",
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 6 | CONTRIBUTOR | Summary: No functional changes in this diff, the code is moved into a separate file to be reused by avx512 version in the follow up diff.
Test Plan: buck build //caffe2/caffe2/perfkernels:perfkernels
Differential Revision: D67433115
| true |
2,749,286,212 | [Inductor] [CPU] [silent] `bitwise_right_shift` outputs wrong results when `other==64` | shaoyuyoung | closed | [
"high priority",
"triage review",
"oncall: pt2",
"module: inductor",
"oncall: cpu inductor"
] | 8 | CONTRIBUTOR | ### 🐛 Describe the bug
for a tensor, if `other` is "**out-of-bound**", CPU inductor seems to start shifting right again.
although it is an out-of-bound bug, the incorrectness is silent. I think it is hig-pri (?)
CUDA outputs zero correctly.
```python
import torch
import torch.nn as nn
from torch._indu... | true |
2,749,253,217 | [DONT MERGE] test libm.lib | chuanqi129 | closed | [
"open source",
"ciflow/binaries",
"topic: not user facing"
] | 1 | COLLABORATOR | Fixes #ISSUE_NUMBER
| true |
2,749,234,921 | [Draft][WIP] Enable XPU path for FlexAttention | liangan1 | open | [
"triaged",
"open source",
"topic: not user facing",
"module: inductor",
"module: dynamo"
] | 22 | NONE | **Motivation**
1. The Attention has been the critical performance bottleneck in the current LLM models, and FlexAttention is a good choice to cover the broad variants in the transformers series models. With FlexAttention, it is easy for us to enable the paged attention and fused SDPA in the transformers repo on XPU... | true |
2,749,217,881 | [dynamo] Shorten tracebacks for backend compiler errors | jansel | closed | [
"Merged",
"module: inductor",
"module: dynamo",
"ciflow/inductor",
"release notes: dynamo"
] | 10 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #143626
* #143610
* __->__ #143552
Fixes #143406
After this PR the error for missing Triton is:
```py
Traceback (most recent call last):
File "/home/jansel/pytorch/repro.py", line 51, in <module>
fp32_compiled = optimized_model... | true |
2,749,179,797 | Add cutlass version guard in prep for upgrade | drisspg | closed | [
"Merged",
"ciflow/trunk",
"release notes: sparse"
] | 9 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #143551
| true |
2,749,154,243 | Fix torch.accelerator api abort when passing invaild device | guangyey | closed | [
"open source",
"Merged",
"ciflow/trunk",
"topic: improvements",
"release notes: mps",
"ciflow/mps",
"ciflow/rocm",
"ciflow/xpu",
"release notes: xpu",
"module: accelerator"
] | 5 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #143550
# Motivation
Fix https://github.com/pytorch/pytorch/issues/143543
# Solution
We should raise python exception instead of aborting...
# Additional Context
without this PR:
```python
>>> import torch
>>> torch.acc... | true |
2,749,140,514 | [reland][AMD] Turn on TF32 for aten::mm | xw285cornell | closed | [
"fb-exported",
"Merged",
"Reverted",
"ciflow/trunk",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor",
"ciflow/rocm",
"ci-no-td"
] | 20 | CONTRIBUTOR | Summary:
hipblaslt supports TF32, so adding the support.
Original PR https://github.com/pytorch/pytorch/pull/139869
Test Plan: CI
Differential Revision: D67431681
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @... | true |
2,749,133,435 | [dynamo] Support user defined dicts | anijain2305 | closed | [
"module: mkldnn",
"Merged",
"ciflow/trunk",
"module: dynamo",
"ciflow/inductor",
"release notes: dynamo",
"keep-going",
"ciflow/linux-aarch64"
] | 1 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #143567
* __->__ #143548
cc @gujinghui @PenghuiCheng @XiaobingSuper @jianyuh @jgong5 @mingfeima @sanchitintel @ashokei @jingxu10 @min-jean-cho @yanbing-j @Guobing-Chen @Xia-Weiwen @snadampal @voznesenskym @penguinwu @EikanWang @zhuhaozhe @... | true |
2,749,105,988 | [Dynamo] Rename Dict{View/Keys/Values} to Dict{View/Keys/Values}Variable | yanboliang | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor"
] | 1 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #143557
* __->__ #143547
* #143374
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,749,086,826 | torch export programming model | avikchaudhuri | closed | [
"fb-exported",
"Merged",
"ciflow/trunk",
"release notes: export"
] | 7 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #143546
Differential Revision: [D67429743](https://our.internmc.facebook.com/intern/diff/D67429743/) | true |
2,749,038,678 | [hop][BE] unify meta checking with check_meta_consistency | ydwu4 | closed | [
"Merged",
"topic: not user facing",
"module: inductor",
"module: dynamo",
"ciflow/inductor"
] | 1 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #143457
* #143559
* #143456
* #143106
* __->__ #143545
* #143105
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPep... | true |
2,749,035,773 | Avoid std::copy_n | cyyever | open | [
"module: cpu",
"triaged",
"open source",
"Stale",
"topic: not user facing",
"ciflow/inductor"
] | 6 | COLLABORATOR | Fixes #ISSUE_NUMBER
cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 | true |
2,749,028,119 | xpu: torch.accelerate.current_stream() throws C++ instead of Python exception on invalid device | dvrogozh | closed | [
"triaged",
"module: python frontend"
] | 1 | CONTRIBUTOR | With https://github.com/pytorch/pytorch/commit/2c48af568a082c70ca4ca2cdc9b6469ed253a371 on the single card XPU system.
I am trying `torch.accelerator.current_stream()` API. It throws C++ exception when I am trying to query stream for non-existing 2nd card. Exception is expected, but Python exception not C++ one.
... | true |
2,749,024,730 | [Codemod][AddExplicitStrictExportArg] caffe2/torch/onnx/_internal/exporter | gmagogsfm | closed | [
"fb-exported",
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 5 | CONTRIBUTOR | Reviewed By: avikchaudhuri
Differential Revision: D67381244
| true |
2,749,020,149 | torch/accelerator: fix device type comparison | dvrogozh | closed | [
"open source",
"Merged",
"ciflow/trunk",
"release notes: python_frontend",
"topic: bug fixes",
"topic: not user facing",
"ciflow/mps",
"ciflow/rocm",
"ciflow/xpu",
"module: accelerator"
] | 15 | CONTRIBUTOR | This was failing without the fix:
```
python -c 'import torch; d=torch.device("xpu:0"); torch.accelerator.current_stream(d)'
```
with:
```
ValueError: xpu doesn't match the current accelerator xpu.
```
CC: @guangyey, @EikanWang
cc @albanD @guangyey @EikanWang | true |
2,749,013,260 | Fix FSDP hanging | phos-phophy | closed | [
"oncall: distributed",
"triaged",
"open source",
"Stale",
"release notes: distributed (fsdp)"
] | 4 | NONE | Fixes #143536
It should be noted that I don't have enough expertise to be sure that this is the correct error correction. But it worked for me when I created this issue
cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o | true |
2,749,012,375 | [1/n] Support Dynamic Memory Budget in Auto AC | basilwong | closed | [
"fb-exported",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"ciflow/inductor"
] | 18 | CONTRIBUTOR | # Summary:
Full Context: https://docs.google.com/document/d/1-j5KSbfGFJQcH4sYh7BIeJXso3zYzl5G5yFQqXdKx_o/edit?usp=sharing
tl;dr
This change introduces classes which help determine a dynamic memory budget. This will mostly be helpful for models with many implicit graph breaks.
---
New Classes:
*GraphInfo... | true |
2,748,997,179 | Update release matrix for 2.6 | kit1980 | closed | [
"Merged",
"topic: not user facing"
] | 3 | CONTRIBUTOR | null | true |
2,748,995,632 | [CUTLASS] fix addmm | ColinPeppler | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 3 | CONTRIBUTOR | We would get a CUDA IMA before because we pass Bias in for X. So, we need to re-order the inputs.
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #143537
* #143528
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @j... | true |
2,748,977,958 | FSDP learning hangs when the program tries to save the model | phos-phophy | open | [
"oncall: distributed"
] | 3 | NONE | ### 🐛 Describe the bug
## TL;DR
I have strange intermittent error which I can fix in my own (just by adding one line), but I don't know how to fix it properly in general
## What's the problem?
Recently I have tried to fine-tune some LLMs using [Accelerate](https://github.com/huggingface/accelerate) from Hugg... | true |
2,748,970,915 | test/dynamo/test_utils: logging - Stop testing for impossible things. | c00w | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor"
] | 6 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #143317
* #143307
* __->__ #143535
We don't support assigning to objects or numeric constants at the top level in
config modules, no need to test for them.
(This specifically breaks later sorting refactoring, since it requires <
to be imple... | true |
2,748,966,688 | [FlexAttention] fix various block-mask edge cases | drisspg | closed | [
"Stale",
"topic: not user facing",
"module: inductor",
"ciflow/inductor",
"module: flex attention"
] | 2 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #143534
* #143525
Today when calling `_adjust` be adjust both the partial blocks and full_kv_blocks If present. The problem is that if you adjust to a new num_cols and lands in an existing full_block, that full_block becomes a part... | true |
2,748,940,847 | [TEST ONLY] Repro funcol all_to_all_single called from custom autograd function | yf225 | closed | [
"oncall: distributed",
"Stale",
"topic: not user facing",
"ciflow/inductor"
] | 2 | CONTRIBUTOR | `TORCH_LOGS="+dynamo" pytest -rA test/distributed/test_inductor_collectives.py::TestCollectivesMultiProc::test_all_to_all_single_custom_autograd_function`
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #143533
cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 ... | true |
2,748,915,183 | [DO NOT MERGE] debugging NoneAsConstantBuffer | mlazos | closed | [
"ciflow/trunk",
"module: inductor",
"ciflow/inductor"
] | 2 | CONTRIBUTOR | Fixes #ISSUE_NUMBER
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang @aakhundov | true |
2,748,910,174 | [Hierarchical Compile] Update NoneAsConstantBuffer to support graph d… | mlazos | closed | [
"Merged",
"ciflow/trunk",
"module: inductor",
"ciflow/inductor",
"release notes: inductor"
] | 3 | CONTRIBUTOR | Fixes issues I hit while running graph deduplication with torch tune.
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang @aakhundov | true |
2,748,814,366 | Skip test_conv2d_linear_add_broadcast_shapes_cpu on fbcode | huydhn | closed | [
"fb-exported",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"test-config/default",
"module: inductor",
"ciflow/inductor"
] | 4 | CONTRIBUTOR | Summary: The test is added by D67376995 and it is failing on fbcode
Test Plan: `buck2 test 'fbcode//mode/opt' fbcode//caffe2/test/inductor:mkldnn_pattern_matcher_cpu -- --exact 'caffe2/test/inductor:mkldnn_pattern_matcher_cpu - test_conv2d_linear_add_broadcast_shapes_cpu (caffe2.test.inductor.test_mkldnn_pattern_match... | true |
2,748,801,491 | feature_use: Remove JK from naming for feature use. | c00w | 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):
* __->__ #143529
See discussion in https://github.com/pytorch/pytorch/pull/142819 but
TL;DR, since we're loging use but not direct JK reads, it's less
confusing to use the logging
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @... | true |
2,748,778,345 | [CUTLASS] fix bugs: extra data_ptr() call, wrong size symbol name, bias symbol not added | ColinPeppler | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 11 | CONTRIBUTOR | A few small things in this PR:
- fixed a bug where `workspace.data_ptr().data_ptr()` showed up
- for SM80 CUTLASS kernels, the symbol size for W.size(1) was never created
- for addmm kernels, the ldc bias symbol never showed up
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #143537
... | true |
2,748,759,861 | BF16 act, int8 WoQ GEMM with FP16 compute & accum from IPEX for m dim <= 4 | sanchitintel | closed | [
"module: cpu",
"open source",
"Stale",
"module: inductor",
"module: dynamo",
"ciflow/inductor"
] | 3 | COLLABORATOR | Intel Extension for PyTorch computes GEMM for int8 WoQ case with BF16 activation when `M` dimension <=4 by converting both the activation & weights to FP16, and fusing application of scale. Then FP16 FMA instructions are used in the GEMM micro-kernel, and accumulation is also in FP16.
The current approach in PyTorc... | true |
2,748,749,793 | Unbacked SymInt fixes for subclasses + data-dependent slice() bounds (non-dynamic) | jbschlosser | closed | [
"Merged",
"ciflow/trunk",
"release notes: fx",
"topic: not user facing",
"fx",
"module: inductor",
"ciflow/inductor"
] | 6 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #143311
* #142063
* #142062
* __->__ #143526
Lifted non-controversial (non-dynamic) fixes from #142062. See description there for context.
cc @ezyang @SherlockNoMad @EikanWang @jgong5 @wenzhe-nrv @voznesenskym @penguinwu @Guobing-Chen @X... | true |
2,748,721,674 | [FlexAttention] fix block-mask slicing with new seq-length arg | drisspg | closed | [
"Stale",
"release notes: nn",
"topic: bug fixes",
"module: inductor",
"ciflow/inductor",
"module: flex attention"
] | 2 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #143534
* __->__ #143525
Fixes: https://github.com/pytorch/pytorch/issues/143260
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kad... | true |
2,748,711,741 | trace.save_real_tensors segfaults on resnet | exclamaforte | closed | [
"triaged",
"oncall: pt2",
"module: inductor"
] | 4 | CONTRIBUTOR | ### 🐛 Describe the bug
Reproduction:
```
import torch
import torchvision.models as models
device = torch.device("cuda")
input_tensor = torch.randn(1, 3, 224, 224, dtype=torch.float32).to(device)
comp = torch.compile(options={"trace.enabled": True, "trace.save_real_tensors": True})(models.resnet50(pretrained=Tru... | true |
2,748,696,442 | [Dynamo] topologically sort duplicated graph regions | mlazos | closed | [
"Merged",
"ciflow/trunk",
"module: dynamo",
"ciflow/inductor",
"release notes: dynamo"
] | 8 | CONTRIBUTOR | Ensure regions are topologically sorted
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,748,635,466 | [Dynamo] Flatten slices during graph deduplication | mlazos | closed | [
"Merged",
"ciflow/trunk",
"module: dynamo",
"ciflow/inductor",
"release notes: dynamo"
] | 3 | CONTRIBUTOR | I encountered this issue while debugging torchtune - overall we need to make sure to not miss nodes that are slice arguments.
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,748,626,186 | [MPS] Add regression test for sliced matmul | hvaara | closed | [
"triaged",
"open source",
"Stale",
"topic: not user facing"
] | 4 | CONTRIBUTOR | This issue seems to have been fixed in macOS already. This PR only adds a regression test. I'm expecting failure on test runners with macOS 13 and 14.
Fixes #104832
| true |
2,748,620,176 | [MPS] Use metal shaders for all view ops | pytorchbot | closed | [
"release notes: mps",
"ciflow/mps"
] | 1 | COLLABORATOR | Before this PR Metal shaders were used to scatter/gather 1-5 dimensional tensors.
This PR introduces generalized ones that could be used for any dimensionality and as results gets rid of 700+ lines complex and untested code that might not even work as expected.
Generalized gather shader looks as follows
```metal
... | true |
2,748,619,531 | [user triton] Raise an exception when encountering nested @triton.autotune decorators or @triton.heuristics | SamGinzburg | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 4 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #143519
We support running a single Autotuner for each Triton kernel. Currently,
if there are multiple autotuning decorators, the subsequent ones will be
silently ignored.
Instead, we should raise an error here to avoid silent incorr... | true |
2,748,607,304 | [DRAFT] Implement getattr access for subclasses in pre-dispatch IR | tugsbayasgalan | closed | [
"fx",
"ciflow/inductor",
"release notes: export"
] | 1 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #143518
* #141941
This is a draft PR that tries to prototype how to capture attribute access in pre-dispatch IR. The motivating use case is: https://github.com/pytorch/ao/blob/039cef4ad546716aa04cd54c461feb173f7fe403/tutorials/develo... | true |
2,748,599,854 | [codemod] Fix a few unused-variable issues in pytorch | r-barnes | closed | [
"fb-exported",
"Merged",
"ciflow/trunk",
"release notes: cpp",
"topic: improvements",
"topic: not user facing"
] | 6 | CONTRIBUTOR | Summary:
LLVM-15 has a warning `-Wunused-variable` which we treat as an error because it's so often diagnostic of a code issue. Unused variables can compromise readability or, worse, performance.
This diff either (a) removes an unused variable and, possibly, it's associated code or (b) qualifies the variable with `... | true |
2,748,596,852 | [BE] Get rid of `malfet/checkout@silent-checkout` | malfet | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 7 | CONTRIBUTOR | Instead use `actions/checkout@v4` with `show-progress: false`. It's more verbose than the quiet option, but our logs are long anyway...
Partially addresses https://github.com/pytorch/pytorch/issues/143079
| true |
2,748,570,407 | [cutlass-3] Update third-party/cutlass-3 from 3.4 to 3.5.1 | drisspg | closed | [
"oncall: distributed",
"fb-exported",
"Merged",
"release notes: sparse",
"module: inductor",
"ciflow/inductor"
] | 12 | CONTRIBUTOR | # Summary:
This also makes updates to different repositories throughout FB code to roll any updates needed for this new release.
I was not able to get AsyncMM.cu to build (still trying) Yfiu suggested that I just skip it for now
Test Plan:
Have run various build commands to try and expose errors
... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.