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,849,505,642 | Added code to use the safe loader | TimAtGoogle | open | [
"triaged",
"open source",
"Stale",
"release notes: export"
] | 2 | NONE | Fixes #ISSUE_NUMBER
| true |
2,849,480,471 | [trymerge] Post initial starting merge comment on stacked PRs | clee2000 | closed | [
"Merged",
"Reverted",
"topic: not user facing",
"ci-no-td"
] | 10 | CONTRIBUTOR | Post a small comment stating if a PR is being merged as part of a stack | true |
2,849,472,763 | `make pdflatex` Sphinx error: Builder name pdflatex not registered or available through entry point | Geremia | closed | [
"module: build",
"module: docs",
"triaged"
] | 2 | NONE | ### 🐛 Describe the bug
On `master`, running
```bash
cd docs
pip install -r requirements.txt
make pdflatex
```
gives this error:
<details><summary>`make pdflatex` output</summary>
<p>
```log
/usr/lib64/python3.12/site-packages/torch/_dynamo/variables/higher_order_ops.py:811: UserWarning: Pred is a Python constant. W... | true |
2,849,472,326 | cpp_wrapper: compile main function without optimization | benjaminglass1 | closed | [
"open source",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 2 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #147026
* #144349
* #144293
* #146928
This seems like a bad idea, but testing via the benchmark HUD shows that we don't actually lose any performance from this move, while gaining _significant_ compile time improvements.
cc @... | true |
2,849,468,711 | [DTensor][random] defer DTensor RNG state sync until first random op call or manual_seed call; support more flexible OffsetBasedRNGTracker init | XilunWu | closed | [
"oncall: distributed",
"Merged",
"ciflow/trunk",
"topic: bug fixes",
"ciflow/periodic",
"ciflow/inductor",
"release notes: distributed (dtensor)"
] | 5 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #147025
Resolves https://github.com/pytorch/pytorch/issues/146767.
May also resolve https://github.com/pytorch/pytorch/issues/147584.
### Summary
This PR removes the RNG tracker init from the `distribute_tensor` call for the f... | true |
2,849,441,376 | [export] Add initial export -> distributed tests | angelayi | closed | [
"topic: not user facing"
] | 3 | CONTRIBUTOR | For a set of models we want to:
1. call run_export_workflow which matches what APS does
2. apply distributed technique: DDP, FSDP, PP (maybe?)
3. check running forward is accurate, and optionally after running backward is the loss the same
Links to some example models:
* https://github.com/pytorch/pytorch/blob/... | true |
2,849,407,444 | [BE] Toward Metal Iterator (step 2) | malfet | closed | [
"Merged",
"topic: improvements",
"release notes: mps",
"ciflow/mps"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #147018
* __->__ #147023
Add dense flavor of the binary ops, i.e. if iterator is contiguous, do not build indices but rather run different flavor, using the same functor, which results in almost 100% perf gain for binary operation with 1mln... | true |
2,849,380,099 | [logging] Log individual Triton kernel compilation times to dynamo_compile | masnesral | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"module: dynamo",
"ciflow/inductor"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #147022
Summary: Gather the compilation time of individual triton kernels and log them to dynamo_compile:
* Time compilation in `_worker_compile_triton` and pass back to the main process and logged from `get_result()`.
* Added a ... | true |
2,849,365,214 | wip [ca] support DDP w/ c++ reducer via graph breaks | xmfan | open | [
"oncall: distributed",
"Stale",
"release notes: distributed (c10d)",
"module: dynamo",
"ciflow/inductor",
"module: compiled autograd"
] | 2 | MEMBER | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #147021
* #146875
* #146735
cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @c... | true |
2,849,362,304 | [aoti_debug_printer][BE] explicitly dumping float32, bfloat16, float16 data type | YUNQIUGUO | closed | [
"fb-exported",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 7 | CONTRIBUTOR | Summary:
per request, explicitly dumping the float dtypes for aten tensors in debug printing summary info.
can be useful in identifying issues such as "wrong AOTI Lowering precisions"
Test Plan:
```
AOT_INDUCTOR_DEBUG_INTERMEDIATE_VALUE_PRINTER=2 TORCH_LOGS="+inductor, output_code" buck2 run -c fbcode.enable_gpu_sec... | true |
2,849,305,381 | [Inductor] Record Triton’s Base32 Cache Key in `.best_config` for Debugging | fulvius31 | closed | [
"triaged",
"open source",
"Merged",
"Reverted",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor",
"ci-no-td"
] | 37 | CONTRIBUTOR | Modified TorchInductor’s autotuning flow so that each `best_config` JSON file also includes the Triton “base32” (or base64) cache key.
**Motivation**
Debugging & Analysis: With this change, we can quickly identify which compiled binary and IRs belongs to a given best config.
The impact is minimal since it is o... | true |
2,849,288,687 | [BE] Turn nextafter into functor | malfet | closed | [
"Merged",
"topic: improvements",
"release notes: mps",
"ciflow/mps"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #147018
* #147023
This functor is a bit more involved as nextafter is missing for MacOS13 | true |
2,849,258,486 | Fix meta impl for topk | tugsbayasgalan | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 5 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #147017
Topk in this context is always size-like so we should use torch._check_is_size. Fixes some issue in https://github.com/pytorch/pytorch/issues/146990
Differential Revision: [D69545983](https://our.internmc.facebook.com... | true |
2,849,248,328 | Add some more docs to trace_rules.py | zou3519 | closed | [
"Merged",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor"
] | 1 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #147031
* #147013
* #147012
* __->__ #147016
After discussing with Yanbo we wanted to record the behavior down so we
don't need to rederive them in the future.
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhu... | true |
2,849,240,932 | update kineto submodule | briancoutinho | closed | [
"Merged",
"Reverted",
"ciflow/trunk",
"topic: not user facing",
"ci-no-td"
] | 10 | CONTRIBUTOR | Fix https://github.com/pytorch/kineto/issues/1032
See https://github.com/pytorch/kineto/pull/1035 for testplan
| true |
2,849,231,354 | Support subclass constructor capturing in export | tugsbayasgalan | closed | [
"oncall: distributed",
"fb-exported",
"Merged",
"with-ssh",
"ciflow/trunk",
"fx",
"ciflow/inductor",
"release notes: export",
"no-runner-experiments"
] | 37 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #147014
Notable TODOs:
1. Need to implement AutogradHOP to get rid of subclasses before serializing
2. Need to implement mechanism to figure out what subclasses will be used in export when they are not expressed in the inputs
... | true |
2,849,224,502 | [SkipFiles] Some more cleanup | zou3519 | 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):
* #147031
* __->__ #147013
* #147012
* #147016
This isn't a no-op but I think it's fine. It changes the case where a
function f1 in a module in MOD_SKIPFILES calls a function f2 in one of
the deleted modules. Previously f2 would have been skip... | true |
2,849,224,412 | [SkipFiles] Some more cleanup | zou3519 | closed | [
"Merged",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor"
] | 1 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #147031
* #147013
* __->__ #147012
* #147016
I think these are all no-ops.
Test Plan:
- tests
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauh... | true |
2,849,210,068 | Deprecation of NVTX 2 (`nvToolsExt`): Recommended to move to NVTX 3 | jakirkham | open | [
"module: cuda",
"triaged",
"better-engineering",
"oncall: profiler",
"topic: build"
] | 6 | NONE | Currently PyTorch contains references to NVTX 2 (like `nvToolsExt`). For example:
https://github.com/pytorch/pytorch/blob/8a975cb247d6ef901c4d4da4fea25d21de6648c7/cmake/public/cuda.cmake#L186
However [NVIDIA has deprecated NVTX 2]( https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html#deprecated-or-dropp... | true |
2,849,196,446 | [FlexAttention] Make zero_length sequence handiling better | drisspg | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor",
"module: flex attention"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #147010
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov @Chillee @yanboliang @BoyuanF... | true |
2,849,161,176 | Add some more docs to trace_rules.py | zou3519 | closed | [
"module: dynamo",
"ciflow/inductor"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #147009
After discussing with Yanbo we wanted to record the behavior down so we
don't need to rederive them in the future.
Test Plan:
- comment reading
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhu... | true |
2,849,132,747 | Turn on prologue fusion | eellison | closed | [
"Merged",
"ciflow/trunk",
"module: inductor",
"ciflow/inductor",
"release notes: inductor"
] | 15 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #147151
* __->__ #147008
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov | true |
2,849,124,049 | [Optimus][Inductor] Add select view cat aten pattern | mengluy0125 | open | [
"fb-exported",
"Stale",
"module: inductor",
"ciflow/inductor",
"release notes: inductor",
"inductor_pattern_match"
] | 5 | CONTRIBUTOR | Summary: We find another inefficient triton kernels generated by PT2 in Wukong CMF, we thus add an inductor pattern to optimize it
Test Plan:
# how to add config
```
"post_grad_fusion_options": {
"normalization_aten_pass": {},
"select_view_cat_aten_pass": {},
},
```
# unit test
```
buck2 test 'fbcode/... | true |
2,849,095,429 | [TP] Add warning when module is distributed twice | kwen2501 | closed | [
"oncall: distributed",
"Merged",
"ciflow/trunk",
"ciflow/inductor",
"release notes: distributed (dtensor)",
"keep-going"
] | 9 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #147006
cc @H-Huang @awgu @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o | true |
2,849,091,912 | [ONNX] Deprecation message follow up | justinchuby | closed | [
"module: onnx",
"open source",
"Merged",
"ciflow/trunk",
"release notes: onnx",
"topic: docs"
] | 3 | COLLABORATOR | Follow up on https://github.com/pytorch/pytorch/pull/146923 to address comments.
This pull request includes updates to the `torch/onnx` module, focusing on deprecations and documentation improvements. The most important changes involve moving version change notes within the `export` function, updating deprecation me... | true |
2,849,063,274 | [ONNX] Remove dort | justinchuby | closed | [
"open source",
"Stale",
"release notes: onnx"
] | 3 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #147004
* #147003
Using ORT for training is unmaintained and the DORT implementation is using legacy logic. So remove. We can use this as a reference when we need to add back the funtionality. | true |
2,849,063,195 | [ONNX][dort] Remove reference to onnxscript rewriter | justinchuby | closed | [
"module: onnx",
"open source",
"Merged",
"ciflow/trunk",
"release notes: onnx",
"topic: not user facing"
] | 4 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #147004
* __->__ #147003
| true |
2,849,057,380 | [Inductor] Add Torch Logs for ir_pre_fusion and ir_post_fusion | eellison | closed | [
"triaged",
"oncall: pt2",
"module: inductor"
] | 0 | CONTRIBUTOR | ### 🚀 The feature, motivation and pitch
When you run with `TORCH_COMPILE_DEBUG=1` we serialize pre fusion and post fusion IR. See here, https://github.com/pytorch/pytorch/blob/7f62616a585f91a6cccb9672c42bc8210044b1bf/torch/_inductor/debug.py#L524-L528.
TORCH_COMPILE_DEBUG is kind of an earlier mechanism that has mo... | true |
2,849,013,464 | Preload CUDA fails if CUDA libs in different PYTHONPATH | aowenson-imm | open | [
"module: build",
"module: cuda",
"triaged",
"module: third_party"
] | 9 | NONE | ### 🐛 Describe the bug
This is subtlety different to the other related issues (linked to in PR #144311)
Suppose my `PYTHONPATH` is `A:B`. PyTorch is installed in A, and nvidia libraries are installed in `B`. The nvidia libs are not where `libtorch_cuda.so` expects them so `__init__.py` uses its backup method: search... | true |
2,849,004,571 | Fix shape_inference for V-schedules | H-Huang | closed | [
"oncall: distributed",
"Merged",
"ciflow/trunk",
"release notes: distributed (pipeline)"
] | 3 | MEMBER | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #147000
I was hitting a hang in shape_inference when testing v-shaped schedules with >2 ranks in titan.
`self.next_rank` and `self.prev_rank` are used in shape inference but are not accurate for v-shaped schedules:
https://github... | true |
2,848,993,906 | experimental proposal DCP v2 | teja-rao | open | [
"oncall: distributed",
"Stale",
"release notes: distributed (checkpoint)",
"oncall: distributed checkpointing"
] | 2 | CONTRIBUTOR | Just for fun - hacking up a different way to do checkpointing. Dont take this too seriously, it may not ever see light!
This reimagines distributed checkpoints - preserving torch serialization format, files per rank and goes for heavy simplification of implementation.
The following concepts are eliminated -
-... | true |
2,848,966,589 | ROCM / HIP: Conv3d forward is very slow for some shapes. | IMbackK | closed | [
"module: performance",
"module: rocm",
"triaged"
] | 9 | CONTRIBUTOR | ### 🐛 Describe the bug
With some conv3d shapes, such as those used by video models like hunyuan and moch1 are very slow on MIOpen backed platforms.
Below is a benchmark repducer:
```
import torch
import time
configs = [
[128, 128, 3, 1],
[256, 256, 3, 1],
[512, 512, 3, 1],
[128, 256, 1, 1],
[512, 512, 3, (2, ... | true |
2,848,956,004 | [BE][Ez]: Apply FURB188: use str remove(pre|suf)fix | Skylion007 | closed | [
"oncall: distributed",
"open source",
"better-engineering",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"fx",
"module: dynamo",
"ciflow/inductor"
] | 6 | COLLABORATOR | Since we are on 3.9, we can use this nice str builtin which is more readable and more efficient.
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 @jiayisu... | true |
2,848,947,612 | Turn on autograd local caches in fbcode | oulgen | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #146996
| true |
2,848,945,813 | [dynamo] Fix tensordict regression | anijain2305 | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor"
] | 6 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #147046
* __->__ #146995
* #146819
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames @StrongerXi | true |
2,848,926,382 | subclasses + HOPs fail with `Attempting to use FunctionalTensor on its own` | IvanKobzarev | open | [
"triaged",
"tensor subclass",
"oncall: pt2",
"module: aotdispatch",
"module: pt2-dispatcher"
] | 0 | CONTRIBUTOR | ### 🐛 Describe the bug
Repro:
```
def test_sc_hop(self):
class M(torch.nn.Module):
def __init__(self, weight):
super().__init__()
self.weight = weight
def forward(self, x):
return out_dtype(
torch.ops.aten.mm.defa... | true |
2,848,926,046 | [BE] Towards MetalTensorIterator | malfet | closed | [
"Merged",
"release notes: mps",
"ciflow/mps"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #147023
* #147018
* __->__ #146993
Further refactor binary kernels to replace individual implementation with a binary_indexing_kernel template that takes functors that implement the logic.
According to godbolt such refactoring should hav... | true |
2,848,751,418 | Make Inductor scheduler aware of _scaled_mm | lw | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 8 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #146992
This is used for example to estimate runtime when doing comms overlap
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @... | true |
2,848,706,217 | cpp_wrapper: use largeTensorTest for test memory checks | benjaminglass1 | closed | [
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 3 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #147225
* #146706
* #147403
* __->__ #146991
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov | true |
2,848,696,365 | How to export a model using topk with a variable number of neighbour? | xadupre | closed | [
"triaged",
"oncall: pt2",
"oncall: export"
] | 2 | COLLABORATOR | ### 🐛 Describe the bug
The export is the following but that may not be the only one. That's the first raised one.
``torch._dynamo.exc.UserError: Could not guard on data-dependent expression u7 >= 0 (unhinted: u7 >= 0). (Size-like symbols: none)``
```python
import contextlib
import io
import logging
import warnings... | true |
2,848,655,783 | [BE]: Try to remove unused type ignores - attempt 1 | Skylion007 | open | [
"oncall: distributed",
"oncall: jit",
"module: rocm",
"module: cpu",
"open source",
"module: amp (automated mixed precision)",
"Stale",
"release notes: quantization",
"release notes: distributed (c10d)",
"fx",
"ciflow/mps",
"module: inductor",
"module: dynamo",
"ciflow/inductor",
"releas... | 2 | COLLABORATOR | Fixes #ISSUE_NUMBER - generated using mypy_clean_slate
cc @H-Huang @awgu @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @EikanWang @jgong5 @wenzhe-nrv @sanchitintel @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang @naromero77amd @mingfeima @XiaobingSuper @ashokei... | true |
2,848,640,853 | DISABLED test_avoid_register_spilling_cuda (__main__.BenchmarkFusionCudaTest) | pytorch-bot[bot] | closed | [
"module: rocm",
"triaged",
"module: flaky-tests",
"skipped",
"oncall: pt2",
"module: inductor"
] | 6 | NONE | Platforms: rocm
This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_avoid_register_spilling_cuda&suite=BenchmarkFusionCudaTest&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/37053115710).
Over the past 3 ho... | true |
2,848,566,175 | torch.from_numpy() raises TypeError: “expected np.ndarray (got numpy.ndarray)” in PyTorch 2.6.0 | xiaoran007 | closed | [
"needs reproduction",
"triaged",
"module: numpy"
] | 2 | NONE | ### 🐛 Describe the bug
In PyTorch 2.6.0, the torch.from_numpy() function raises the following error when passing a NumPy array:
> TypeError: expected np.ndarray (got numpy.ndarray)
**To reproduce**, run the following minimal example (which can be found in [document](https://pytorch.org/docs/stable/generated/torch.f... | true |
2,848,543,654 | torch.argsort() outputs wrongly | atinary-lbrey | closed | [] | 2 | NONE | ### 🐛 Describe the bug
torch.argsort() return the wrong indices. Here's the code I am using:
```python
import torch
torch.manual_seed(0)
x = torch.randn(5,2)
print(x)
print(torch.argsort(x, dim=0))
```
and the returns of this are
```
tensor([[ 1.5410, -0.2934],
[-2.1788, 0.5684],
... | true |
2,848,480,711 | [BE][Ez]: Update fmtlib submodule to 11.1.3 | Skylion007 | closed | [
"open source",
"better-engineering",
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 3 | COLLABORATOR | This submodule just fixes a bunch of miscellaneous bugfix issues with ABI compatibility, compiler warning, workarounds for older compilers, performance, and edge cases in formatting. | true |
2,848,469,200 | [Dynamo] support `isinstance(...)` check for type tuple | XuehaiPan | closed | [
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor"
] | 3 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #146921
* __->__ #146984
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,848,447,880 | Porting Pytorch to AIX Operating System. | KamathForAIX | open | [
"oncall: jit",
"triaged",
"open source",
"release notes: jit",
"module: dynamo",
"ciflow/inductor"
] | 10 | NONE | Closes #146982
Fixes #146982
PyTorch compiles for AIX OS level 7.3 and above only. Currently we can compile PyTorch on AIX with GCC version >= 12 only. PyTorch will run in CPU-only mode in AIX.
To port PyTorch in AIX, we need the below changes:
1: Change RAW -> RAWDATA; this is done to avoid header file col... | true |
2,848,435,788 | Porting Pytorch to AIX Operating System. | KamathForAIX | open | [
"module: build",
"triaged",
"enhancement",
"module: POWER"
] | 1 | NONE | Hi everyone,
AIX is a UNIX-based operating system used widely in PowerPC Enterprise Hardware. Recently, we have modernized AIX with AI/ML packages like Numpy, Scipy, Pandas, OpenBLAS, and also ported ONNXRUNTIME, which are used by AIX users. We also have the build tools like CMake and Meson working in AIX.
PyTorch b... | true |
2,848,420,310 | [ROCm][Windows] Fix clang-cl error related to -Wmissing prototypes enabled | m-gallus | closed | [
"module: rocm",
"triaged",
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 9 | CONTRIBUTOR | Some of the windows files (fused_kernels.cpp or temp_file.h) contain code that fail to compile when this flag is enabled when built with clang-cl.
This PR resolves the issue by ensuring that even if we build with clang-cl, it doesn't include those flags on windows.
Alternatively if needed, I can fix the files men... | true |
2,848,377,220 | Feature Request: Add dlfloat16 support as a new dtype | rebel-seungchul | open | [
"triaged",
"enhancement",
"needs research"
] | 2 | NONE | ### 🚀 The feature, motivation and pitch
I propose adding support for dlfloat16 as a new dtype in PyTorch. This feature would allow users to utilize the dlfloat16 data type natively within the PyTorch framework.
- Hardware Compatibility: Some specialized hardware architectures are optimized for dlfloat16, and native ... | true |
2,848,277,679 | [ROCm] Update meta_registration for efficient attention | AmdSampsa | closed | [
"module: rocm",
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor",
"ciflow/rocm"
] | 12 | COLLABORATOR | Fixes a series of failing and skipped unit tests.
For nvidia hw, the longsumexp last dimension is required to be a multiple of 32. This is not the case for rocm.
A related issue: https://github.com/pytorch/pytorch/issues/146848
The unit tests in question:
```bash
inductor.test_fused_attention SDPAPatternRew... | true |
2,848,148,298 | DISABLED test_comprehensive_stft_cuda_float32 (__main__.TestInductorOpInfoCUDA) | pytorch-bot[bot] | open | [
"triaged",
"module: flaky-tests",
"skipped",
"oncall: pt2",
"module: inductor"
] | 3 | NONE | Platforms: inductor
This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_comprehensive_stft_cuda_float32&suite=TestInductorOpInfoCUDA&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/37047798754).
Over the pas... | true |
2,848,130,788 | How to install Torch version that supports RTX 5090 on Windows? - CUDA kernel errors might be asynchronously reported at some other API call | FurkanGozukara | closed | [
"high priority",
"needs reproduction",
"module: build",
"module: windows",
"module: cuda",
"triaged"
] | 11 | NONE | I have purchased RTX 5090 just to test AI apps
Currently getting this error on any app
I need torch for Python 3.10 venv on Windows
I am ok with installing nightly version etc just install command please
```
Traceback (most recent call last):
File "E:\trellis_v5\TRELLIS\app.py", line 401, in <module>
pipeline... | true |
2,848,126,027 | Adding sparse_coo_tensor objects together behaves differently with CPU and CUDA | aeverallpx | open | [
"module: sparse",
"triaged"
] | 1 | NONE | If you add two torch.sparse_coo_tensor objects together it will behave differently if they are on cpu or cuda.
cpu behaviour: duplicated elements are summed
cuda behaviour: all elements are appended so an extra coalesce() is needed to sum elements.
Example code:
```python
import torch
for device in ['cpu', 'cuda:0']:
... | true |
2,847,804,820 | [inductor][cpu]pyhpc_equation_of_state multiple thread performance failure in 2025-02-10 nightly release | zxd1997066 | closed | [
"oncall: cpu inductor"
] | 3 | CONTRIBUTOR | ### 🐛 Describe the bug
pyhpc_equation_of_state multiple thread performance failure
the bad commit: 68cf36d5ab6165372160f65eb84e13d0f8dbc5dc
```
/workspace/pytorch# bash inductor_single_run.sh multiple inference performance torchbench pyhpc_equation_of_state amp first static cpp
loading model: 0it [00:00, ?it/s]
loadi... | true |
2,847,746,562 | [inductor][cpu]detectron2_fcos_r_50_fpn multiple thread accuracy failure in 2025-02-10 nightly release | zxd1997066 | open | [
"oncall: pt2",
"oncall: cpu inductor"
] | 0 | CONTRIBUTOR | ### 🐛 Describe the bug
detectron2_fcos_r_50_fpn accuracy failure
the bad commit: d1f82de2bf4ce4d4461791a9c9b2e759202db0bb
```
/workspace/pytorch# bash inductor_single_run.sh multiple inference accuracy torchbench detectron2_fcos_r_50_fpn amp first static cpp
Testing with cpp wrapper.
Testing with inductor.
multi-thre... | true |
2,847,732,973 | [associative_scan] compile backend change to "eager" | bohnstingl | closed | [
"triaged",
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: dynamo"
] | 16 | COLLABORATOR | This PR fixes some issues with torch export discussed here: https://github.com/pytorch/pytorch/pull/140043#discussion_r1941932960
However, this backend change does still not resolve the failure for specific shapes mentioned here: https://github.com/pytorch/pytorch/issues/137943#issuecomment-2649564994
cc @voznese... | true |
2,847,689,567 | DISABLED test_per_sample_api_compute_batch_size_not_pytreeable_cpu (__main__.TestExpandedWeightModuleCPU) | pytorch-bot[bot] | open | [
"module: nn",
"triaged",
"module: flaky-tests",
"skipped",
"oncall: pt2"
] | 11 | NONE | Platforms: dynamo
This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_per_sample_api_compute_batch_size_not_pytreeable_cpu&suite=TestExpandedWeightModuleCPU&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/370... | true |
2,847,689,505 | DISABLED test_cat_max_autotune_extern (__main__.TestMaxAutotune) | pytorch-bot[bot] | closed | [
"triaged",
"module: flaky-tests",
"skipped",
"oncall: pt2",
"module: inductor"
] | 2 | NONE | Platforms: rocm, inductor
This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_cat_max_autotune_extern&suite=TestMaxAutotune&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/37002417061).
Over the past 3 hours... | true |
2,847,640,368 | [Inductor] Unify the data type propagation between Triton and CPP Backend | DDEle | closed | [
"triaged",
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"oncall: pt2",
"module: inductor",
"module: dynamo"
] | 10 | CONTRIBUTOR | Fixes #144246
Use `DtypePropagationOpsHandler` for CSE variables of CPP backend. In addition, add static type checking for the generated CPP code similar to the `config.test_configs.runtime_triton_dtype_assert`.
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-... | true |
2,847,524,084 | Symbol problem about static variable in inline function | dilililiwhy | open | [
"module: build",
"module: cpp-extensions",
"triaged"
] | 6 | CONTRIBUTOR | ### 🐛 Describe the bug
It seems that a symbol problem (static variable in inline function, https://github.com/pytorch/pytorch/issues/125465) is exposed, as nightly build hides torch_python symbols in default sinece 20241216.
> The variable BackendMetaSerialization in function GetBackendMetaSerialization will have di... | true |
2,847,429,553 | fix doc string | probli | closed | [
"oncall: distributed",
"Merged",
"ciflow/trunk",
"release notes: distributed (torchelastic)"
] | 5 | CONTRIBUTOR | Fixes a wrong function name in doc string
cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o | true |
2,847,379,763 | [prototype][not for review] How to use sources for input signature rewriting in export | anijain2305 | closed | [
"module: dynamo",
"ciflow/inductor"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #146967
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,847,313,226 | remove unnecessary xpu availability check when retrieving aot flags | jingxu10 | closed | [
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"ciflow/xpu"
] | 19 | COLLABORATOR | As title
Retrieving xpu aot flags that the pytorch binary was compiled against is not the same as running the binary itself. Thus it doesn't seem to necessarily check if there is an xpu environment available. | true |
2,847,282,769 | [BE] Unify kernel templates instantiation | 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):
* #146993
* __->__ #146965
By defining `REGISTER_BINARY_OP` template that could be used to register fmix, fmax, etc | true |
2,847,242,745 | Feature Request: Interface to Check Compilation Status Inside Compiled Module | zhiyuan1i | open | [
"triaged",
"oncall: pt2",
"module: dynamo"
] | 2 | NONE | ### 🚀 The feature, motivation and pitch
Dear PyTorch Community,
I hope this message finds you all in good spirits. I'm writing to seek guidance on a couple of aspects related to PyTorch's compilation features, and I also have a feature request.
### Current Situation and Problem
I'm interested in using the `torch.c... | true |
2,847,227,527 | Fix clang-tidy warnings in torch/jit | cyyever | closed | [
"oncall: jit",
"triaged",
"open source",
"Merged",
"NNC",
"ciflow/trunk",
"release notes: jit"
] | 6 | COLLABORATOR | Fixes #ISSUE_NUMBER
cc @EikanWang @jgong5 @wenzhe-nrv @sanchitintel | true |
2,847,117,434 | Improve typing of torch/_guards.py | cyyever | open | [
"open source",
"Stale",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor"
] | 3 | COLLABORATOR | Fixes #ISSUE_NUMBER
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,847,115,601 | Port distributed backend tests to Pytest | fangchenli | open | [
"oncall: distributed",
"triaged",
"open source",
"topic: not user facing"
] | 3 | NONE | xref #11578
Output of `python test/distributed/test_backends.py`
```shell
(venv) venvfangchenli@Fangchens-MacBook-Pro-2 pytorch-fangchenli % python test/distributed/test_backends.py
================================================ test session starts ================================================
platform da... | true |
2,847,072,649 | Optimize `virtualized.py` typing | zeshengzong | open | [
"open source",
"topic: not user facing",
"module: inductor"
] | 2 | CONTRIBUTOR | Fixes part of #146167
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov | true |
2,847,045,374 | DISABLED test_insignificant_strides (__main__.SDPAPatternRewriterCudaDynamicTests) | jithunnair-amd | closed | [
"module: rocm",
"triaged",
"skipped",
"module: sdpa"
] | 3 | COLLABORATOR | Platforms: rocm
This test was disabled because it is failing on main branch ([recent examples](https://torch-ci.com/failure?failureCaptures=%5B%22inductor%2Ftest_fused_attention.py%3A%3ASDPAPatternRewriterCudaDynamicTests%3A%3Atest_insignificant_strides%22%5D)).
cc @jeffdaily @sunway513 @pruthvistony @ROCmSupport @dl... | true |
2,847,018,474 | [Inductor][CPP] Fix a CPP GEMM Template output data type issue | leslie-fang-intel | closed | [
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 3 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #146958
**Summary**
Issue found when fixing https://github.com/pytorch/ao/issues/1662. A FP32 GEMM with an epilogue node `to_fp16` resulted in [generated code](https://gist.github.com/leslie-fang-intel/464fb112abdb105818ae09b05735... | true |
2,846,961,731 | [cuDNN] cuDNN to 9.7.1.26 for CUDA 12.8 | tinglvv | closed | [
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 4 | COLLABORATOR | rebasing for https://github.com/pytorch/pytorch/pull/146717
cc @atalman @malfet @eqy @ptrblck @nWEIdia
| true |
2,846,945,959 | [c10d] Consolidate watchdog threads | kwen2501 | open | [
"oncall: distributed",
"triaged",
"module: c10d"
] | 0 | CONTRIBUTOR | ### 🚀 The feature, motivation and pitch
Watchdog thread is spawned by each ProcessGroupNCCL object today. In addition, there are heartbeat monitor thread, on-completion hook thread, etc. As the parallel dimension increases, the thread number quickly goes up, as it is multiplied by 3.
We should try to consolidate the... | true |
2,846,924,502 | [export] Minor fix to locals | angelayi | closed | [
"Merged",
"ciflow/trunk",
"release notes: fx",
"fx",
"ciflow/inductor"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #146939
* __->__ #146955
cc @ezyang @SherlockNoMad @EikanWang @jgong5 @wenzhe-nrv | true |
2,846,916,318 | [cond] make cond re-dispatch in proxy mode | ydwu4 | closed | [
"Merged",
"Reverted",
"ciflow/trunk",
"topic: not user facing",
"ci-no-td"
] | 6 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #147130
* #147045
* __->__ #146954
| true |
2,846,866,335 | Fix function name in doc string | probli | closed | [
"oncall: distributed",
"release notes: distributed (torchelastic)"
] | 3 | CONTRIBUTOR | The correct function is `record_exception`, not `record`
cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o | true |
2,846,841,173 | [BE] Unskip some tensor creation tests on Mac | malfet | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 3 | CONTRIBUTOR | Followup after https://github.com/pytorch/pytorch/pull/145367
One should never use skip, but rather xfail otherwise one never knows when test is finally fixed.
`test_float_to_int_conversion_finite` were fixed on MacOS a while back (guess since the time Intel builds were disbaled), while `test_float_to_int_convers... | true |
2,846,834,187 | [dynamo] `x is x` gets incorrectly interpreted to `False` | StrongerXi | open | [
"triaged",
"oncall: pt2",
"module: dynamo"
] | 2 | CONTRIBUTOR | ### 🐛 Describe the bug
Repro:
```python
import torch
@torch.compile(fullgraph=True, backend="eager")
def fn(x):
l = []
if l is l:
return x + 1
return x + 2
print(fn(torch.zeros(1))) # prints `tensor([2.])`, but should be `tensor([1.])`
```
We could fix it by adding another case here (same VT in... | true |
2,846,806,153 | [dynamo] Use the new `get_unique_name_wrt` helper when applicable | StrongerXi | closed | [
"Merged",
"topic: not user facing",
"module: inductor",
"module: dynamo",
"ciflow/inductor"
] | 2 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #147572
* #147571
* __->__ #146950
* #146367
* #146714
This patch removes some duplicated name generation logic in Dynamo.
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisun... | true |
2,846,789,544 | Fix broken test stat upload jobs | benjaminglass1 | closed | [
"module: ci",
"open source",
"topic: not user facing"
] | 4 | COLLABORATOR | Fixes currently-broken upload jobs for test stat and inductor benchmark stat uploads.
Example job: https://github.com/pytorch/pytorch/actions/runs/13274540948/job/37061406258
cc @seemethere @malfet @pytorch/pytorch-dev-infra | true |
2,846,785,072 | [Sigmoid] Fix issues with constant folding and fba_ops | trieuat | closed | [
"fb-exported",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 6 | CONTRIBUTOR | Summary:
There are 2 issues:
- `skip_folding_node_fn` isn't considered when propagating constant values. So given a skipped node with constant inputs, it outputs a constant and its users can output constant values and then be included in the constant graph. However, the skipped node is not included in the constant gra... | true |
2,846,778,769 | [DO NOT MERGE][cuDNN][SDPA] Testing sm90/sm100 priority for cuDNN SDPA | eqy | open | [
"module: cudnn",
"open source",
"Stale",
"topic: not user facing",
"module: sdpa"
] | 5 | COLLABORATOR | trying things out
cc @csarofeen @ptrblck @xwang233 | true |
2,846,721,532 | patch for block-wise quantization + pt2e | cccclai | closed | [
"fb-exported",
"Merged",
"ciflow/trunk",
"release notes: quantization",
"ciflow/inductor",
"release notes: export"
] | 24 | CONTRIBUTOR | Summary: https://github.com/pytorch/pytorch/pull/144492 was reverted due to duplicate kernel registration. This PR will re-introduce the patch
Differential Revision: D69488779
| true |
2,846,711,726 | New CachingAutotuner pickling logic may be brittle to triton upgrades | jamesjwu | open | [
"triaged",
"actionable",
"bug"
] | 2 | CONTRIBUTOR | Repro using triton's bleeding edge main:
```python3
#!/usr/bin/env python3
import torch
import torch.nn.attention.flex_attention
torch.set_default_device("cuda")
N_CTX = 4096
SLIDING_WINDOW = 128
def sliding_window_causal(b, h, q_idx, kv_idx):
causal_mask = q_idx >= kv_idx
window_mask = q_idx - kv_idx < S... | true |
2,846,699,388 | win-vs2022-cpu-py3 test failures in test-default-2-3-lf.windows.4xlarge.nonephemeral_37054642004 | Camyll | open | [
"module: windows",
"triaged"
] | 1 | CONTRIBUTOR | ### 🐛 Describe the bug
test-default-2-3-lf.windows.4xlarge.nonephemeral_37054642004 is failing currently due to a missing dll. We believe the issue happened between two PRs while windows tests were disabled (https://github.com/pytorch/pytorch/pull/145863, https://github.com/pytorch/pytorch/pull/146920)
```
(base) ... | true |
2,846,685,230 | [BE] Delete NCCL slimming | malfet | closed | [
"Merged",
"ciflow/trunk",
"release notes: releng",
"topic: improvements"
] | 6 | CONTRIBUTOR | It was added by https://github.com/pytorch/pytorch/pull/35843 and served its purpose when everything was linked statically in libtorch_cuda.so, but for all our releases it's no longer relevant as nccl is now a dynamic dependency of libtorch_cuda.so
Besides, It does not work with CXX11 ABI anyway, and creates proble... | true |
2,846,682,229 | [Inductor] FX backend via Wrapper IR | blaine-rister | closed | [
"module: cpu",
"Merged",
"Reverted",
"ciflow/trunk",
"module: inductor",
"ciflow/inductor",
"release notes: inductor",
"ci-no-td",
"release notes: inductor (aoti)"
] | 27 | CONTRIBUTOR | # Sub-PRs
These PRs contain refactors from the main one. They should be reviewed and merged first.
- https://github.com/pytorch/pytorch/pull/150458
- https://github.com/pytorch/pytorch/pull/152391
- https://github.com/pytorch/pytorch/pull/152587
# Feature
The goals of this PR are twofold.
## Goal 1: In... | true |
2,846,681,791 | Make HOPs more debuggable | zou3519 | open | [
"module: tests",
"triaged",
"oncall: pt2",
"module: higher order operators",
"module: pt2-dispatcher"
] | 1 | CONTRIBUTOR | discussed at HOP Sync with @drisspg @bdhirsh @yanboliang @ydwu4
things we can do to make HOPs more debuggable (from easiest to hardest):
- add an envvar to turn off torch.compile, with the caveat that... this only works for inference and no subsystems.
- add torch.print() and torch.breakpoint() operators, which are e... | true |
2,846,681,697 | Update octokit/request-action to 2.4.0 | huydhn | closed | [
"Merged",
"Reverted",
"topic: not user facing",
"test-config/default",
"ci-no-td"
] | 9 | CONTRIBUTOR | The current version 2.1.0 has disappeared since yesterday:
* https://github.com/pytorch/pytorch/actions/workflows/upload-torch-dynamo-perf-stats.yml
* https://github.com/pytorch/pytorch/actions/workflows/upload-test-stats.yml
The latest version is 2.4.0 https://github.com/octokit/request-action | true |
2,846,658,333 | [export] Log evaluate_expr | angelayi | closed | [
"Merged",
"ciflow/trunk",
"release notes: fx",
"fx",
"module: dynamo",
"ciflow/inductor"
] | 8 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #147240
* __->__ #146939
We want to log each symnode created so that we can do provenance tracking in the tlparse report generated for draft export. To do this, we want to assign a unique id to every symnode, which python's `id` function al... | true |
2,846,653,684 | ModuleDict has an incomplete (or wrong) typing, producing type errors when accessed with attributes | wookayin | open | [
"module: nn",
"module: typing",
"triaged"
] | 1 | NONE | ### 🐛 Describe the bug
Since torch 2.6, `nn.ModuleDict` (and `nn.Module`) has gained some typing support (https://github.com/pytorch/pytorch/pull/141240 https://github.com/pytorch/pytorch/pull/115074):
> ```
> # It is crucial that the return type is not annotated as `Any`, otherwise type checking
> # on `torch.nn.Mo... | true |
2,846,607,868 | [draft] ROCm MX-FP8 Scale_mm() Support | petrex | closed | [
"module: rocm",
"module: cpu",
"open source",
"release notes: quantization"
] | 2 | CONTRIBUTOR | TLDR: The PR is a follow up/based on https://github.com/pytorch/pytorch/pull/146655. Goal is to enable MX-FP8 capability on gfx950 through hipblasLT. Ideally https://github.com/pytorch/pytorch/pull/146655 should land first.
------------
This pull request introduces support for the new `Float8_e8m0fnu` and `Float... | true |
2,846,574,434 | flexible custom operators: custom operators that accept arbitrary input/output type | zou3519 | open | [
"triaged",
"module: custom-operators",
"oncall: pt2",
"module: pt2-dispatcher"
] | 0 | CONTRIBUTOR | A big pain point users have with custom operators today is that they do not accept arbitrary input/output types. Users have asked for enums, namedtuples, and arbitrary user-defined types as inputs. This has been traditionally very difficult to support, because all types in custom operators need to make a roundtrip thro... | true |
2,846,561,592 | Yguo/repro segfault triton aoti cpp wrapper | YUNQIUGUO | open | [
"Stale",
"module: inductor",
"ciflow/inductor"
] | 3 | CONTRIBUTOR | TEST PLAN:
```
TORCH_LOGS="output_code" CPLUS_INCLUDE_PATH=/usr/local/cuda-12.0/include:$CPLUS_INCLUDE_PATH python test/inductor/test_aot_inductor.py -k test_addmm_cuda
```
output paste: [P1730560592](https://www.internalfb.com/phabricator/paste/view/P1730560592)
cc @voznesenskym @penguinwu @EikanWang @jgong5 @G... | true |
2,846,546,587 | [oncall] Change error message to be more readable | jingsh | closed | [
"fb-exported",
"Merged",
"ciflow/trunk",
"release notes: fx",
"fx"
] | 7 | MEMBER | Summary:
During oncall, got a debug, where the error message is a bit ambiguous, due to multiple colons, and full line cutoff
```
AssertionError: Expected order: 1 for the component: remote_request_only to be >= 2, the max order for all its
```
Update the error message to something like
```
AssertionError: Component r... | true |
2,846,537,685 | [draft] nccl - Use checkout rather then submodule | atalman | open | [
"Stale",
"topic: not user facing"
] | 2 | CONTRIBUTOR | Fixes #ISSUE_NUMBER
| true |
2,846,501,765 | Use of @property on in-graph constructed NJT fails Dynamo tracing | jbschlosser | open | [
"triaged",
"module: nestedtensor",
"oncall: pt2",
"module: dynamic shapes",
"module: dynamo",
"dynamo-triage-jan2025"
] | 0 | CONTRIBUTOR | Repro:
```python
import torch
@torch.compile(fullgraph=True, dynamic=True)
def f(values, offsets, max_seqlen):
t = torch.nested.nested_tensor_from_jagged(values, offsets, max_seqlen=max_seqlen)
return torch.nested.nested_tensor_from_jagged(
torch.randn_like(values), t.offsets(), max_seqlen=t._maybe_ma... | true |
2,846,492,981 | [StaticRuntime] Support a new pattern for ClipRangesToGatherToOffsets | coufon | closed | [
"oncall: jit",
"fb-exported",
"Merged",
"ciflow/trunk",
"release notes: jit"
] | 11 | CONTRIBUTOR | Summary:
Support the following new pattern for ClipRangesToGatherToOffsets:
Before optimization:
```
%18267 : Tensor, %18268 : Tensor = fb::clip_ranges_gather(%int_77.1, %getitem_2484.1, %493)
%getattr_368.1 : int = prim::dtype(%18267)
%to_443.1 : Tensor = aten::to(%18268, %getattr_368.1, %self._maybe_compute_kjt_to_j... | true |
2,846,434,409 | pytest test/dynamo fails | zou3519 | open | [
"triaged",
"oncall: pt2",
"module: dynamo"
] | 0 | CONTRIBUTOR | probably not a good thing
<img width="663" alt="Image" src="https://github.com/user-attachments/assets/f2a657f2-aa70-4734-9472-c6102402cf80" />
cc @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @amjames | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.