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,782,054,575 | remove allow-untyped-defs from torch/_functorch/utils.py | bobrenjc93 | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 4 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #144627
* __->__ #144626
| true |
2,782,054,510 | remove allow-untyped-defs from torch/jit/_pickle.py | bobrenjc93 | closed | [
"oncall: jit",
"Merged",
"ciflow/trunk",
"release notes: jit",
"topic: not user facing"
] | 4 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #144627
* #144626
* __->__ #144625
cc @EikanWang @jgong5 @wenzhe-nrv @sanchitintel | true |
2,782,054,458 | remove allow-untyped-defs from torch/distributions/pareto.py | bobrenjc93 | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 4 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #144627
* #144626
* #144625
* __->__ #144624
| true |
2,782,054,417 | remove allow-untyped-defs from torch/distributed/_shard/sharded_tensor/shard.py | bobrenjc93 | closed | [
"oncall: distributed",
"Merged",
"ciflow/trunk",
"release notes: distributed (sharded)",
"topic: not user facing"
] | 4 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #144627
* #144626
* #144625
* #144624
* __->__ #144623
cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o | true |
2,782,045,650 | [inductor] Enable docstring_linter on _inductor | rec | closed | [
"module: lint",
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 14 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #144622
* #144621
| true |
2,782,045,628 | [inductor] Add tests for new docstring_linter features (fix #142496) | rec | closed | [
"module: lint",
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 11 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #144622
* __->__ #144621
| true |
2,782,045,609 | [inductor] Fix issue with set_linter, improve linter framework | rec | closed | [
"module: lint",
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"suppress-api-compatibility-check",
"suppress-bc-linter"
] | 20 | COLLABORATOR | ### `set_linter` only
* Fix gnarly [bug](https://github.com/pytorch/pytorch/blob/dbed747aae223d53ca4e22fe45c24d1d9a8b4432/tools/test/set_linter_testdata/python_code.py.txt.python#L42) which would have garbled Python files involving sets contained in sets.
* Better handling of new Python3.12 token types
### Both ... | true |
2,782,025,987 | [inductor] Enable docstring_lint on _inductor | rec | closed | [
"open source",
"topic: not user facing"
] | 1 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #144619
* #144618
| true |
2,782,025,963 | Add features to docstring_linter (fix #142496) | rec | closed | [
"open source",
"topic: not user facing"
] | 1 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #144619
* __->__ #144618
| true |
2,782,025,300 | Unified Pytorch for Nvidia (CUDA), Intel (XPU), AMD (ROCm) | Qubitium | closed | [
"module: build",
"feature",
"module: rocm",
"triaged"
] | 6 | CONTRIBUTOR | ### 🚀 The feature, motivation and pitch
Allow a single pytorch binary/pkg to support all major gpu platforms. One pytorch env that can execute code on `cpu`, `mps`, `cuda`, `xpu`, and `rocm`. Not 3 torch virtual envs where they can't talk to each other.
Reasons why we need this:
* It is only the natural soluti... | true |
2,781,986,956 | Collect packages with importlib in collect_env | AngryLoki | closed | [
"triaged",
"open source",
"Merged",
"Reverted",
"Stale",
"ciflow/trunk",
"release notes: python_frontend",
"topic: improvements",
"ci-no-td"
] | 22 | CONTRIBUTOR | If pytorch is installed systemwide (via os package manager) or by alternative package manager like `uv`, pip is not available, causing error in `collect_env`.
However it is still possible to collect exactly the same list using `importlib` API, which is always available.
Fixes #144615
| true |
2,781,979,082 | `collect_env.py` fails with `'NoneType' object has no attribute 'splitlines'` if pytorch is installed without pip | AngryLoki | closed | [
"module: collect_env.py",
"triaged",
"module: devx"
] | 0 | CONTRIBUTOR | ### 🐛 Describe the bug
When user tries to collect system information with `python -m torch.utils.collect_env` on systems, where pytorch is installed **from a system package manager** and **pip is not installed** (as expected on systemwide installations), this script fails with `'NoneType' object has no attribute 's... | true |
2,781,944,274 | Different Result with Different GPUs (A6000, A40) | iot2edge | open | [
"needs reproduction",
"module: cuda",
"triaged",
"module: determinism"
] | 1 | NONE | ### 🐛 Describe the bug
I set most of parameters right but get different result with different GPUs.
### Versions
```
def set_deterministic_pytorch(seed: int):
# Set CUBLAS workspace config
cublas_workspace_config = os.environ.get("CUBLAS_WORKSPACE_CONFIG")
if cublas_workspace_config is None:
... | true |
2,781,935,134 | The label marked by torch.profiler.profile.record_function() appears twice in the output | plorrrrrrr | open | [
"oncall: profiler"
] | 1 | NONE | ### 🐛 Describe the bug
I have followed the tutorials in [link](https://pytorch.org/tutorials/recipes/recipes/profiler_recipe.html)
I ran the code as follows
```python
import torch
import torchvision.models as models
from torch.profiler import profile, record_function, ProfilerActivity
if torch.cuda.is_avail... | true |
2,781,920,096 | [CUDA] Illegal Memory Access with `torch.bmm` | jwnhy | open | [
"module: cuda",
"triaged",
"topic: fuzzer"
] | 5 | NONE | ### 🐛 Describe the bug
The following code causes illegal memory access in PyTorch.
```python
import torch
m1 = torch.randn(2, 291105, 1).to_sparse().cuda()
m2 = torch.randn(2, 1, 1).cuda()
print([m1.size(), m2.size()])
torch.bmm(m1, m2)
```
The bug is detected via `computer-sanitizer`
```bash
comput... | true |
2,781,918,475 | [CUDA] Illegal Memory Access with `ConvTranspose2d` | jwnhy | open | [
"module: cuda",
"triaged",
"topic: fuzzer"
] | 5 | NONE | ### 🐛 Describe the bug
The following code causes illegal memory access in PyTorch.
```python
import torch
D = 40000
C = 10
m1 = torch.randn(C, D, 2).cuda()
model = torch.nn.ConvTranspose2d(C, 2, kernel_size=(1, 1), stride=(200, 200)).cuda()
model(m1)
```
The bug is detected via `computer-sanitizer`
```b... | true |
2,781,848,795 | some errors in torch.compile(model,fullgraph=True,mode="reduce-overhead") on muti-gpu | zyxiyy | open | [
"needs reproduction",
"triaged",
"oncall: pt2"
] | 2 | NONE | ### 🐛 Describe the bug
code:
```python
import torch
from transformers import StaticCache
NUM_TOKENS_TO_GENERATE = 40
torch_device = "cuda"
from torch.nn.attention import SDPBackend, sdpa_kernel
def decode_one_tokens(model, cur_token, input_pos, cache_position, past_key_values):
logits = model(
cur_token,
... | true |
2,781,781,611 | Inductor C++ Wrapper + autograd cause error in the second run because of FX graph cache | YouJiacheng | open | [
"triaged",
"module: fx",
"oncall: pt2",
"module: inductor",
"compile-cache"
] | 4 | CONTRIBUTOR | ### 🐛 Describe the bug
```python
import torch
import torch._inductor.config as config
from torch import Tensor
config.cpp_wrapper = True
@torch.compile
def foo(x: Tensor):
return x.sin()
x = torch.tensor(0.0, device="cuda", requires_grad=True)
foo(x).backward()
print(x.grad)
```
run this... | true |
2,781,725,672 | Build breaks on FreeBSD on arm platforms: Unrecognized CMAKE_SYSTEM_NAME = FreeBSD | yurivict | open | [
"module: build",
"triaged"
] | 0 | NONE | ### 🐛 Describe the bug
```
-- The ASM compiler identification is Clang with GNU-like command-line
-- Found assembler: /usr/local/llvm15/bin/clang
CMake Error at aten/src/ATen/native/quantized/cpu/qnnpack/CMakeLists.txt:65 (message):
Unrecognized CMAKE_SYSTEM_NAME = FreeBSD
-- Configuring incomplete, errors... | true |
2,781,620,946 | broken `torch.compile` with `"meta"` device tensors | koute | closed | [
"good first issue",
"triaged",
"actionable",
"oncall: pt2",
"module: dynamic shapes",
"module: inductor"
] | 9 | NONE | ### 🐛 Describe the bug
Consider the following code:
```python
import torch
@torch.compile
def foobar(x):
return x * 2
def test(device):
foobar(torch.empty((1, 16, 128, 128), device = device))
foobar(torch.empty((1, 32, 64, 64), device = device))
# OK
test("cuda")
print("cuda ok")
# F... | true |
2,781,582,154 | [mps/inductor] Add support for exp(). | dcci | closed | [
"Merged",
"Reverted",
"ciflow/trunk",
"topic: not user facing",
"module: mps",
"ciflow/mps",
"module: inductor",
"module: dynamo",
"ciflow/inductor",
"ci-no-td"
] | 12 | MEMBER | inductor/test_silu now passes after this change.
cc @kulinseth @albanD @malfet @DenisVieriu97 @jhavukainen @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang @aakh... | true |
2,781,567,984 | [inductor] Add unbacked symints binding in ShapeProp | yushangdi | closed | [
"fb-exported",
"Merged",
"ciflow/trunk",
"release notes: fx",
"fx"
] | 124 | CONTRIBUTOR | Summary: ShapeProp doesn't know how to propagate unbacked. Patch it up to propagate unbacked symints like PropagateUnbackedSymInts.
Test Plan:
```
buck run mode/dev-nosan fbcode//caffe2/test:fx -- -r test_shape_prop_unbacked_sym
```
Differential Revision: D68050073
cc @ezyang @SherlockNoMad @EikanWang @jgong5 @... | true |
2,781,522,863 | Fix broken YAML template after #144574 | huydhn | closed | [
"Merged",
"topic: not user facing",
"test-config/default"
] | 3 | CONTRIBUTOR | The YAML syntax is wrong and GitHub complains about it https://github.com/pytorch/pytorch/blob/main/.github/ISSUE_TEMPLATE/pt2-bug-report.yml | true |
2,781,504,005 | Modernize C++ code | cyyever | closed | [
"module: cpu",
"triaged",
"open source",
"Merged",
"ciflow/trunk",
"release notes: mobile",
"release notes: quantization",
"ciflow/mps",
"module: dynamo",
"ciflow/inductor"
] | 3 | COLLABORATOR | Fixes #ISSUE_NUMBER
cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @voznesenskym @penguinwu @EikanWang @Guobing-Chen @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,781,499,720 | Fix mis-categorization of clang++ as gcc. | cptspacemanspiff | closed | [
"triaged",
"open source",
"Stale",
"module: inductor",
"release notes: inductor"
] | 3 | NONE | Fixes #144601
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang @aakhundov @BoyuanFeng | true |
2,781,498,679 | Compiling with clang fails in torch inductor, miscategorized as gcc | cptspacemanspiff | open | [
"triaged",
"oncall: pt2",
"module: inductor"
] | 0 | NONE | ### 🐛 Describe the bug
In torch inductor, if the clang compiler is used on Linux, it may be miscategorized as gcc.
Specifically in the current code below, the regex will match with ```clang++```, and then return that the compiler is gcc.
```python
def _is_gcc(cpp_compiler: str) -> bool:
if sys.platform ... | true |
2,781,494,889 | [device_mesh] improve device selection logic | wanchaol | closed | [
"oncall: distributed",
"open source",
"Stale",
"release notes: distributed (dtensor)"
] | 2 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #144600
* #144599
as titled, this PR improves the device selection logic when user did not
set the device before calling the DeviceMesh constructor, as a device
manager, DeviceMesh should try to set the device for users in a good
way.... | true |
2,781,494,866 | Fix DTensorTestBase to barrier with device ids | wanchaol | closed | [
"oncall: distributed",
"open source",
"Stale",
"topic: not user facing"
] | 2 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #144600
* __->__ #144599
Get rid of the below annoying warnings when running the unit tests
```
test/distributed/test_device_mesh.py [rank1]:[W106 17:08:03.158159859 ProcessGroupNCCL.cpp:4561] [PG ID 0 PG GUID 0 Rank 1] using GPU 1 to perf... | true |
2,781,479,393 | Actually remove example inputs from aoti_compile_and_package API | angelayi | closed | [
"fb-exported",
"Stale",
"module: inductor",
"ciflow/inductor"
] | 4 | CONTRIBUTOR | Test Plan: CI
Differential Revision: D67998953
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,781,477,674 | [Dynamo] Supports autograd.Function forward returns constant | 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):
* __->__ #144597
Fixes #144142
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,781,458,424 | [Pipelining] Refactor common utils from test_pp_dp | wconstab | closed | [
"oncall: distributed",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: pipelining"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #144734
* __->__ #144596
* #144352
Split test_pp_dp into pp_ddp and pp_fsdp so its a bit more
concise and easier to add CP to the FSDP one.
Realize that 'use_new_runtime' parametrization was not even being used,
removing it saves a bunch of... | true |
2,781,449,239 | [ca] raise error message on AOT Autograd caching | xmfan | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor",
"module: compiled autograd"
] | 12 | MEMBER | FIXES https://github.com/pytorch/pytorch/issues/144175, bandaid
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #144595
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amja... | true |
2,781,403,978 | [ROCm] Enable inductor-periodic testing for MI300 | BLOrange-AMD | closed | [
"module: rocm",
"open source",
"Merged",
"topic: not user facing",
"skip-pr-sanity-checks",
"module: dynamo",
"ciflow/inductor",
"rocm",
"ciflow/rocm",
"ciflow/inductor-periodic"
] | 18 | CONTRIBUTOR | cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang @naromero77amd @albanD @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,781,386,973 | dynamo: Don't crash when tracing a missing attr on a constant. | c00w | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor"
] | 9 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #144593
dynamo: Don't crash when tracing a missing attr on a constant.
This throws a InternalTorchDynamoError: AttributeError: 'NoneType' object has no attribute 'max'
instead of just skipping the bad call when tracing, and t... | true |
2,781,363,704 | [CUDA][TF32] Add some missing TF32 decorators to `test_nn.py` | eqy | closed | [
"module: cuda",
"open source",
"Merged",
"module: tf32",
"ciflow/trunk",
"topic: not user facing"
] | 3 | COLLABORATOR | Original authored by @bilal2vec
cc @ptrblck @msaroufim @zasdfgbnm | true |
2,781,359,048 | [BE] Enable test_public_bindings on MacOS | malfet | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 3 | CONTRIBUTOR | I've tried it locally and it works.. (One more reason to xfail rather than skip) | true |
2,781,283,368 | [docs] Add 32-bit complex to the list of dtypes | antoinebrl | closed | [
"triaged",
"open source",
"Merged",
"Stale",
"ciflow/trunk",
"release notes: python_frontend",
"topic: docs"
] | 25 | CONTRIBUTOR | null | true |
2,781,263,288 | Enable grep_linter to use -a | clee2000 | closed | [
"Merged",
"Reverted",
"topic: not user facing",
"ci-no-td"
] | 6 | CONTRIBUTOR | Lintrunner can only apply changes (-a) if only one suggestion is made per file. The grep_linter makes a suggestion for every line it finds incorrect, so it creates multiple suggestions per file if there are multiple lines that it wants to change
This sets the `line` parameter of the LintMessage to None for all of g... | true |
2,781,252,749 | Avoid data-dependent errors in NJT tests via capture_scalar_outputs=True | jbschlosser | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #144889
* __->__ #144588
* #144587
* #144586
Part of my BE project addressing NJT bugs surfaced via OpInfo tests.
There are several xfails related to data-dependent errors in torch.compile. This PR sets `torch._dynamo.config.capture_scal... | true |
2,781,252,666 | Implement backward for NJT matmul | jbschlosser | closed | [
"module: nestedtensor",
"Merged",
"ciflow/trunk",
"topic: bug fixes",
"release notes: nested tensor"
] | 9 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #144889
* #144588
* __->__ #144587
* #144586
Part of my BE project addressing NJT bugs surfaced via OpInfo tests.
This PR implements missing backward support for NJT matmul. Notably, for dense tensors, matmul dispatches to bmm. However, ... | true |
2,781,252,607 | Fix NJT fill.Scalar for contiguous inputs | jbschlosser | closed | [
"Merged",
"ciflow/trunk",
"topic: bug fixes",
"release notes: nested tensor"
] | 9 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #144889
* #144588
* #144587
* __->__ #144586
Part of my BE project addressing NJT bugs surfaced via OpInfo tests.
This PR implements the missing `fill.Scalar` support, which works fine for contiguous inputs, but there is still some AOTAu... | true |
2,781,252,535 | Fix NJT frexp() to handle both outputs | jbschlosser | closed | [
"Merged",
"ciflow/trunk",
"topic: bug fixes",
"release notes: nested tensor"
] | 6 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #144889
* #144588
* #144587
* #144586
* __->__ #144585
* #144584
* #144583
* #144582
Part of my BE project addressing NJT bugs surfaced via OpInfo tests.
Before this PR, `frexp()` for NJT was handled via the unary pointwise fallback. The... | true |
2,781,252,483 | Support NJT chunk() backward on batch dim | jbschlosser | closed | [
"Merged",
"ciflow/trunk",
"topic: improvements",
"release notes: nested tensor"
] | 6 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #144889
* #144588
* #144587
* #144586
* #144585
* __->__ #144584
* #144583
* #144582
Part of my BE project addressing NJT bugs surfaced via OpInfo tests.
Implements `chunk()` backward on the batch dim, which was left out before. This PR ... | true |
2,781,252,108 | Fix NJT min / max backward() for non-ragged reductions | jbschlosser | closed | [
"Merged",
"ciflow/trunk",
"topic: bug fixes",
"release notes: nested tensor"
] | 7 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #144889
* #144588
* #144587
* #144586
* #144585
* #144584
* __->__ #144583
* #144582
Part of my BE project addressing NJT bugs surfaced via OpInfo tests.
`value_selecting_reduction_backward()` is used in the backward for min / max, so th... | true |
2,781,251,996 | Fix NJT OpInfo entry for nn.functional.prelu | jbschlosser | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #144889
* #144588
* #144587
* #144586
* #144585
* #144584
* #144583
* __->__ #144582
Part of my BE project addressing NJT bugs surfaced via OpInfo tests.
The OpInfo entry for prelu was wrong before this PR; `weight` needs to be passed as... | true |
2,781,204,499 | [MPSInductor] Speedup maximum/minumum ops | malfet | closed | [
"Merged",
"topic: not user facing",
"ciflow/mps",
"module: inductor",
"ciflow/inductor"
] | 3 | CONTRIBUTOR | By relying on the fact that if either `a` or `b` is NaN (or both), than `a + b` would also be NaN.
I.e. it replaces
```metal
auto tmp2 = metal::any(metal::isnan(static_cast<decltype(tmp0+tmp1)>(tmp0))) | metal::any(metal::isnan(static_cast<decltype(tmp0+tmp1)>(tmp1))) ? static_cast<decltype(tmp0+tmp1)>(NAN) : meta... | true |
2,781,150,261 | `torch._foreach_mul` does not support autograd | ad8e | open | [
"module: autograd",
"triaged",
"actionable",
"module: mta"
] | 6 | CONTRIBUTOR | ### 📚 The doc issue
This is just a note for the eventual foreach docs. If someone has the same error, they can arrive here through search.
```
File "/usr/local/lib/python3.10/dist-packages/torch/autograd/__init__.py", line 347, in backward
_engine_run_backward(
File "/usr/local/lib/python3.10/dist-packa... | true |
2,781,149,204 | [aotd] Guess tangents stride as output strides | IvanKobzarev | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"module: dynamo",
"ciflow/inductor"
] | 6 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #144579
AOTDispatch doing AOT backward graph preparation does not know real tangents that user will specify when runs backward.
AOTD guesses the tangents. Before - we guessed that memory format of tangents will be as memory forma... | true |
2,781,144,135 | [CI] Add Triton 3.13t build | pytorchbot | closed | [
"open source",
"topic: not user facing"
] | 1 | COLLABORATOR | By just extending the matrix and invoking script with appropriate cpython runtime | true |
2,781,044,098 | lintrunner has stale errors | bobrenjc93 | closed | [
"module: lint",
"triaged",
"module: devx"
] | 7 | CONTRIBUTOR | ### 🐛 Describe the bug
Sometimes lintrunner will have stale errors even though the errors no longer exist (eg. if you switch back to a clean main commit). Here's a small repro:
```
ghstack checkout https://github.com/pytorch/pytorch/pull/144263
lintrunner -a
git checkout --detach origin/main
lintrunner -a
`... | true |
2,781,031,930 | [ez] add lint commits to .git-blame-ignore-revs | PaliC | closed | [
"Merged",
"Reverted",
"ciflow/trunk",
"topic: not user facing",
"ci-no-td"
] | 19 | CONTRIBUTOR | Test Plan: Ran git blame on .lintrunner.toml and github's linter (+ manual testing) shows all commits exist | true |
2,780,949,402 | Binary builds Docker images - remove cuda 12.1 | atalman | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 8 | CONTRIBUTOR | Remove cuda 12.1 from manylinux, libtoch and almalinux builds
| true |
2,780,922,516 | Request English for Issues | PaliC | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 14 | CONTRIBUTOR | null | true |
2,780,845,864 | [ROCm] Implemented dropout usage for RNN with MIOpen backend | iupaikov-amd | closed | [
"module: rocm",
"triaged",
"open source",
"Merged",
"Reverted",
"topic: not user facing",
"module: inductor",
"ciflow/rocm",
"ci-no-td"
] | 36 | CONTRIBUTOR | This PR fixes https://github.com/pytorch/pytorch/issues/107183 for ROCm.
Implemented the usage of new RNN descriptor for MIOpen backend that takes into account dropout rate value using dropout descriptor. This fixes associated test_RNN_dropout_state test.
cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @RO... | true |
2,780,837,772 | [AOTI] Support _int_mm | desertfire | closed | [
"Merged",
"ciflow/trunk",
"topic: improvements",
"module: inductor",
"ciflow/inductor",
"release notes: inductor"
] | 4 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #144571
Summary: Add _int_mm to the C shim, to resolve a torchao issue, https://github.com/pytorch/ao/pull/1531#issue-2776827015
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-... | true |
2,780,833,864 | [MPS] Fix conv backward for channels last (cont) | pytorchbot | closed | [
"open source",
"release notes: mps",
"ciflow/mps"
] | 1 | COLLABORATOR | This is a continuation of https://github.com/pytorch/pytorch/issues/140902 but extends the same logic to input.
Looks like existing channels-last logic just produced incorrect results on pre MacOS-15 versions and fails on MacOS-15, so removing it feels like a right idea
Fixes https://github.com/pytorch/pytorch/is... | true |
2,780,812,006 | [BE][CI] bump `ruff` to 0.9.0: string quote styles | XuehaiPan | closed | [
"oncall: distributed",
"open source",
"Merged",
"ciflow/trunk",
"release notes: releng",
"topic: not user facing",
"fx",
"module: dynamo",
"ciflow/inductor"
] | 4 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #145606
* #144546
* __->__ #144569
* #146509
Reference: https://docs.astral.sh/ruff/formatter/#f-string-formatting
- Change the outer quotes to double quotes for nested f-strings
```diff
- f'{", ".join(args)}'
+ f"{', '.join(args)}"
```
-... | true |
2,780,784,988 | Disable scuba logging for autotuning | masnesral | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"module: dynamo",
"ciflow/inductor"
] | 6 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #144568
Summary: the compile IDs are currently null, which is confusing. Turn it off until we have a solution.
Test Plan: https://fburl.com/scuba/dynamo_compile/sandbox/g2d2g5xs
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobin... | true |
2,780,758,400 | torch.accelerator.is_available() raise RuntimeError if no available CUDA/XPU devices | guangyey | closed | [
"high priority",
"triaged",
"module: regression",
"bug",
"module: accelerator"
] | 5 | COLLABORATOR | ### 🐛 Describe the bug
```python
>>> import torch
>>> torch.accelerator.is_available()
/home/guangyey/repos/stock-pytorch/torch/xpu/__init__.py:120: UserWarning: XPU device count is zero! (Triggered internally at /home/guangyey/repos/stock-pytorch/c10/xpu/XPUFunctions.cpp:117.)
torch._C._xpu_init()
Traceback (... | true |
2,780,745,267 | Add a docstring to build.sh | zxiiro | closed | [
"open source",
"topic: not user facing",
"test-config/default"
] | 2 | COLLABORATOR | Add a little blurb to explain what build.sh is doing.
| true |
2,780,730,518 | Release validations: MacOS Rc2.6 failing with PyTorch must be built with OpenMP support | atalman | closed | [] | 1 | CONTRIBUTOR | ### 🐛 Describe the bug
Here is the wrofklow
https://github.com/pytorch/test-infra/actions/runs/12711717187/job/35435670774
Fix was merged : https://github.com/pytorch/pytorch/pull/143133 but somehow this error still showing up on MacOS Rc 2.6. (nightlies are fine)
Error Log:
```
+ eval pip3 install --for... | true |
2,780,666,444 | Tabulate not official dependency of PyTorch but needed by features like FlopCounterMode | zou3519 | open | [
"triaged",
"dependency issue",
"module: flop counter"
] | 0 | CONTRIBUTOR | ```
Traceback (most recent call last):
File "/home/rzou/dev/ocu11/tutorials/recipes_source/torch_compile_user_defined_triton_kernel_tutorial.py", line 338, in <module>
with FlopCounterMode() as flop_counter:
File "/home/rzou/dev/ocu11/pt-ocu11/torch/utils/flop_counter.py", line 726, in __exit__
print(s... | true |
2,780,604,811 | Multiple tests not run / run as no-ops by `run_test.py` | Flamefire | open | [
"high priority",
"module: tests",
"triaged"
] | 3 | COLLABORATOR | ### 🐛 Describe the bug
I noticed this while working on https://github.com/pytorch/pytorch/issues/126523
Basically the test suite runner `run_test.py` runs each test file separately or in parallel. It boils down to e.g. executing: `python -bb distributed/optim/test_apply_optimizer_in_backward.py --shard-id=1 --num... | true |
2,780,595,585 | docs: get rid of copyright year | kuraga | closed | [
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 4 | CONTRIBUTOR | Fixes https://github.com/pytorch/pytorch/pull/144153#pullrequestreview-2540418083 | true |
2,780,545,749 | [MPS] Expose `MPSProfiler::start/stopCapture` to Python | malfet | closed | [
"Merged",
"topic: improvements",
"release notes: mps",
"ciflow/mps"
] | 5 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #144561
I.e. when `MTL_CAPTURE_ENABLED` environment variable is set to 1, one should be able to invoke wrap the code with `torch.mps.profiler.capture_metal` to generate gputrace for shaders invoked inside the context manager.
... | true |
2,780,545,596 | [MPS] Make MPSProfiler usable from C++ | malfet | closed | [
"Merged",
"topic: bug fixes",
"release notes: mps",
"ciflow/mps"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #144561
* __->__ #144560
* #144559
By moving `buildTensorString` implementation away from the header | true |
2,780,479,565 | [MPS] Make sure that MPSStream is usable from C++ | malfet | closed | [
"Merged",
"topic: bug fixes",
"release notes: mps",
"ciflow/mps"
] | 1 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #144561
* #144560
* __->__ #144559
It's intended to be, but this was never tested.
This change introduces no new functionality, just properly isolates ObjC implementation details from the potential C++ caller | true |
2,780,462,050 | Extend bmm tiling to work up to 2^32 elem in any single output dim | pytorchbot | closed | [
"open source",
"release notes: mps",
"ciflow/mps"
] | 1 | COLLABORATOR | The previous tiling implementation worked for up to 2^32 total elements per single batch entry. This extends the functionality to support the dimensions encountered in ComfyUI (output shape: 1,72250,72250).
Fixes #141909 | true |
2,780,349,466 | [BE][PYFMT] remove `black`: finish `black -> ruff format` migration | XuehaiPan | open | [
"open source",
"better-engineering",
"Stale",
"ciflow/trunk",
"topic: not user facing",
"no-stale",
"suppress-bc-linter"
] | 3 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #144557
* #144556
* #148186
* #144555
* #144554
* #148185
* #144553
* #144552
* #144551
* #144548
| true |
2,780,348,717 | [BE][PYFMT] migrate PYFMT for `test/[i-z]*/` to `ruff format` | XuehaiPan | open | [
"oncall: jit",
"open source",
"release notes: quantization",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 1 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #144556
* #148186
cc @EikanWang @jgong5 @wenzhe-nrv @sanchitintel @voznesenskym @penguinwu @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire ... | true |
2,780,348,255 | [BE][PYFMT] migrate PYFMT for `test/[a-h]*/` to `ruff format` | XuehaiPan | open | [
"oncall: distributed",
"open source",
"topic: not user facing",
"fx",
"module: dynamo",
"ciflow/inductor",
"release notes: distributed (checkpoint)"
] | 1 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #144555
cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @ezyang @SherlockNoMad @EikanWang @jgong5 @wenzhe-nrv @voznesenskym @penguinwu @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @jiayisunx... | true |
2,780,347,541 | [BE][PYFMT] migrate PYFMT for `torch/[a-c]*/` to `ruff format` | XuehaiPan | open | [
"oncall: jit",
"open source",
"module: amp (automated mixed precision)",
"NNC",
"Stale",
"release notes: quantization",
"topic: not user facing",
"fx",
"release notes: AO frontend"
] | 2 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #144554
* #148185
cc @EikanWang @jgong5 @wenzhe-nrv @sanchitintel @mcarilli @ptrblck @leslie-fang-intel @ezyang @SherlockNoMad | true |
2,780,347,111 | [BE][PYFMT] migrate PYFMT for `torch/[e-n]*/` to `ruff format` | XuehaiPan | open | [
"oncall: jit",
"open source",
"topic: not user facing",
"fx",
"ciflow/inductor",
"release notes: export"
] | 1 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #144553
* #144552
* #144548
cc @EikanWang @jgong5 @wenzhe-nrv @sanchitintel @ezyang @SherlockNoMad | true |
2,780,346,695 | [BE][PYFMT] migrate PYFMT for `torch/[p-z]*/` to `ruff format` | XuehaiPan | open | [
"module: cpu",
"open source",
"release notes: quantization",
"topic: not user facing",
"fx"
] | 1 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #144553
* __->__ #144552
* #144548
cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @ezyang @SherlockNoMad @EikanWang @wenzhe-nrv | true |
2,780,345,949 | [BE][PYFMT] migrate PYFMT for `torch/_[a-h]*/` to `ruff format` | XuehaiPan | open | [
"open source",
"Stale",
"topic: not user facing",
"ciflow/inductor",
"release notes: export"
] | 2 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #144551
| true |
2,780,345,542 | [BE][PYFMT] migrate PYFMT for `torch._inductor` to `ruff format` | XuehaiPan | closed | [
"module: rocm",
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"ciflow/mps",
"skip-pr-sanity-checks",
"module: inductor",
"ciflow/inductor"
] | 15 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #144550
cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang @naromero77amd @albanD @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzh... | true |
2,780,345,131 | [BE][PYFMT] migrate PYFMT for `torch._dynamo` to `ruff format` | XuehaiPan | closed | [
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor",
"module: compiled autograd"
] | 8 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #144550
* __->__ #144549
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames @xmfan @yf225 | true |
2,780,344,778 | [BE][PYFMT] migrate PYFMT for `{torch,test}/{nn,optim}/**` to `ruff format` | XuehaiPan | open | [
"oncall: distributed",
"open source",
"release notes: quantization",
"topic: not user facing",
"ciflow/inductor",
"release notes: distributed (checkpoint)"
] | 1 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #144553
* #144552
* __->__ #144548
cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @LucasLLC @MeetVadakkanchery @mhorowitz @pradeepfn @ekr0 | true |
2,780,344,442 | [BE][PYFMT] migrate PYFMT for `torch.{distributed,distributions}` to `ruff format` | XuehaiPan | closed | [
"oncall: distributed",
"oncall: jit",
"open source",
"Merged",
"ciflow/trunk",
"release notes: distributed (sharded)",
"topic: not user facing",
"ciflow/inductor"
] | 9 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #144548
* __->__ #144547
cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @EikanWang @jgong5 @wenzhe-nrv @sanchitintel @LucasLLC @MeetVadakkanchery @mhorowitz @pradeepfn @ekr0 | true |
2,780,344,116 | [BE][CI] bump `ruff` to 0.9.2: multiline `assert` statements | XuehaiPan | closed | [
"oncall: distributed",
"open source",
"Merged",
"ciflow/trunk",
"release notes: releng",
"topic: not user facing",
"fx",
"module: dynamo",
"ciflow/inductor"
] | 14 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #145606
* __->__ #144546
Reference: https://docs.astral.sh/ruff/formatter/black/#assert-statements
> Unlike Black, Ruff prefers breaking the message over breaking the assertion, similar to how both Ruff and Black prefer breaking the assi... | true |
2,780,340,561 | [MPS] fix triangular for >3D tensors | Isalia20 | closed | [
"triaged",
"open source",
"Merged",
"ciflow/trunk",
"release notes: mps",
"ciflow/mps"
] | 3 | COLLABORATOR | Old implementation leads to incorrect output due to not handling the other batch sizes other than 3D tensors(B, M, N) | true |
2,780,126,583 | Avoid running helper functions as test | Flamefire | closed | [
"oncall: distributed",
"open source",
"Merged",
"ciflow/trunk",
"release notes: distributed (fsdp)"
] | 3 | COLLABORATOR | Pytest considers all symbols starting with `test_` as a test case/function and runs them.
The `test_compiled_fsdp` is a decorator but due to the import discovered by pytest.
Rename it to avoid.
cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o | true |
2,780,022,337 | fix typo: "assumbed" | crcrpar | closed | [
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 3 | COLLABORATOR | null | true |
2,779,814,277 | Fix clang-tidy warnings of performance from uncovered files | cyyever | open | [
"oncall: distributed",
"module: cpu",
"triaged",
"open source",
"release notes: quantization",
"release notes: sparse",
"module: dynamo",
"ciflow/inductor"
] | 8 | COLLABORATOR | Fixes clang-tidy warnings from performance* checks.
cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @voznesenskym @penguinwu @EikanWang @Guobing-Chen @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng... | true |
2,779,764,071 | Fix poision child process issue when call getAccelerator() | pytorchbot | closed | [
"oncall: jit",
"open source"
] | 1 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #144370
* __->__ #144368
# Motivation
fix https://github.com/pytorch/pytorch/issues/144152
# Solution
- Align `at::globalContext()::hasXXX` to determine if accelerator XXX is built with PyTorch or an extension already registered to P... | true |
2,779,711,473 | torch.compile does not work with Flash attention 3 | nighting0le01 | open | [
"high priority",
"triaged",
"module: custom-operators",
"oncall: pt2",
"module: pt2-dispatcher",
"dynamo-triage-jan2025"
] | 3 | NONE | ### 🐛 Describe the bug
Torch.compile cannot compile when using FA-3 kernels
### Error logs
```
FA3 not working with torch.compile
[rank7]: torch._dynamo.exc.Unsupported: Graph break due to unsupported builtin flash_attn_3_cuda.PyCapsule.fwd. This function is either a Python builtin (e.g. _warnings.warn) or a thir... | true |
2,779,650,676 | `torch.index_put` raise error when `accumulate=True` | 0x45f | open | [
"module: cuda",
"triaged",
"module: advanced indexing"
] | 3 | NONE | ### 🐛 Describe the bug
I run the following code
```python
torch.set_default_device('cuda')
x = torch.arange(1, 61).reshape(5, 4, 3)
indices=[
# torch.tensor([1, 2, 0]),
torch.tensor([[0, 2], [1, 3]]),
# torch.tensor([0, 1, 2]),
# torch.tensor([0, 1, 2]),
]
values=torch.tensor([100, 200,... | true |
2,779,619,116 | dynamically set the number of SMs in torch.distributed.all_reduce | Rainlin007 | closed | [
"oncall: distributed",
"triaged"
] | 3 | NONE | ### 🚀 The feature, motivation and pitch
I want to dynamically set the number of SMs in torch.distributed.all_reduce. NCCL supports using the nccl_max_nchannels environment variable setting.but cant dynamically set in the program. It is mentioned here that ncclCommInitRankConfig can be used in the program [(link),](... | true |
2,779,435,711 | FlexAttention uses much more GPU memory than FlashAttention-2 | ChenlongDeng | open | [
"module: memory usage",
"triaged",
"oncall: pt2",
"module: higher order operators",
"module: pt2-dispatcher",
"module: flex attention"
] | 9 | NONE | ### 🐛 Describe the bug
Thank you for the outstanding work on PyTorch FlexAttention! I am currently trying to integrate FlexAttention with the Hugging Face Transformers framework for training. However, I noticed that FlexAttention seems to consume more GPU memory compared to FlashAttention-2. The issue can be reproduc... | true |
2,779,342,607 | [bug report template format] Simplify version information with HTML tags | shaoyuyoung | open | [
"module: collect_env.py",
"triaged",
"needs design"
] | 4 | CONTRIBUTOR | ### 🚀 The feature, motivation and pitch
When I looked at the bug report, I found the version information **too long and redundant**.
Many reporters are following the instructions here:

Reporters run the downloaded script ... | true |
2,779,334,146 | [Pipelining] Fix FSDP+PP stream sync bug | wconstab | closed | [
"oncall: distributed",
"Merged",
"ciflow/trunk",
"release notes: distributed (pipeline)",
"module: pipelining"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #144596
* #144352
* __->__ #144535
* #144534
This bug could cause gradient corruption as a race condition exists
between FSDP's reduce-scatter and any operations reading .grad on the
main stream. The root cause is that pipelining stage .... | true |
2,779,334,060 | [Pipelining] Improve test_pp_dp | wconstab | closed | [
"oncall: distributed",
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #144596
* #144352
* #144535
* __->__ #144534
Some refactoring, but important changes include
- initializing the weights properly so there are more nonzero gradients
flowing, which helped catch the DDP+PP+ZB bug
- make the DDP+ZB+PP bug ski... | true |
2,779,305,290 | [dynamo][hop] Introduce FlexAttentionBackwardHighOrderVariable | xmfan | closed | [
"Merged",
"ciflow/trunk",
"module: inductor",
"module: dynamo",
"ciflow/inductor",
"release notes: dynamo",
"module: higher order operators",
"module: compiled autograd",
"module: flex attention"
] | 8 | MEMBER | FIXES https://github.com/pytorch/pytorch/issues/143180
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #144533
This PR adds a new variable mapping to SourcelessBuilder to represent the flex attention intermediates. The variable proxies a call to HOP, and carryovers the graph st... | true |
2,779,302,861 | Something wrong with the torch.triu function on mps device | Matzohe | closed | [
"triaged",
"module: NaNs and Infs",
"module: correctness (silent)",
"module: mps"
] | 3 | NONE | ### 🐛 Describe the bug
While using the torch.triu function after torch.full like below:
```python
mask = torch.full(
(10, 10), float("-inf"), device="mps"
)
print(mask)
mask = torch.triu(mask, diagonal=1)
print(mask)
```
The lower triangle area should be 0.0, however, it's nan in the end.
<img width="12... | true |
2,779,271,034 | Fix deepcopy hooks | yushangdi | closed | [
"fb-exported",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"fx"
] | 4 | CONTRIBUTOR | Summary: As title, fix bug when a GraphModule doesn't have _deepcopy_hooks attribute
Test Plan:
```
buck2 test 'fbcode//mode/opt' fbcode//torchmultimodal/tests:tests -- --exact 'torchmultimodal/tests:tests - test_albef.py::test_dequeue_and_enqueue'
```
Differential Revision: D68002767
cc @ezyang @SherlockNoMad @E... | true |
2,779,260,369 | [Pipelining] PP+DDP does not work for Zero Bubble | wconstab | open | [
"oncall: distributed",
"triaged",
"bug",
"module: pipelining"
] | 0 | CONTRIBUTOR | Due to zero-bubble's implementation for backward bypassing torch.autograd.backward() in favor of calling .grad() directly, this skips hooks used by DDP for gradient reduction.
cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @d4l3k @c-p-i-o | true |
2,779,218,693 | Update torch-xpu-ops commit pin | xytintel | closed | [
"triaged",
"open source",
"topic: not user facing"
] | 2 | CONTRIBUTOR | Update the torch-xpu-ops commit to [a868a2e621e792c4393d86da9ccecd42a5bdfb84](https://github.com/intel/torch-xpu-ops/commit/a868a2e621e792c4393d86da9ccecd42a5bdfb84), includes:
- Enable device code compression on Windows and Linux
- Aten operator coverage improvement
- NestedTensorXPU backend support
| true |
2,779,213,245 | [canary] List -> list | bobrenjc93 | closed | [
"oncall: distributed",
"oncall: jit",
"module: rocm",
"module: cpu",
"module: amp (automated mixed precision)",
"release notes: quantization",
"fx",
"module: inductor",
"module: dynamo",
"ciflow/inductor",
"release notes: export",
"module: compiled autograd"
] | 1 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #144528
cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @EikanWang @jgong5 @wenzhe-nrv @sanchitintel @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxi... | true |
2,779,211,881 | [canary] Dict -> dict | bobrenjc93 | closed | [
"oncall: distributed",
"oncall: jit",
"module: rocm",
"module: cpu",
"module: amp (automated mixed precision)",
"release notes: quantization",
"fx",
"module: inductor",
"module: dynamo",
"ciflow/inductor",
"release notes: export",
"module: compiled autograd"
] | 1 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #144527
cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @EikanWang @jgong5 @wenzhe-nrv @sanchitintel @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hon... | true |
2,779,209,108 | [canary] Tuple -> tuple | bobrenjc93 | closed | [
"oncall: distributed",
"oncall: jit",
"module: cpu",
"module: amp (automated mixed precision)",
"fx",
"module: inductor",
"module: dynamo",
"ciflow/inductor",
"release notes: AO frontend",
"module: compiled autograd"
] | 1 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #144526
cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @EikanWang @jgong5 @wenzhe-nrv @sanchitintel @mingfeima @XiaobingSuper @ashokei @jingxu10 @mcarilli @ptrblck @leslie-fang-intel @ezyang @S... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.