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,896,185,986 | [FSDP2] CPU Offload Doest Not Work with `torch.nn.utils.clip_grad_norm` | leonardo0lyj | open | [
"oncall: distributed",
"triaged"
] | 5 | NONE | ### 🐛 Describe the bug
Hey Andrew @awgu , as a big fan of FSDP2 and DTensor, I find an potential issue with CPU Offload x clip grad norm 😄
*Demand*
- `fully_shard(offload_policy=CPUOffloadPolicy())`
- `torch.nn.utils.clip_grad_norm_(model.parameters())`
*Result*
- RuntimeError, DTensor grad clip tries to do allr... | true |
2,896,135,507 | [WIP] Initial implementation of Grouped Gemm API | ngimel | closed | [
"Merged",
"Reverted",
"ciflow/trunk",
"release notes: cuda",
"ci-no-td",
"ciflow/rocm-mi300"
] | 15 | COLLABORATOR | This PR provides initial cutlass implementation of grouped gemm api as described in this [document](https://docs.google.com/document/d/1985La6wUUVH1AGBkNhaGKUXzx-9ybtbUp567-vYVOM4/edit?tab=t.0#heading=h.g8lzbjnyzzx9). Any combination of 2d and 3d inputs is supported, with 2d input being jagged, and the offsets of the j... | true |
2,896,117,881 | refactor delayed compile to use code context | bobrenjc93 | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor"
] | 5 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148530
* #148509
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,896,093,958 | Fix clang-tidy bugprone* warnings | cyyever | open | [
"oncall: distributed",
"module: cpu",
"triaged",
"open source",
"release notes: quantization",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor",
"module: compiled autograd"
] | 3 | COLLABORATOR | Fixes #ISSUE_NUMBER
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 @chauhang @amjames @xmfan | true |
2,896,083,375 | macos15 M4 can not install torch-2.6.0-cp310-none-macosx_11_0_arm64.whl | jasperchen01 | closed | [
"module: binaries",
"triaged",
"module: macos"
] | 2 | NONE | pip install torch-2.6.0-cp310-none-macosx_11_0_arm64.whl.
ERROR: torch-2.5.1-cp310-none-macosx_11_0_arm64.whl is not a supported wheel on this platform.
I also tried torch-2.6.0-cp312-none-macosx_11_0_arm64.whl, torch-2.6.0-cp313-none-macosx_11_0_arm64.whl. They all have the same issue.
cc @seemethere @malfet @osalp... | true |
2,896,081,565 | [FlexAttention] Error using create_block_mask with mask head number greater than 1 | ChenlongDeng | closed | [
"triaged",
"oncall: pt2",
"module: higher order operators",
"module: pt2-dispatcher",
"module: flex attention"
] | 2 | NONE | ### 🐛 Describe the bug
I have encountered an error when using the flex_attention function in combination with a block mask. Specifically, the error occurs when the mask `created by create_block_mask` is configured with a head number greater than 1. If the mask head number is set to 1, the code runs without any issue... | true |
2,896,066,943 | Implement gradient for the `residuals` of `torch.linalg.lstsq` | Bichidian | closed | [
"triaged",
"open source",
"Merged",
"ciflow/trunk",
"release notes: linalg_frontend"
] | 9 | CONTRIBUTOR | Fixes #147543.
I have written some tests in python using `gradcheck`. Please advise where I should put these tests. | true |
2,896,051,092 | DISABLED test_sdpa_rewriter_11_cuda (__main__.SDPAPatternRewriterCudaTests) | pytorch-bot[bot] | open | [
"module: rocm",
"triaged",
"module: flaky-tests",
"skipped",
"oncall: pt2",
"module: inductor"
] | 1 | NONE | Platforms: rocm
This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_sdpa_rewriter_11_cuda&suite=SDPAPatternRewriterCudaTests&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/38207753776).
Over the past 3 hour... | true |
2,896,051,007 | DISABLED test_graph_break_before___enter__ (__main__.ContextlibContextManagerTests) | pytorch-bot[bot] | closed | [
"triaged",
"module: flaky-tests",
"skipped",
"oncall: pt2",
"module: dynamo"
] | 2 | NONE | Platforms: linux, rocm
This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_graph_break_before___enter__&suite=ContextlibContextManagerTests&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/38205104098).
Over ... | true |
2,896,050,969 | DISABLED test_globals_change_in_other_file (__main__.ContextlibContextManagerTests) | pytorch-bot[bot] | open | [
"module: rocm",
"triaged",
"module: flaky-tests",
"skipped",
"oncall: pt2",
"module: dynamo"
] | 1 | NONE | Platforms: rocm
This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_globals_change_in_other_file&suite=ContextlibContextManagerTests&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/38207230837).
Over the pas... | true |
2,895,959,706 | [Intel GPU][pt2e] Enable quantized grouped convolution at XPU | ZhiweiYan-96 | closed | [
"module: cpu",
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor",
"ciflow/xpu"
] | 3 | COLLABORATOR | # Motivation&Details
This PR fix a bug that blocked quantized group convolution before. The bug is caused by that, grouped convolution requires setting weight scale mask on both group dimension and output channel dimension. This PR fixs the wrong mask in integration and add grouped conv in UT.
# UT
` python test/i... | true |
2,895,957,057 | [cutlass backend] Forward fix for less aligned gemm shapes | henrylhtsang | closed | [
"fb-exported",
"Merged",
"Reverted",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor",
"ci-no-td"
] | 14 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148521
Differential Revision: [D70600093](https://our.internmc.facebook.com/intern/diff/D70600093/)
1. Check if config name filtering still works.
Tested, it works
2. do we get C++ compile error
Yes, potentially we need to f... | true |
2,895,878,898 | Add missing header for Windows dynamo builds | cyyever | closed | [
"open source",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor",
"module: compiled autograd"
] | 2 | COLLABORATOR | Fixes #148317
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames @xmfan | true |
2,895,857,449 | reshape is decomposed to view setting allow_copy=False making it fail in some case! | laithsakka | open | [
"triaged",
"module: dynamic shapes",
"data dependent error"
] | 6 | CONTRIBUTOR | I have a reshape, and its being decomposed to
```
@register_decomposition(aten.view.default)
def view(a: TensorLikeType, *shape: ShapeType) -> TensorLikeType:
return _reshape_view_helper(a, *shape, allow_copy=False)
```
but this call fail because we pass allow_copy = False however it would succeed if we pass allow... | true |
2,895,850,306 | Preview (Nightly) version cuda12.8 cannot find torchaudio file | xrfbb | open | [
"module: build",
"module: cuda",
"triaged"
] | 1 | NONE | ### 🐛 Describe the bug
Preview (Nightly) version cuda12.8 cannot find torchaudio file
### Versions
Preview (Nightly) version cuda12.8 cannot find torchaudio file
cc @malfet @seemethere @ptrblck @msaroufim @eqy | true |
2,895,834,920 | [PT2] Port use_triton_dot_compress to PT2 pre_grad passes | huxintong | closed | [
"fb-exported",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 7 | CONTRIBUTOR | Summary: add use_triton_dot_compress in pre_grad
Test Plan:
```
scripts/aetk/aetk -L
%run ~/fbsource/fbcode/caffe2/test/inductor/fb/test_customized_triton_kernel_passes.py
```
Reviewed By: frank-wei
Differential Revision: D68909838
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhu... | true |
2,895,833,919 | [ca][aot] mark activations as maybe dynamic | xmfan | closed | [
"topic: not user facing",
"ciflow/inductor"
] | 1 | MEMBER | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #149367
* __->__ #148516
* #149642
* #149641
* #149229
CA will lift all the activations as graph inputs. Outside of CA, I don't think these marked activation tensors are ever visible as inputs to torch.compile | true |
2,895,815,372 | DISABLED test_set_stance_eager_then_compile (__main__.DecoratorTests) | pytorch-bot[bot] | open | [
"triaged",
"module: flaky-tests",
"skipped",
"oncall: pt2",
"module: dynamo"
] | 2 | NONE | Platforms: linux, mac, macos
This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_set_stance_eager_then_compile&suite=DecoratorTests&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/38194939340).
Over the past... | true |
2,895,815,322 | DISABLED test_freevars_as_inputs_to_wrap_dynamic_shapes (__main__.DynamicShapesHigherOrderOpTests) | pytorch-bot[bot] | closed | [
"triaged",
"module: flaky-tests",
"skipped",
"oncall: pt2",
"module: dynamo"
] | 5 | NONE | Platforms: asan, linux, rocm, mac, macos
This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_freevars_as_inputs_to_wrap_dynamic_shapes&suite=DynamicShapesHigherOrderOpTests&limit=100) and the most recent trunk [workflow logs](https://github.com/pyto... | true |
2,895,776,883 | Add sparsity | drisspg | closed | [
"Merged",
"topic: not user facing"
] | 8 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148513
| true |
2,895,765,793 | [MPS] Fix unary_kernel_strided logic | malfet | closed | [
"Merged",
"topic: bug fixes",
"release notes: mps",
"ciflow/mps"
] | 3 | CONTRIBUTOR | Fixes bug introduced by https://github.com/pytorch/pytorch/pull/148350
Before this change
```
% python3 -c "import torch; x, y = torch.arange(128.0, device='mps').reshape(2, 8, 8).unbind(0); print(torch.sqrt(x[::2, ::2], out=y[::2, ::2]))"
tensor([[ 0.0000, 1.4142, 2.0000, 2.4495],
[ 80.0000, 82.00... | true |
2,895,756,919 | [MAIA] [Autocast] Enable autocast on MAIA device | wschin | closed | [
"triaged",
"open source",
"module: amp (automated mixed precision)",
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 4 | COLLABORATOR | Fixes #148510.
cc @mcarilli @ptrblck @leslie-fang-intel @jgong5 | true |
2,895,755,466 | [MAIA][Autocast] torch.autocast doesn't work on MAIA device | wschin | closed | [
"triaged",
"module: amp (automated mixed precision)"
] | 2 | COLLABORATOR | In our internal codebase, the following code fails because MAIA device does not have autocast support.
```py
emb = torch.rand(1, 6 ,64)
with torch.autocast(device_type="maia"):
cos = emb.cos()
```
We plan to fix this by adding `AutocastMAIA` dispatch key and updating autocast.h/cpp to include fall-through and defa... | true |
2,895,746,463 | Add aot_eager_then_compile stance | bobrenjc93 | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor"
] | 8 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #148530
* __->__ #148509
Sometimes `eager_then_compile` stance isn't enough since some models are so close to the memory limit that going to eager will OOM since we don't get the memory reductions from activation checkpointing. This PR intr... | true |
2,895,732,915 | Record how many parameters we're parsing within dynamo | 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):
* __->__ #148508
This allows us to track how many paramaters we have in compilations.
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @am... | true |
2,895,729,524 | [export] Fix AttrProxy slicing | angelayi | closed | [
"Merged",
"ciflow/trunk",
"release notes: fx",
"fx",
"ciflow/inductor"
] | 3 | CONTRIBUTOR | Fixes https://fb.workplace.com/groups/1028545332188949/permalink/1159599265750221/
cc @ezyang @SherlockNoMad @EikanWang @jgong5 @wenzhe-nrv | true |
2,895,717,514 | Support basic TorchBind in aot_compile and aoti_compile_and_package | yushangdi | closed | [
"fb-exported",
"Merged",
"ciflow/trunk",
"module: inductor",
"ciflow/inductor",
"release notes: export"
] | 19 | CONTRIBUTOR | Summary:
**Codegen**
- Skip some codegen parts for torchbind (such as arg decleration) because they are loaded in proxy executor, so we do not need to declare torchbind args in cpp code
- Added a helper method to get the schema of CallTorchBind HOP. The returned schema is only the schema of `obj.method()`.
**Seriali... | true |
2,895,696,311 | Change constexpr annotation to specific initialization (test: triton_kernel_constants) | FindHao | closed | [
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 2 | MEMBER | This pull request includes changes to the `test/inductor/test_triton_kernels.py` file to update the usage of `tl.constexpr` annotations in accordance with recent changes in Triton.
https://github.com/triton-lang/triton/pull/5961 doesn't allow constexpr annotation `x: triton.language.constexpr = 42` anymore. The sugg... | true |
2,895,680,731 | [FSDP2] improve error msg for duplicate wraps | weifengpy | open | [
"oncall: distributed",
"triaged",
"module: fsdp"
] | 0 | CONTRIBUTOR | ### 🚀 The feature, motivation and pitch
should remind people to check fsdp wrapped modules, instead of showing error aorund ND device mesh
```
class ToyModel(nn.Module):
def __init__(self):
super(ToyModel, self).__init__()
self.net1 = nn.Linear(10, 10)
self.relu = nn.ReLU()
self.ne... | true |
2,895,679,174 | [triton] Warp specialization support in torchinductor | mandroid6 | closed | [
"fb-exported",
"Merged",
"Reverted",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor",
"ci-no-td"
] | 26 | CONTRIBUTOR | Summary:
Currently only `num_warps` and `num_stages` are supported as one of the kernel options for inductor auto-tuning using `TritonTemplate`. In order to allow warp-specialization kernel options should allow specifying `num_consumer_groups` and `num_buffers_warp_spec` as well.
Test Plan:
## Unit test
Added t... | true |
2,895,649,313 | [Inductor-CPU] Disable auto-tuning for templated int8 WoQ GEMM for small M to fix perf regression | sanchitintel | open | [
"open source",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 11 | COLLABORATOR | ### Summary
Described in #148494 - this PR fixes a regression (compared to the default Inductor-CPU behavior of not using max-autotune) for templated int8 WoQ GEMM (with BF16 activation) for small M dimension by disabling auto-tuning for small `M`, so that the ATen `_weight_int8pack_mm` kernel would be used.
The si... | true |
2,895,648,956 | [codemod] Remove unused-variable in caffe2/torch/csrc/distributed/c10d/cuda/AsyncMM.cu | r-barnes | closed | [
"oncall: distributed",
"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,895,638,991 | [Dyamo] Replace unimplemented with unimplemented_v2 for variables/distributed | yanboliang | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor"
] | 3 | CONTRIBUTOR | Fixes #ISSUE_NUMBER
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,895,617,690 | Fix only logging ir_post_fusion with torch_compile_debug enabled | eellison | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148499
Because we were invoking the logs through `V.debug`, it was not running if TORCH_COMPILE_DEBUG was not set. this is because there is some magic the in debug [getattr](https://github.com/pytorch/pytorch/blob/d789c22712a1e776... | true |
2,895,609,079 | `distributed.checkpoint.async_save` leading to `TypedStorage is deprecated.` | jamesbraza | closed | [
"oncall: distributed checkpointing"
] | 6 | CONTRIBUTOR | ### 🐛 Describe the bug
The below code using `torch.distributed.checkpoint.async_save` with `torch==2.5.1` emits a warning:
```python
from pathlib import Path
import torch.distributed as dist
import torch.distributed.checkpoint as dcp
from torch import nn
model = nn.Sequential(
nn.Linear(784, 512), nn.ReLU(), n... | true |
2,895,592,351 | Implement fast access to individual elements of jagged nested tensors | fleonce | open | [
"triaged",
"open source",
"topic: performance",
"release notes: nested tensor"
] | 6 | CONTRIBUTOR | I removed the dependency on `tensor.unbind()` discussed in #148379 and replaced it with basic indexing ops on the values tensor based on the inputs.
Feedback would greatly be appreciated, I am not sure i got the part with the lengths right - wasnt able to find a lot of documentation on jagged tensors, I hope I under... | true |
2,895,569,280 | [ROCm] fix CK compile for gfx1200 | alugorey | closed | [
"module: rocm",
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"ciflow/rocm"
] | 6 | CONTRIBUTOR | gfx1200 causes the CK-based GEMM to fail to compile because CK is choosing an incorrect FP8 interpretation. CK assumes FP8 interpretation is static and chosen prior to compilation. This PR is a work-around that makes the selection dynamic during hipclang compilation passes.
cc @jeffdaily @sunway513 @jithunnair-amd @... | true |
2,895,550,299 | UNSTABLE trunk / libtorch-linux-focal-cuda12.4-py3.10-gcc9-debug / build | malfet | closed | [
"module: ci",
"triaged",
"module: regression",
"unstable"
] | 12 | CONTRIBUTOR | See https://hud.pytorch.org/hud/pytorch/pytorch/c677f3251f46b4bffdaa7758fb7102d665b6f11b/1?per_page=50&name_filter=%20libtorch-linux-focal-cuda12.4-py3.10-gcc9-debug%20%2F%20build but revert did not help
Currently failing out with errors similar to:
```
/usr/bin/ld: /var/lib/jenkins/cpp-build/caffe2/build/lib/libtorc... | true |
2,895,543,976 | [Inductor-CPU] Templated int8 WoQ GEMMs (with BF16 activation) may cause regressions for next-token generation of LLMs | sanchitintel | open | [
"oncall: pt2",
"oncall: cpu inductor"
] | 9 | COLLABORATOR | ### 🐛 Describe the bug
Inductor-CPU templated int8 WoQ (with BF16 activation) GEMMs for next-token generation (with small `M` dimension) are faster than their ATen counterparts during auto-tuning, so they're chosen at compile time, but they might cause a regression when a model is run end-to-end. (A digression: duri... | true |
2,895,541,696 | [cutlass backend][BE] Fix two small things in cutlass backend standalone debugger | henrylhtsang | 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):
* __->__ #148493
Differential Revision: [D70583777](https://our.internmc.facebook.com/intern/diff/D70583777/)
Two really small things:
* The bits in BlockFillRandomUniform would round float to ints
* when bias exists, the order of args ... | true |
2,895,537,919 | [triton hash update] update the pinned triton hash | pytorchupdatebot | open | [
"open source",
"ciflow/trunk",
"topic: not user facing",
"ciflow/inductor",
"ciflow/rocm"
] | 206 | COLLABORATOR | This PR is auto-generated nightly by [this action](https://github.com/pytorch/pytorch/blob/main/.github/workflows/nightly.yml).
Update the pinned triton hash. | true |
2,895,509,352 | [aot cache][ca] remove restriction on caching ca's aot inference graph | xmfan | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor"
] | 12 | MEMBER | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148491
* #148381
but still can't cache CA's aot inference graph yet: the CA functional ops aren't serializable
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisun... | true |
2,895,496,094 | chore: fix code descriptions in the test package | threewebcode | closed | [
"open source",
"topic: not user facing"
] | 2 | CONTRIBUTOR | The parameter and function description have something wrong and make them correct.
Fixes #ISSUE_NUMBER
| true |
2,895,462,715 | Disable some SVE autovec | Nicoshev | closed | [
"module: cpu",
"module: third_party",
"fb-exported",
"module: arm",
"Merged",
"ciflow/trunk",
"release notes: cpp",
"topic: bug fixes"
] | 10 | CONTRIBUTOR | Summary: autovec miscompiles on patterns of the type:
```cpp
for (const auto i : c10::irange())
```
Same issue as described in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117001 and addressed by https://github.com/pytorch/pytorch/pull/137795 for gcc, but not clang
Test Plan:
buck2 build //caffe2/caffe2/fb/tra... | true |
2,895,458,451 | Suppress more warnings | tugsbayasgalan | open | [
"fb-exported",
"ciflow/inductor",
"release notes: export"
] | 2 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #149288
* __->__ #148488
* #148485
| true |
2,895,445,035 | export lift_constants_pass creates ugly warning | tugsbayasgalan | open | [
"triaged",
"oncall: pt2",
"export-triaged",
"oncall: export"
] | 0 | CONTRIBUTOR | ### 🐛 Describe the bug
Outputs:
```
/data/users/tmanlaibaatar/pytorch/torch/_export/passes/lift_constants_pass.py:210: UserWarning: _param_constant777 created when tracing File "/home/tmanlaibaatar/.conda/envs/pytorch-3.12/lib/python3.12/site-packages/transformers/models/blip/modeling_blip_text.py", line 877, in forw... | true |
2,895,401,933 | ci: Add workflow dispatch for commit hash update | seemethere | closed | [
"Merged",
"topic: not user facing"
] | 4 | MEMBER | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148486
* #148472
* #148466
Maybe this should also be split into its own workflow instead of piggy
backing off of nightly?
Signed-off-by: Eli Uriegas <eliuriegas@meta.com> | true |
2,895,391,658 | Demote logger of runtime_asserts_frozen to be fired only on debug mode | tugsbayasgalan | open | [
"fb-exported",
"release notes: fx",
"fx",
"ciflow/inductor"
] | 2 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #149288
* #148488
* __->__ #148485
cc @ezyang @SherlockNoMad @EikanWang @jgong5 @wenzhe-nrv | true |
2,895,386,826 | [BE][pytree] rename argument name in register function to match the type annotations: `*_fn -> *_func` | XuehaiPan | open | [
"open source",
"topic: not user facing",
"module: pytree",
"fx",
"ciflow/inductor",
"release notes: export"
] | 1 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148484
* #148474
This PR renames the arguments name in `register_pytree_node` from `*_fn -> *_func`. Either the new names or the old names can be passed. A `FutureWarning` will be emitted when the old argument names are passed.
c... | true |
2,895,379,486 | Remove warnings on non-buffer tensor constants | tugsbayasgalan | closed | [
"fb-exported",
"Merged",
"ciflow/trunk",
"release notes: fx",
"fx"
] | 12 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148483
* #148364
Export already registers tensor constants directly in the graph and this is also true for Torchbind objects. This removes warning that pollutes the output.
cc @ezyang @SherlockNoMad @EikanWang @jgong5 @wenzhe-... | true |
2,895,365,921 | Export shouldn't warn when registering constant tensor attribute on graph module. | tugsbayasgalan | open | [
"triaged",
"oncall: pt2",
"export-triaged",
"oncall: export"
] | 0 | CONTRIBUTOR | ### 🐛 Describe the bug
```python
import torch
class DummyModel(torch.nn.Module):
def __init__(self):
super().__init__()
self.a = torch.ones(4, 4)
def forward(self, start):
return start + self.a
f = DummyModel()
ep = torch.export.export(f, (torch.ones(4, 4),)).module()
```
This em... | true |
2,895,357,504 | [dynamo][guards] Fix mem leak caused be refcount increment | anijain2305 | closed | [
"module: dynamo",
"ciflow/inductor"
] | 2 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148481
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,895,345,752 | [dynamo][guards] Fix mem leak caused be refcount increment | anijain2305 | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor"
] | 6 | CONTRIBUTOR | Should help [internalfb.com/sevmanager/view/491701](https://www.internalfb.com/sevmanager/view/491701)
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,895,343,242 | export is emitting too many not actionable warnings. | tugsbayasgalan | open | [
"triaged",
"oncall: pt2",
"module: dynamic shapes",
"export-triaged",
"oncall: export"
] | 0 | CONTRIBUTOR | ### 🐛 Describe the bug
Repro:
1. git clone https://github.com/zhxchen17/torchnative
2. python wip/flux_aoti.py
Will see:
```
# [W0225](https://l.workplace.com/l.php?u=https%3A%2F%2Fwww.internalfb.com%2Fintern%2Fworkorder%2F0225&h=AT2t6XcEf6l_vVsx3j6QkHMgmzPh0AuviZbhpkYwGGq3CfsUcLL7qLTVvbPbAOguj_DtDf_dTP0ugC0skKsAft... | true |
2,895,334,191 | export dynamic shapes API throws weird error on upper bound. | tugsbayasgalan | open | [
"oncall: pt2",
"export-triaged",
"oncall: export"
] | 3 | CONTRIBUTOR | ### 🐛 Describe the bug
Repro instruction:
1. git clone https://github.com/zhxchen17/torchnative
2. Apply this patch
```
diff --git a/wip/flux_aoti.py b/wip/flux_aoti.py
index c48dc74..4218be3 100644
--- a/wip/flux_aoti.py
+++ b/wip/flux_aoti.py
@@ -103,10 +103,12 @@ with torch.inference_mode():
fmodel.cuda()
... | true |
2,895,328,763 | XPU not available until I sign into server locally | alexanderwebber | closed | [
"triaged",
"module: xpu"
] | 15 | NONE | ### 🐛 Describe the bug
If I connect to my desktop remotely through either ssh or VS Code, when I run:
```
import torch
if torch.xpu.is_available():
device = torch.device("xpu")
else:
device = torch.device("cpu")
print(f"Using device: {device}")
```
it prints cpu.
However, if I sign into my desktop locally... | true |
2,895,315,935 | Illegal memory access in scaled_dot_product_attention if only attn_mask requires grad | Aleko2286 | open | [
"module: cuda",
"triaged",
"module: sdpa"
] | 1 | NONE | ### 🐛 Describe the bug
There is an illegal memory access in torch.nn.functional.scaled_dot_product_attention during the backward pass when using a float attention mask that requires grad while q, k and v do not require grad.
```python
import torch
q, k, v = (torch.randn((1, 1, 64, 16), device="cuda") for _ in range... | true |
2,895,299,093 | Dynamo replaces exception by hard error in `run_node` | guilhermeleobas | open | [
"triaged",
"oncall: pt2",
"module: dynamo"
] | 0 | COLLABORATOR | ### 🐛 Describe the bug
While working on PR [#146500](https://github.com/pytorch/pytorch/pull/146500), I noticed that some tests assert that a PyTorch function raises an exception for certain inputs. One example is `TestTorchDeviceTypeCPU.test_broadcast_fn_ge_cpu`.
Below is a minimal reproducer of what most of the fa... | true |
2,895,292,156 | [BE][pytree] rename `NodeDef` member to match the type annotations: `*_fn -> *_func` | XuehaiPan | open | [
"open source",
"topic: not user facing",
"module: pytree",
"release notes: export"
] | 1 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #148484
* __->__ #148474
This PR renames the member in `NodeDef` from `*_fn -> *_func`. The old names are aliased to the new names and will emit a `FutureWarning` when accessed.
cc @zou3519 | true |
2,895,281,571 | [dynamo][guards] Fix mem leak caused by extra refcount increment | anijain2305 | closed | [
"ciflow/trunk",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor"
] | 2 | CONTRIBUTOR | Should help https://www.internalfb.com/sevmanager/view/491701
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,895,243,089 | ci: Add triton to update hash workflow | seemethere | closed | [
"Merged",
"topic: not user facing"
] | 2 | MEMBER | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #148486
* __->__ #148472
* #148466
Adds triton to our auto-update workflows so that PRs can be
automatically made and the triton team can follow up to fix any issues
that may arise.
Signed-off-by: Eli Uriegas <eliuriegas@meta.com> | true |
2,895,240,913 | [MPS][BE] Fix `c10::metal::sinc` implementation | malfet | closed | [
"Merged",
"topic: not user facing",
"release notes: mps",
"ciflow/mps"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #148468
* __->__ #148471
Restrict scalar implementation to `is_scalar_floating_point_v` types, but perform all internal computations in full 32-bit floats. Make complex implementation a template for `is_complex_v` types
This makes its eage... | true |
2,895,231,394 | [dynamo] Properly account for non-list instances in list comparison | StrongerXi | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor"
] | 7 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148470
As title; this patch also removes an unused `list_compare` method.
Fixes #148179.
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @ch... | true |
2,895,217,330 | Upgrade github ubuntu-20.04 runners to ubuntu-24.04 | clee2000 | closed | [
"Merged",
"topic: not user facing"
] | 3 | CONTRIBUTOR |
The github provided ubuntu-20.04 gha runners are being deprecated (https://togithub.com/actions/runner-images/issues/11101) so upgrade workflows using them to the latest runner 24.04
They are currently doing a brownout, resulting in failures like: https://github.com/pytorch/pytorch/actions/runs/13660782115
```
[... | true |
2,895,162,930 | [MPS] Introduce strides unary op | malfet | closed | [
"Merged",
"topic: performance",
"release notes: mps",
"ciflow/mps"
] | 6 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148468
By adding following template
```metal
template <typename T, typename F>
kernel void unary_strided(
device result_of<F, T>* output [[buffer(0)]],
constant T* input [[buffer(1)]],
constant long* sizes [[buffer... | true |
2,895,152,726 | [PGNCCL] Launch kernel on current stream & remove `record_stream` entirely | kwen2501 | closed | [
"oncall: distributed",
"release notes: distributed (c10d)"
] | 2 | CONTRIBUTOR | This PR has multiple changes to `ProcessGroupNCCL` (which unfortunately have to be atomic):
1. When async_op=False, we directly launch the collective on "current" stream instead of a trampoline stream and join back.
- Resolves #147729
- Resolves #146881
- Also saves an event sync and one pybind during the unnecess... | true |
2,895,145,915 | ci: Consolidate commit hash updates into a matrix | seemethere | closed | [
"Merged",
"topic: not user facing"
] | 2 | MEMBER | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #148486
* #148472
* __->__ #148466
Consolidates all of our commit hash update jobs into a single matrix to
make it easier to add more jobs later on.
Side note: How do I even test if this works?
Signed-off-by: Eli Uriegas <eliuriegas@... | true |
2,895,133,064 | [aarch64] add libcufile for cu126 and cu128 | tinglvv | closed | [
"triaged",
"open source",
"Merged",
"ciflow/binaries",
"ciflow/trunk",
"topic: not user facing"
] | 6 | COLLABORATOR | seeing ` File "/usr/local/lib/python3.12/site-packages/torch/__init__.py", line 411, in <module>
from torch._C import * # noqa: F403
^^^^^^^^^^^^^^^^^^^^^^
ImportError: libcufile.so.0: cannot open shared object file: No such file or directory` with arm cu128 nightly.
related to https://github.com/pytorch/... | true |
2,895,130,865 | DISABLED test_capture_untracked_nonlocal_dynamic_shapes (__main__.DynamicShapesHigherOrderOpTests) | pytorch-bot[bot] | closed | [
"triaged",
"module: flaky-tests",
"skipped",
"oncall: pt2",
"module: dynamo"
] | 6 | NONE | Platforms: asan, linux, rocm, mac, macos
This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_capture_untracked_nonlocal_dynamic_shapes&suite=DynamicShapesHigherOrderOpTests&limit=100) and the most recent trunk [workflow logs](https://github.com/py... | true |
2,895,130,862 | DISABLED test_set_stance_eager_then_compile_with_graph_break (__main__.DecoratorTests) | pytorch-bot[bot] | open | [
"triaged",
"module: flaky-tests",
"skipped",
"oncall: pt2",
"module: dynamo"
] | 3 | NONE | Platforms: asan, linux, mac, macos
This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_set_stance_eager_then_compile_with_graph_break&suite=DecoratorTests&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/381... | true |
2,895,090,945 | [c10d][PGNCCL] Fix capturability of isend and irecv | Aidyn-A | closed | [
"oncall: distributed",
"open source",
"Merged",
"ciflow/trunk",
"release notes: distributed (c10d)"
] | 3 | COLLABORATOR | This PR fixes an issue of inability to capture `isend`/`irecv` ops in `async` mode.
<details>
<summary>The repro code</summary>
```Python
import os
import torch
import torch.distributed as dist
USE_ASYNC = True
def test_func(x, rank):
if rank == 0:
x += 1
# Send the tensor to proc... | true |
2,895,083,602 | meta registration for torch._scaled_mm with mxfp8 | vkuzo | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148461
Summary:
Adds the meta registration logic for torch.compile to work with
`torch._scaled_mm` with mxfp8. Thanks to @eellison for the pointer to make inductor work with this.
Test Plan:
```
pytest test/test_matmul_... | true |
2,895,076,468 | [dynamo] Memory leak | anijain2305 | closed | [
"high priority",
"triaged",
"oncall: pt2"
] | 1 | CONTRIBUTOR | ### 🐛 Describe the bug
Might be related to https://www.internalfb.com/sevmanager/view/491701
```
import torch
import logging
@torch._dynamo.disable
def break_gn(x):
return torch.sin(x)
def gn(x0, x):
return x0 * break_gn(x)
class MyMod(torch.nn.Module):
def __init__(self):
super().__init__()
... | true |
2,895,053,194 | Remove `torch.testing` from `MOD_SKIPLIST` | guilhermeleobas | open | [
"open source",
"Stale",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor",
"keep-going"
] | 2 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148459
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,894,963,328 | [PP] RFC for fixing microbatch splitting for dim != 0 | H-Huang | closed | [
"oncall: distributed",
"Stale",
"release notes: distributed (pipeline)"
] | 2 | MEMBER | There are two issues when we perform the microbatch splitting in `PipelineSchedule.step()` only arise when we don't use the default (split on dim=0):
1) The check for valid tensor stride will fail. We use `tensor_split()` which creates a view of the original tensor and does not update the stride. We could make each ... | true |
2,894,960,011 | backport torch.library.custom_op (and improvements) to older versions of PyTorch | zou3519 | open | [
"triaged",
"module: custom-operators",
"oncall: pt2",
"module: pt2-dispatcher"
] | 0 | CONTRIBUTOR | this is potentially worth it for APIs that are heavily used by library authors
cc @chauhang @penguinwu @bdhirsh | true |
2,894,900,448 | [MPS] natural log metal kernel | Isalia20 | closed | [
"open source",
"topic: performance",
"module: mps",
"release notes: mps",
"ciflow/mps"
] | 3 | COLLABORATOR | Issue https://github.com/pytorch/pytorch/issues/148219 highlighted the high dispatch times of ops which ran with MPS Graph on smaller tensors. This PR rewrites the log with metal kernel to mitigate that issue
cc @kulinseth @albanD @malfet @DenisVieriu97 @jhavukainen | true |
2,894,848,700 | Update docstring to match code. | jjh42 | closed | [
"triaged",
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 11 | CONTRIBUTOR | Very tiny fix to doc string. Pass grid_size=None results in an Exception. | true |
2,894,826,371 | [compiled_autograd] workaround windows compilation issue | zou3519 | closed | [
"Merged",
"ciflow/trunk",
"module: dynamo",
"ciflow/inductor",
"release notes: dynamo",
"module: compiled autograd"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148454
torch.compile doesn't work on windows so we can ifdef-away the problem.
I do not know what the root cause actually is. Most notably, the pytorch
windows build is fine, but some third-party projects that use pytorch headers
on ... | true |
2,894,793,743 | [ONNX] Use onnxscript apis for 2.7 | justinchuby | closed | [
"module: onnx",
"open source",
"Merged",
"ciflow/trunk",
"release notes: onnx",
"topic: not user facing"
] | 8 | COLLABORATOR | Use onnxscript apis for 2.7.
Remove reference to `torchlib_opset()` and `torchlib_opset_version()` which were removed in the onnxscript 2.7 apis. These apis were removed because torchlib in onnxscript will always stay on opset 18. Future opset version bumps will happen in pytorch core after the migration of torchlib... | true |
2,894,779,750 | Enable more nightly tests on s390x | AlekseiNikiforovIBM | closed | [
"triaged",
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"module: dynamo",
"ciflow/inductor",
"ciflow/s390"
] | 8 | COLLABORATOR | Also enable some tests which probably were accidentally disabled.
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov | true |
2,894,758,669 | BC-linter should ignore testing/linter/adapters/ | rec | open | [
"module: lint",
"triaged"
] | 0 | COLLABORATOR | ### 🐛 Describe the bug
BC-linter triggers on API changes to files in `testing/linter/adapters/` but this code isn't used external to Pytorch, or even anywhere else inside the project. (Noted by @amjames.)
### Versions
PyTorch version: 2.7.0a0+git5e189c7
Is debug build: False
CUDA used to build PyTorch: 12.4
ROCM us... | true |
2,894,726,871 | Add a couple config options to compiler bisector | eellison | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #148450
These are commonly source of bugs/divergence (through bad interactions etc)
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang7... | true |
2,894,706,134 | [MPS][BE] Towards strided unary ops support | malfet | closed | [
"Merged",
"release notes: mps",
"ciflow/mps"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #148468
* #148471
* __->__ #148449
Add generic functors kernels and rewrite all existing implementations into functors | true |
2,894,705,986 | [MPS] Add some useful utils | malfet | closed | [
"Merged",
"topic: not user facing",
"module: mps",
"ciflow/mps"
] | 4 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #148468
* #148449
* __->__ #148448
* #148399
* #148398
Like `is_compex_v`, `is_scalar_intergral_v`, `result_of` etc
cc @kulinseth @albanD @DenisVieriu97 @jhavukainen | true |
2,894,627,498 | Union type raise error when running python with argument "-O" for torch script. | hzhangxyz | open | [
"oncall: jit"
] | 1 | NONE | ### 🐛 Describe the bug
As discussed in #114755 , torch script has added support for the union type introduced in python 3.10, however, I find when "-O" added to the python command line, it fails sometimes, for example:
```python
import torch
class B(torch.nn.Module):
def __init__(self) -> None:
super()... | true |
2,894,587,598 | [inductor][triton] Block ptr analysis fix assert on matched index expression | kundaMwiza | closed | [
"triaged",
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor"
] | 10 | CONTRIBUTOR | If dynamic shapes are enabled, then block analysis may create new precomputed size replacements from the index which can lead to an assertion failure when the matched index is compared with the original index. For example the below assertion fails, despite the expressions being equivalent (ps2 = 3 * ps0). This can be r... | true |
2,894,520,151 | Fix test failures on non-x86 Linux | Flamefire | closed | [
"triaged",
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 7 | COLLABORATOR | The cpp contexts are only supported on x86 Linux.
The tests requiring them are skipped on non-Linux but not if the architecture is not x86.
In most places it is checked for ARM64 which is not enough as a check for x86 is required instead.
Fix the test decorators and factor out a common one in test_cuda.
cc @vozne... | true |
2,894,195,146 | Update s390x docker image | AlekseiNikiforovIBM | closed | [
"triaged",
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 7 | COLLABORATOR | New releases of ml_dtypes successfully build on s390x, skip building patched old release.
Unpin grpcio version.
| true |
2,894,156,074 | DISABLED test_user_defined_binop (__main__.MiscTests) | pytorch-bot[bot] | closed | [
"triaged",
"module: flaky-tests",
"skipped",
"oncall: pt2",
"module: dynamo"
] | 5 | NONE | Platforms: rocm, asan, linux, mac, macos, slow
This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_user_defined_binop&suite=MiscTests&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/38150168296).
Over the ... | true |
2,894,155,583 | DISABLED test_capture_untracked_global_dynamic_shapes (__main__.DynamicShapesHigherOrderOpTests) | pytorch-bot[bot] | closed | [
"triaged",
"module: flaky-tests",
"skipped",
"oncall: pt2",
"module: dynamo"
] | 7 | NONE | Platforms: asan, linux, rocm, mac, macos
This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_capture_untracked_global_dynamic_shapes&suite=DynamicShapesHigherOrderOpTests&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorc... | true |
2,894,141,886 | Let `CUDAExtension` to find stub libs | oraluben | open | [
"triaged",
"open source",
"topic: not user facing"
] | 4 | CONTRIBUTOR | Fixes: https://github.com/sgl-project/sglang/issues/4060
CUDA runtime sometimes provides stub libs rather than "real" libs (e.g. https://stackoverflow.com/questions/76988911/what-should-i-link-against-the-actual-cuda-driver-library-or-the-driver-library).
Currently `CUDAExtension` do not search for them so it may... | true |
2,894,095,789 | torch.distributed hangs between 2 Mac Devices | weimiao1324 | open | [
"oncall: distributed",
"triaged",
"module: macos"
] | 2 | NONE | I want to use torch.distributed on 2 Mac Devices, but it hangs after start with torchrun command.
Here is the test Code:
```
import torch
import torch.distributed as dist
import os
import datetime
def main():
timeout = datetime.timedelta(seconds=10)
print("torch.distributed.is_available()", torch.distribute... | true |
2,893,996,047 | [cudagraph_trees]RuntimeError: Error: accessing tensor output of CUDAGraphs that has been overwritten by a subsequent run | FY-Summer | closed | [
"triaged",
"module: cuda graphs",
"oncall: pt2",
"module: inductor"
] | 4 | NONE | ### 🐛 Describe the bug
Hello,I am trying to apply torch.compile(mode='reduce-overhead') to the topk_softmax_with_capacity function, which comes from Megatron-LM(Using a single machine with eight GPUs to run the Mixtral 8x7B training,https://github.com/NVIDIA/Megatron-LM/blob/core_r0.10.0/megatron/core/transformer/moe... | true |
2,893,911,264 | 'CUDA error: an illegal memory access was encountered' when using forced_align on cuda device > 0 | FredHaa | closed | [
"module: cuda"
] | 3 | NONE | ### 🐛 Describe the bug
The forced_align op fails when using a GPU other than cuda:0
This reproduces the error:
```python
import torch
import torchaudio
import torchaudio.functional as F
bundle = torchaudio.pipelines.MMS_FA
SPEECH_FILE = torchaudio.utils.download_asset("tutorial-assets/Lab41-SRI-VOiCES-src-sp0307-c... | true |
2,893,893,383 | [ROCm] Incorporate ROCm triton specific tuning parameters | jataylo | closed | [
"module: rocm",
"open source",
"Merged",
"ciflow/trunk",
"release notes: rocm",
"module: inductor",
"ciflow/inductor",
"ciflow/rocm",
"ciflow/inductor-rocm"
] | 9 | COLLABORATOR | Splitting https://github.com/pytorch/pytorch/pull/147315 into two PRs. This PR adds general support for kpack and waves_per_eu triton kernel args for AMD backend. More detail in the PR above.
A follow up PR will update the configs used by ROCm but this requires https://github.com/pytorch/pytorch/pull/147452 to land ... | true |
2,893,760,775 | Expand docs for `nn.functional`, and make the wording consistent | olipinski | closed | [
"triaged",
"open source",
"Merged",
"ciflow/trunk",
"release notes: nn",
"topic: docs"
] | 12 | CONTRIBUTOR | Expands the docs for the loss functions, and makes the wording consistent.
Fixes #148353
| true |
2,893,637,424 | Do not crash when compiling quantized LORA models | Whadup | closed | [
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor"
] | 13 | CONTRIBUTOR | Fixes #148072
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov | true |
2,893,626,920 | ERROR: I got an error about FSDP, when I trained flux model of sparsity with NVIDIA TensorRT Model Optimizer | Vieeo | closed | [
"needs reproduction",
"oncall: distributed",
"module: fsdp"
] | 4 | NONE | ### 🐛 Describe the bug
I’m training flux-dev model of sparsity with accelerate FSDP. I think it is a FSDP problem. when I don't use FSDP, it can train.
when I use FSDP and forward, I print the shape:
weight.shape, mod._weight_mask.shape: torch.Size([6144, 3072]) torch.Size([6144, 3072])
but backward:
torch.Size([236... | true |
2,893,574,084 | [ROCm] Bump AOTriton to 0.9.2b | xinyazhang | closed | [
"module: rocm",
"triaged",
"open source",
"Merged",
"Reverted",
"ciflow/trunk",
"topic: not user facing",
"keep-going",
"ciflow/rocm",
"ci-no-td"
] | 19 | COLLABORATOR | Notable new features/optimizations for SDPA operators on AMD systems from AOTriton 0.9b:
* Optimize these Non-power-of-two head dimensions: 48, 80, 96, 160, 192, 224. Inputs with these head dimensions do not need padding to power-of-two anymore.
* `is_causal=True` cases are now supported with persistent dynamic alg... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.