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,796,503,359
test trigger dispatch
yangw-dev
closed
[ "topic: not user facing" ]
1
CONTRIBUTOR
Fixes #ISSUE_NUMBER
true
2,796,500,096
Repro collective timeout and FR dump
wconstab
closed
[ "oncall: distributed", "topic: not user facing" ]
2
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145125 * #144834 * #145099 * #145011 * #145010 the timeout is unfortunatley not reliable to repro. I'm not yet sure what the root cause is, so for now I am just uploading my FR trace files to improve the analyzer script. ...
true
2,796,499,862
Add upload testlog
yangw-dev
closed
[ "topic: not user facing" ]
1
CONTRIBUTOR
Fixes #ISSUE_NUMBER
true
2,796,488,729
[mps/inductor] Skip "double" tests as 64-bits FP is not supported.
dcci
closed
[ "Merged", "ciflow/trunk", "topic: not user facing", "module: mps", "ciflow/mps", "module: inductor", "ciflow/inductor" ]
3
MEMBER
257 tests failed (before) -> 242 tests failed (after) cc @kulinseth @albanD @malfet @DenisVieriu97 @jhavukainen @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhan...
true
2,796,478,705
inductor: Don't throw an internal error when a nn.module is missing a attribute
c00w
closed
[ "Merged", "Reverted", "ciflow/trunk", "topic: not user facing", "module: dynamo", "ciflow/inductor", "ci-no-td" ]
17
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145122 If a nn.module getattr call throws, we should make sure that we don't crash with an internal error Note that I couldn't figure out how to test this, so advice would be awesome. I have my best case attempt at https://gith...
true
2,796,477,013
Operator Benchmark: Additional operators
apakbin
closed
[ "open source", "ciflow/trunk", "release notes: benchmark" ]
11
CONTRIBUTOR
Added additional operators: add_, addcmul, arange, baddbmm, bmm, clamp, div, div_, gelu, index_add, logical_and, mul_, sub_, topk, where
true
2,796,465,903
[triton] Update triton pin to include warp specialization support
htyu
closed
[ "Merged", "Reverted", "ciflow/trunk", "topic: not user facing", "ciflow/inductor", "ci-no-td" ]
18
CONTRIBUTOR
The warp specialization work has been landed to the triton rc/3.2.x branch as https://github.com/triton-lang/triton/commit/b2684bf3b0270eff6f104260b6a96c0c139cd56f
true
2,796,431,216
WIP sccache simplified
wdvr
closed
[ "Stale", "ciflow/binaries", "ciflow/trunk", "topic: not user facing", "ciflow/inductor" ]
2
CONTRIBUTOR
Trying to see if we can get rid of all of the wrapper code now
true
2,796,430,482
[fx] move DCE rand check to import time
xmfan
closed
[ "Merged", "ciflow/trunk", "release notes: fx", "fx", "module: dynamo", "ciflow/inductor" ]
3
MEMBER
Mitigates the deterministic benchmark regression: https://github.com/pytorch/pytorch/issues/144775#issuecomment-2593411844. and maybe the dashboard issue. fx.Node.is_impure is unexpectedly a hot spot. It gets called for every node in the graph whenever we invoke DCE, which should be okay, EXCEPT we invoke DCE on the...
true
2,796,423,389
[EXPERIMENTAL][dynamo] optimize `DictGetItemGuardAccessor`
StrongerXi
closed
[ "Stale", "module: dynamo", "ciflow/inductor" ]
3
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145117 * #143313 cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames
true
2,796,420,878
WIP remove -E workaround for nvcc
wdvr
closed
[ "Stale", "ciflow/trunk", "topic: not user facing" ]
2
CONTRIBUTOR
follow up on https://github.com/pytorch/pytorch/pull/145012 to remove workaround https://github.com/pytorch/pytorch/pull/142813/files Testing to see if sccache now handles the nvcc caching correctly
true
2,796,383,244
Obey sm_carveout (limit on number of SMs) in inductor persistent kernel
davidberard98
closed
[ "triaged", "oncall: pt2", "module: inductor" ]
0
CONTRIBUTOR
### 🚀 The feature, motivation and pitch See https://github.com/pytorch/pytorch/pull/144974#issuecomment-2599011250 cc @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @des...
true
2,796,375,328
[Utilization][Usage Log] Add data model for record
yangw-dev
closed
[ "Merged", "ciflow/trunk", "topic: not user facing" ]
6
CONTRIBUTOR
Add data model for consistency and data model change in the future. The data model will be used during the post-test-process pipeline
true
2,796,368,030
[Utilization] Add datamodel for logging record
yangw-dev
closed
[ "topic: not user facing" ]
1
CONTRIBUTOR
add dataModel
true
2,796,254,287
Update ci_expected_accuracy for TIMM levit_128 for further investigation
huydhn
closed
[ "Merged", "ciflow/trunk", "topic: not user facing", "module: dynamo", "ciflow/inductor" ]
14
CONTRIBUTOR
TSIA, it looks like an upstream change, but I'm not sure from where yet. cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames
true
2,796,237,382
Prevent legacy_load when weights_only=True (correctly)
pytorchbot
closed
[ "open source", "ciflow/trunk" ]
1
COLLABORATOR
Only prevent `legacy_load` (.tar format removed in https://github.com/pytorch/pytorch/pull/713), not the whole of `_legacy_load` (.tar format + _use_new_zipfile_serialization=False) Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145020 Differential Revision: [D68301405](https...
true
2,796,233,067
Delete torch._library.register_functional_op
zou3519
closed
[ "Merged", "ciflow/trunk", "topic: not user facing" ]
3
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145110 * #145109 Fixes #117816, #117834, #117871 This has been superceded by auto_functionalized_v2. There are no internal usages and this is private API so it is safe to delete.
true
2,796,232,991
Skip test responsible for causing flakiness
zou3519
closed
[ "Merged", "topic: not user facing" ]
1
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #145110 * __->__ #145109 Investigation is a separate issue. For now I want to get the CI back up and running on the other tests. The problem seems to be that IncludeDispatchKeyGuard doesn't actually reset the state, which seems very, very wr...
true
2,796,227,000
torch._C._IncludeDispatchKeyGuard is very broken?
zou3519
open
[ "triaged", "module: dispatch" ]
1
CONTRIBUTOR
```py import torch print(torch._C._meta_in_tls_dispatch_include()) with torch._C._IncludeDispatchKeyGuard(torch.DispatchKey.Meta): print(torch._C._meta_in_tls_dispatch_include()) print(torch._C._meta_in_tls_dispatch_include()) ``` prints False, True, True, which is completely bogus
true
2,796,212,140
PEP585 update - torch/_inductor/fx_passes
aorenste
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): * __->__ #145107 See #145101 for details. cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire ...
true
2,796,211,651
PEP585 update - torch/_inductor/codegen
aorenste
closed
[ "module: rocm", "Merged", "ciflow/trunk", "topic: not user facing", "module: inductor", "ciflow/inductor" ]
5
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145106 See #145101 for details. cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang @naromero77amd @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe...
true
2,796,210,483
PEP585 update - torch/_dynamo
aorenste
closed
[ "Merged", "topic: not user facing", "module: dynamo", "ciflow/inductor", "module: compiled autograd" ]
1
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #145102 * __->__ #145105 See #145101 for details. cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames @xmfan @yf225
true
2,796,210,469
futher scheduler changes for invoke_quant: prologue low prec, (slightly) more aggressive fusion
eellison
closed
[ "Merged", "ciflow/trunk", "topic: not user facing", "module: inductor", "ciflow/inductor" ]
6
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145104 Respect invoke_quant low precision options, also, be more aggressive in attepmting fusion. cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf2...
true
2,796,210,380
Maintain multiple configs
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): Previously, we would finalize the config of a triton template after its first fusion. this maintains multiple configs, in case we epilogue fuse, then prologue fuse, and prologue fusion has a new better config. cc @voznesenskym @penguinw...
true
2,796,209,939
PEP585 update - torch/_C torch/_decomp torch/_lazy torch/_library torch/_numpy torch/_prims torch/_refs torch/_strobelight
aorenste
closed
[ "Merged", "ciflow/trunk", "topic: not user facing", "ciflow/inductor" ]
6
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145102 * #145105 See #145101 for details.
true
2,796,194,618
PEP585 update - benchmarks tools torchgen
aorenste
closed
[ "Merged", "ciflow/trunk", "release notes: releng", "topic: not user facing", "module: dynamo", "ciflow/inductor" ]
3
CONTRIBUTOR
This is one of a series of PRs to update us to PEP585 (changing Dict -> dict, List -> list, etc). Most of the PRs were completely automated with RUFF as follows: Since RUFF UP006 is considered an "unsafe" fix first we need to enable unsafe fixes: ``` --- a/tools/linter/adapters/ruff_linter.py +++ b/tools/linte...
true
2,796,174,444
`torch.onnx.export` (dynamo=False) fails with uninformative error when exporting `apply_rotary_pos_emb`/`repeat_interleave`
xenova
open
[ "module: onnx", "triaged", "OSS contribution wanted" ]
3
NONE
### 🐛 Describe the bug When attempting to export a HF transformers model that performs `apply_rotary_pos_emb` (definition below), an uninformative error is thrown: <details> <summary>See reproduction code</summary> ```py import torch def rotate_half(x): """Rotates half the hidden dims of the input.""" x...
true
2,796,160,432
Make MultiProcContinuousTest timeout configurable
wconstab
closed
[ "Merged", "ciflow/trunk", "topic: not user facing" ]
5
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #145125 * #144834 * __->__ #145099 * #145011 * #145010 Allows test classes using MPCT to set their own timeout as a class property, which is good enough since the processgroup is shared across test instances and the timeout is set at process...
true
2,796,153,815
Use STL string_view header
r-barnes
closed
[ "oncall: distributed", "oncall: jit", "Stale", "release notes: cpp", "topic: improvements" ]
2
CONTRIBUTOR
Fixes #ISSUE_NUMBER cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @EikanWang @jgong5 @wenzhe-nrv @sanchitintel
true
2,796,136,375
[ca] Use aot_eager on flex attention test
xmfan
closed
[ "module: rocm", "Merged", "ciflow/trunk", "topic: not user facing", "module: inductor", "ciflow/inductor", "ciflow/rocm" ]
4
MEMBER
FIXES https://github.com/pytorch/pytorch/issues/144912 The flex attention lowering incompatibilities are covered by https://github.com/pytorch/pytorch/blob/main/test/inductor/test_flex_attention.py. For the CA + flex integration, we don't actually need to test the lowering, only the frontend graph capture. Stack ...
true
2,796,094,098
DISABLED test_basic (__main__.TestPythonDispatch)
pytorch-bot[bot]
closed
[ "triaged", "module: flaky-tests", "skipped", "module: __torch_dispatch__" ]
3
NONE
Platforms: linux, rocm, slow, win, windows, asan This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_basic&suite=TestPythonDispatch&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/35778393396). Over the pa...
true
2,796,092,424
cpp_wrapper/aot_inductor: handle conjugation and negation dispatch keys
benjaminglass1
closed
[ "open source", "Merged", "topic: not user facing", "module: inductor", "ciflow/inductor" ]
1
COLLABORATOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #146424 * #146109 * #145683 * #145655 * #145654 * __->__ #145095 Handles conjugation and negation in the same way that runtime dispatch does: by on-the-fly cloning a tensor with either key applied. cc @voznesenskym @penguinwu @EikanWang @jg...
true
2,796,078,456
Tracking issue: Incorrect Meta Strides / Turn On PyDispatcher in FakeTensor Mode
eellison
open
[ "triaged", "oncall: pt2", "module: fakeTensor", "module: decompositions", "module: pt2-dispatcher" ]
1
CONTRIBUTOR
### 🐛 Describe the bug Incorrect Strides can manifest in errors within torch.compile. Potentially what makes them trickier is that they only sometimes cause errors. An incorrect stride can lay dormant for a while and then cause a problem. See, [this discussion](https://github.com/pytorch/pytorch/issues/144699#issue...
true
2,796,073,888
Inductor aten.clone lowering ignores Conjugate and Negative dispatch keys
benjaminglass1
open
[ "triaged", "actionable", "module: correctness (silent)", "bug", "oncall: pt2", "module: inductor", "module: pt2-dispatcher" ]
4
COLLABORATOR
### 🐛 Describe the bug In runtime-dispatched `torch`, conjugation and certain forms of negation are lazily evaluated at dispatch. The current lowering for `aten.clone` ignores this. See the minimal reproducer below: ```python import torch fn = torch.compile(torch.ops.aten.clone.default) # this issue does not occur...
true
2,796,033,502
[MPSInductor] Implement `i0` and `i1` ops
malfet
closed
[ "Merged", "topic: not user facing", "ciflow/mps", "module: inductor", "ciflow/inductor" ]
3
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145092 * #145087 Using shared definitions with eager op cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppl...
true
2,796,011,787
[aoti] Deduplicate "V.aot_compilation" and "V.graph.aot_mode" flags. [2/n]
zhxchen17
closed
[ "fb-exported", "Merged", "ciflow/trunk", "topic: not user facing", "module: inductor", "ciflow/inductor" ]
4
CONTRIBUTOR
Summary: Following up D68122536 to remove configurable aot_mode for inner_compile Test Plan: CI Reviewed By: desertfire Differential Revision: D68158512 cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchu...
true
2,795,991,723
Test
svekars
closed
[ "Stale", "topic: not user facing" ]
2
CONTRIBUTOR
Fixes #ISSUE_NUMBER
true
2,795,968,542
[POC] Extend torch function support to ALL arguments, not just scalar type (but not insides of list)
ezyang
open
[ "release notes: fx", "no-stale" ]
4
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145089 Signed-off-by: Edward Z. Yang <ezyang@meta.com>
true
2,795,954,655
[torchbench] torch._dynamo.exc.Unsupported: Graph break due to unsupported builtin None.morphologyEx
IvanKobzarev
open
[ "oncall: pt2", "module: dynamo", "oncall: export", "pt2-pass-rate-regression" ]
5
CONTRIBUTOR
### 🐛 Describe the bug Repro: ``` python benchmarks/dynamo/torchbench.py --accuracy --no-translation-validation --inference --amp --export --disable-cudagraphs --device cuda --only doctr_det_predictor ``` ``` cuda eval doctr_det_predictor ERROR:common: Traceback (most recent call last): File "/dat...
true
2,795,954,316
[MPS] Support includes in metal objects
malfet
closed
[ "Merged", "release notes: mps", "ciflow/mps", "topic: devs" ]
6
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #145092 * __->__ #145087 Useful for code reuse for Metal shader build both for eager mode and MPSInductor, but it requires one to implement `_cpp_embed_headers` tool that, as name suggests, would preprocess and embeds the for shader to be u...
true
2,795,951,958
`torch.distributions`: replace `numbers.Number` with `torch.types.Number`.
randolf-scholz
closed
[ "module: distributions", "module: typing", "triaged", "open source", "Merged", "ciflow/trunk", "release notes: python_frontend" ]
7
CONTRIBUTOR
Fixes #144788 (partial) cc @fritzo @neerajprad @alicanb @nikitaved @ezyang @malfet @xuzhao9 @gramster
true
2,795,951,069
Add support for torch function on dtype arguments
ezyang
closed
[ "Merged", "ciflow/trunk", "release notes: python_frontend", "topic: new features" ]
4
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145085 Along the lines of https://github.com/pytorch/pytorch/issues/119194 although it doesn't actually address the FCD case. Signed-off-by: Edward Z. Yang <ezyang@meta.com>
true
2,795,932,321
[CI] Add xpu linux build into pull workflow
chuanqi129
closed
[ "open source", "Merged", "ciflow/trunk", "topic: not user facing" ]
3
COLLABORATOR
To mitigate the XPU build failure risk introduced by non-XPU specific PRs. Refer #144967 & #143803
true
2,795,900,424
cpp_wrapper: Move #includes to per-device header files
benjaminglass1
closed
[ "open source", "ciflow/trunk", "release notes: releng", "module: inductor", "ciflow/inductor", "ciflow/rocm", "ciflow/xpu" ]
12
COLLABORATOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #144349 * #144293 * #144002 * __->__ #145083 This prepares us for the next PR in the stack, where we introduce pre-compiled per-device header files to save compilation time. Reimplements https://github.com/pytorch/pytorch/pull/143909. ...
true
2,795,829,525
partitioner: avoid inserting duplicates into heap
bdhirsh
closed
[ "Merged", "ciflow/trunk", "release notes: composability", "module: dynamo", "ciflow/inductor", "ciflow/inductor-perf-test-nightly" ]
7
CONTRIBUTOR
Fixes https://github.com/pytorch/pytorch/issues/145081 This looks like it was a source of quadratic compile times in the torchtitan CP graphs. There's some code in the partitioner that iteratively adds users of a node to a heap, and pops the earliest user. If you have long parallel chains of fusible ops that all eve...
true
2,795,824,628
partitioner hangs for some long chains of ops with many users
bdhirsh
closed
[ "high priority", "triaged", "oncall: pt2", "module: aotdispatch", "module: pt2-dispatcher" ]
0
CONTRIBUTOR
Causing the compile hang / NCCL timeout in https://fb.workplace.com/groups/1075192433118967/posts/1585106652127540/?comment_id=1585174555454083 Here's a min repro, which still hangs for me after several minutes of compiling: ``` import torch import time class Mod(torch.nn.Module): def forward(self, x): tm...
true
2,795,749,046
Remove FFT from stride incorrect ops
ezyang
closed
[ "Merged", "ciflow/trunk", "topic: bug fixes", "release notes: dynamo" ]
7
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145080 I gotta say, the FFT implementation is completely insane, there's gotta be a better way to do this than repeatedly inplace restriding the output tensor. Anyway, this is a faithful translation of both the MKL and cuFFT paths...
true
2,795,731,426
list comprehension in SkipFiles are always skipped with no way to override
zou3519
closed
[ "triaged", "oncall: pt2", "module: dynamo" ]
1
CONTRIBUTOR
Proposal: list comprehensions should always be inlined and never markable as skip. Internal xref: https://fb.workplace.com/groups/1075192433118967/posts/1585141438790728/?comment_id=1585152455456293&reply_comment_id=1586067422031463 cc @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper...
true
2,795,664,212
Don't overspecialize float when propagating cache guards to ShapeEnv
ezyang
closed
[ "module: cpu", "Merged", "ciflow/trunk", "release notes: fx", "fx", "module: inductor", "ciflow/inductor" ]
3
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145078 Fixes https://github.com/pytorch/pytorch/issues/142507 Signed-off-by: Edward Z. Yang <ezyang@meta.com> cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @SherlockNoMad @EikanWang @wenzhe-nrv @voznesenskym...
true
2,795,650,611
Negative values in stride causing error in `avg_pool2d` (on both CPU and CUDA)
WLFJ
open
[ "module: crash", "module: error checking", "triaged", "actionable", "topic: fuzzer" ]
0
NONE
### 🐛 Describe the bug Passing a tuple with negative values (such as sym_6) as the stride parameter to the `torch.nn.functional.avg_pool2d` function causes an error on both CPU and CUDA. The function currently checks for zero values but does not handle negative values, leading to unexpected behavior when negative str...
true
2,795,627,996
Add MSVC version condition to "Fix for MSVC problem on Windows Arm64 (#136765)"
iremyux
closed
[ "module: cpu", "triaged", "open source", "Merged", "ciflow/trunk", "topic: not user facing" ]
9
COLLABORATOR
This PR adds MSVC version guards around the if block presented on f7e36d8d6f9706ee9b9653538c4c8d2ba375a181. This commit was to provide a workaround for the problem reported here: https://developercommunity.visualstudio.com/t/MSVC-loop-unrolling-problem-194033813-/10720692 . The issue is fixed now and only appears bet...
true
2,795,622,290
Downgrade ignored guard to info level
ezyang
closed
[ "Merged", "ciflow/trunk", "release notes: fx", "topic: not user facing", "fx", "ciflow/inductor" ]
6
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145075 Fixes https://github.com/pytorch/pytorch/issues/101265 Signed-off-by: Edward Z. Yang <ezyang@meta.com> cc @SherlockNoMad @EikanWang @jgong5 @wenzhe-nrv
true
2,795,611,127
AssertionError: increase TRITON_MAX_BLOCK['X'] to 4096 Again!
filbeofITK
closed
[ "triaged", "oncall: pt2", "module: inductor", "module: higher order operators", "module: pt2-dispatcher", "module: flex attention" ]
2
NONE
### 🐛 Describe the bug I have ran into the compile issue of flax attention modules again, where I get the notorious: `AssertionError: increase TRITON_MAX_BLOCK['X'] to 4096`. I have read this issue: https://github.com/pytorch/pytorch/issues/135028 and tried this workaround: `If you set torch._inductor.config.realiz...
true
2,795,542,185
A confusion about Bidirectional GRU
guest-oo
closed
[]
3
NONE
Is the output h_n valid data masked by pack? And the data structure of h_n is independent of whether batch_first=True? Bidirectional GRU if i choose the final hiddeni state output in both directions is h-f-t, combined with h-b-1?
true
2,795,530,887
Segmentation fault when passing an empty tensor to `_local_scalar_dense`
WLFJ
closed
[ "module: crash", "module: error checking", "triaged", "actionable", "module: empty tensor", "topic: fuzzer" ]
2
NONE
### 🐛 Describe the bug Passing a tensor with size `(0,)` (empty tensor) to the `torch.ops.aten._local_scalar_dense` function results in a segmentation fault (SIGSEGV). ```python import torch print(torch.__version__) var_199 = torch.rand((0,)) torch.ops.aten._local_scalar_dense(var_199) ``` output: ``` 2.7.0.dev20...
true
2,795,510,053
Illegal memory access and segmentation fault due to large `storage_offset` in `as_strided`
WLFJ
open
[ "module: crash", "triaged", "topic: fuzzer" ]
0
NONE
### 🐛 Describe the bug Passing a very large value for the `storage_offset` parameter in `torch.as_strided` causes different errors on CPU and CUDA: * On CPU, it leads to a segmentation fault (SIGSEGV). * On CUDA, it results in an illegal memory access error when attempting to print or access the result after perform...
true
2,795,438,332
Segment fault on CPU and IndexError on CUDA for `_adaptive_avg_pool2d_backward`
WLFJ
closed
[ "module: crash", "module: error checking", "triaged", "topic: fuzzer" ]
1
NONE
### 🐛 Describe the bug When calling the `torch.ops.aten._adaptive_avg_pool2d_backward` function with mismatched tensor dimensions, it causes a segmentation fault (SIGSEGV) on the CPU, but an `IndexError` on CUDA. For exmple in CUDA: ```python import torch print(torch.__version__) sym_0 = (1, 3, 8, 3) sym_1 = torc...
true
2,795,409,315
DISABLED test_sparse_add_cuda_complex64 (__main__.TestSparseCSRCUDA)
pytorch-bot[bot]
closed
[ "module: sparse", "module: rocm", "triaged", "module: flaky-tests", "skipped" ]
4
NONE
Platforms: rocm This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_sparse_add_cuda_complex64&suite=TestSparseCSRCUDA&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/35768157832). Over the past 3 hours, it h...
true
2,795,409,231
DISABLED test_autograd_in_attr (__main__.TestPythonDispatch)
pytorch-bot[bot]
closed
[ "triaged", "module: flaky-tests", "skipped", "module: __torch_dispatch__" ]
3
NONE
Platforms: asan, linux, rocm, slow, win, windows, mac, macos This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_autograd_in_attr&suite=TestPythonDispatch&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/3...
true
2,795,377,820
Fix issue with test/nn/test_convolution:TestConvolutionNNDeviceTypeCUDA.test_conv_large_batch_1_cuda
rec
closed
[ "open source", "Merged", "ciflow/trunk", "topic: not user facing" ]
7
COLLABORATOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145067
true
2,795,375,310
SIGSEGV error when passing a 0-sized tensor to `_local_scalar_dense`
WLFJ
closed
[ "module: crash", "triaged", "module: empty tensor", "topic: fuzzer" ]
4
NONE
### 🐛 Describe the bug Passing a tensor with size `(0,)` to the `torch.ops.aten._local_scalar_dense` function results in a segmentation fault (SIGSEGV). ```python import torch print(torch.__version__) input = torch.randn(size=(0,)) torch.ops.aten._local_scalar_dense(input) ``` output: ``` 2.7.0.dev20250116+cu124 ...
true
2,795,355,233
SIGFPE error when passing very large kernel_size to `avg_pool1d`
WLFJ
open
[ "module: crash", "triaged", "topic: fuzzer" ]
0
NONE
### 🐛 Describe the bug Passing a very large value for the kernel_size parameter to the `torch.ops.aten.avg_pool1d` function results in a SIGFPE error. ```python import torch print(torch.__version__) sym_0 = (0, 1) sym_1 = torch.double sym_2 = torch.strided sym_3 = (9223372036854775807,) sym_4 = (-1,) sym_5 = (0,) ...
true
2,795,259,369
`_pdist_forward` causes segmentation fault for 3D tensor with last dimension of size 0
WLFJ
open
[ "module: crash", "module: error checking", "triaged", "actionable", "module: empty tensor", "topic: fuzzer" ]
0
NONE
### 🐛 Describe the bug When passing a 3D tensor where the last dimension has size 0 to the torch.ops.aten._pdist_forward function, a segmentation fault occurs. ```python import torch print(torch.__version__) input = torch.rand((11, 15, 0)) torch.ops.aten._pdist_forward(input, p=2.0) ``` output: ``` 2.7.0.dev20250...
true
2,795,199,578
`torch.ops.aten._local_scalar_dense` crashed on empty size tensor
WLFJ
closed
[ "module: crash", "triaged", "module: python frontend", "module: edge cases" ]
3
NONE
### 🐛 Describe the bug `torch.ops.aten._local_scalar_dense` crashed on empty size tensor. For example: ```python import torch print(torch.__version__) input = torch.randn(0) res = torch.ops.aten._local_scalar_dense(input) print(res) ``` running result on latest nightly: ``` $ python3 reproduce.py 2.7.0.dev20250...
true
2,795,137,448
[Intel CPU] Fix issue #143489.
RanTao123
closed
[ "module: cpu", "open source", "Merged", "ciflow/trunk", "topic: not user facing" ]
4
CONTRIBUTOR
Fix issue in https://github.com/pytorch/pytorch/issues/143489. kernel_height * kernel_weight will cause Floating point exception, so we will divide by them one by one. cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10
true
2,795,061,520
[Inductor] optimize welford reduction
jiayisunx
closed
[ "oncall: distributed", "open source", "Merged", "ciflow/trunk", "module: inductor", "ciflow/inductor", "release notes: inductor" ]
5
COLLABORATOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145061 Fix https://github.com/pytorch/pytorch/issues/141541. Fix https://github.com/pytorch/pytorch/issues/142839. Fix https://github.com/pytorch/pytorch/issues/143182. **Summary:** In order to fix the issue that the accura...
true
2,794,845,154
[CI] Add continue through error flag to xpu ci test
chuanqi129
closed
[ "triaged", "open source", "ciflow/trunk", "topic: not user facing", "keep-going", "ciflow/xpu" ]
4
COLLABORATOR
Fixes #145048
true
2,794,841,891
Fix a number of flexattention issues (cse, cudagraph, etc.)
Chillee
closed
[ "Merged", "ciflow/trunk", "topic: not user facing", "module: inductor", "ciflow/inductor" ]
3
COLLABORATOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145059 cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang @aakhundov
true
2,794,802,541
[Break XPU][Inductor UT] Fix broken XPU CI introduced by community changes
etaf
closed
[ "open source", "Merged", "ciflow/trunk", "topic: not user facing", "module: inductor", "ciflow/inductor", "ciflow/xpu" ]
3
COLLABORATOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145058 As title. cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang ...
true
2,794,798,011
[2/N] Remove unnecessary once flag usage
cyyever
closed
[ "oncall: distributed", "module: cpu", "open source", "Merged", "ciflow/trunk", "release notes: quantization", "release notes: distributed (c10d)" ]
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
true
2,794,763,318
Update test_c10d_object_collectives.py with DistributedTestBase class
amathewc
closed
[ "oncall: distributed", "triaged", "open source", "Merged", "ciflow/trunk", "topic: not user facing" ]
22
CONTRIBUTOR
# MOTIVATION To generalize distributed test cases for non-CUDA devices, we are leveraging the DistributedTestBase class introduced in [PR #138216](https://github.com/pytorch/pytorch/pull/138216). This new class is derived from MultiProcessTestCase and abstracts the creation/deletion of process groups and other functio...
true
2,794,757,353
[Break XPU][qconv] Add torch.int8 as output dtype assertion in qconv2d_pointwise
etaf
closed
[ "open source" ]
2
COLLABORATOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #145039 * __->__ #145055 * #145038 * #145037 * #145036
true
2,794,754,135
Update c10d_object_collectives using DistributedTestBase
amathewc
closed
[ "oncall: distributed", "topic: not user facing" ]
3
CONTRIBUTOR
# MOTIVATION To generalize distributed test cases for non-CUDA devices, we are leveraging the DistributedTestBase class introduced in [PR #138216](https://github.com/pytorch/pytorch/pull/138216). This new class is derived from MultiProcessTestCase and abstracts the creation/deletion of process groups and other functio...
true
2,794,706,432
DISABLED test_nested_optimize_decorator (__main__.MiscTests)
pytorch-bot[bot]
closed
[ "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_nested_optimize_decorator&suite=MiscTests&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/35754430609). Over the past 3 hours,...
true
2,794,706,211
DISABLED test_mps_event_module (__main__.TestMPS)
pytorch-bot[bot]
closed
[ "triaged", "module: flaky-tests", "module: macos", "skipped", "module: mps" ]
2
NONE
Platforms: mac, macos This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_mps_event_module&suite=TestMPS&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/35752004692). Over the past 3 hours, it has been deter...
true
2,794,683,541
[inductor][1/N] triton support post-#5512, main components
davidberard98
closed
[ "Merged", "topic: bug fixes", "module: inductor", "ciflow/inductor", "release notes: inductor" ]
4
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #145515 * #145348 * __->__ #145051 Triton commit 5220 adds tuple support in Triton (changing the indexing format in AttrsDescriptor) and commit 5512 replaces AttrsDescriptor with raw tuples. This is an initial PR to add support for Triton v...
true
2,794,665,775
Make flex_attention work if `score_mod`'s output doesn't require gradients at all
Chillee
open
[ "triaged", "oncall: pt2", "module: higher order operators", "module: pt2-dispatcher", "module: flex attention" ]
0
COLLABORATOR
### 🚀 The feature, motivation and pitch See https://github.com/pytorch/pytorch/issues/139548#issuecomment-2597509430 ``` import warnings import numpy as np import torch from torch.nn.attention.flex_attention import flex_attention, create_mask, create_block_mask # import astropy_healpix as hp hlc = 4 num_healpix_c...
true
2,794,663,333
Fix document for tensorboard
leoleoasd
closed
[ "triaged", "open source", "topic: not user facing" ]
5
NONE
Change 10 items to 10 bytes. In tensorboard document: https://github.com/tensorflow/tensorboard/blob/862a9da9b6b8dd5523b829278eb57648cd060e34/tensorboard/summary/writer/event_file_writer.py#L54-L70 and their implementation: https://github.com/tensorflow/tensorboard/blob/862a9da9b6b8dd5523b829278eb57648cd060...
true
2,794,641,653
[XPU] Keep going jobs of `ciflow/xpu` when case fist failed.
etaf
closed
[ "module: ci", "triaged", "module: xpu" ]
4
COLLABORATOR
### 🚀 The feature, motivation and pitch Currently PyTorch's CI jobs all stop at the first failure. For XPU, we want the `ciflow/xpu` job to continue to run the whole job when it encounters a failure, and get all the failures. The reason is detailed as below: Since `ciflow/xpu` hasn't been gating for community PRs, w...
true
2,794,619,489
prov logging
bobrenjc93
closed
[ "ciflow/trunk", "release notes: fx", "fx", "ciflow/inductor" ]
2
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #145196 * __->__ #145047 * #143961 cc @ezyang @SherlockNoMad @EikanWang @jgong5 @wenzhe-nrv Differential Revision: [D68349176](https://our.internmc.facebook.com/intern/diff/D68349176)
true
2,794,518,885
OpenReg: fix issue of pin_memory
Zhenbin-8
closed
[ "triaged", "open source", "Merged", "ciflow/trunk", "topic: not user facing" ]
8
CONTRIBUTOR
Fix issue of `pin_memory` when rewrapping a storage. cc @albanD
true
2,794,485,333
[pytorch/ncclx] Remove Alltoallv specialization for PTD all_to_all
wconstab
closed
[ "module: c10d", "Merged", "ciflow/trunk", "release notes: distributed (c10d)" ]
10
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145045 Summary: PTD all_to_all uses a list of tensors, while ncclAllToAllv (provided by NCCLX and RCCL) assumes that a single contiguous buffer is used. These are fundamentally mismatched. The list of tensors might not be contiguous...
true
2,794,447,043
DISABLED test_strided_inputs_dynamic_shapes_cuda (__main__.DynamicShapesGPUTests)
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_strided_inputs_dynamic_shapes_cuda&suite=DynamicShapesGPUTests&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/35749033733). Over the past ...
true
2,794,382,662
Bug when using reparameterized model evaluating with DDP
NOTGOOOOD
open
[ "oncall: distributed", "triaged" ]
1
NONE
### 🐛 Describe the bug I usually evaluate my model at the end of each training epoch. But in DDP mode, validation using the reparameterized model reports an error. If a single GPU is used for training and validation neither will report an error. The error message is given below: ```triple quotes blocks BUG INFO [ran...
true
2,794,370,161
PyTorch VS2022 build Windows binary illegal instruction on AVX2(max ISA level) CPU
xuhancn
closed
[ "module: windows", "low priority", "module: cpu", "triaged" ]
2
COLLABORATOR
### 🐛 Describe the bug # Background Intel Team found the PyTorch Windows XPU nightly build binary occurred illegal instruction on AVX2(max ISA level) CPU, the original issue is here: https://github.com/intel/torch-xpu-ops/issues/1173 Reproduce steps: Install the PyTorch Windows XPU binary, and then run it on Intel ...
true
2,794,363,819
TorchDispatchMode cann't capture the operator which name is aten::_index_put_ impl_
yangrudan
open
[ "triaged", "module: __torch_dispatch__" ]
5
NONE
### 🐛 Describe the bug In my understanding, **TorchDispatchMode** should capture atens which call actual kernel. When I run the code below, I found it missed **aten::\_index_put_ impl_**. And I try to print torch ops dispatch stack, and try using profiler. They both can see **aten::\_index_put_ impl_**. What's the ...
true
2,794,354,421
Issue: Illegal Memory Access in Backward Pass of `scaled_dot_product_attention` with Custom Attention Mask
bolixinyu
open
[ "triaged", "module: sdpa" ]
0
NONE
### 🐛 Describe the bug **Bug Description:** When using a custom attention mask in the `scaled_dot_product_attention` function, an illegal memory access error (`an illegal memory access was encountered`) occurs during the backward pass when the sequence length of `QK` (query-key) is greater than or equal to 65,536. *...
true
2,794,344,068
[Break XPU][Inductor UT] Skip newly added test_logaddexp as logaddexp_xpu not implemented for ComplexFloat.
etaf
closed
[ "open source", "topic: not user facing", "module: inductor", "ciflow/inductor", "ciflow/xpu" ]
1
COLLABORATOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145039 * #145055 * #145038 * #145037 * #145036 cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amja...
true
2,794,344,004
[Break XPU][Inductor UT] Generalize device bias code newly added in test_async_compile.py
etaf
closed
[ "open source", "topic: not user facing", "module: inductor", "ciflow/inductor" ]
1
COLLABORATOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #145039 * #145055 * __->__ #145038 * #145037 * #145036 As title. cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinP...
true
2,794,343,664
[Break XPU][Inductor UT] Skip newly added test case `test__int_mm` for XPU
etaf
closed
[ "open source", "topic: not user facing", "module: inductor", "ciflow/inductor" ]
1
COLLABORATOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #145039 * #145055 * #145038 * __->__ #145037 * #145036 Skip as int mm not implemented for XPU. cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang7...
true
2,794,343,612
[Break XPU][Inductor UT] Generalize device-bias code in test_fuzzer.py.
etaf
closed
[ "open source", "topic: not user facing", "module: inductor", "ciflow/inductor" ]
3
COLLABORATOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #145039 * #145055 * #145038 * #145037 * __->__ #145036 As title.
true
2,794,324,756
[mps/inductor] Introduce is_mps_backend/skip_if_mps decorators.
dcci
closed
[ "Merged", "topic: not user facing", "module: mps", "ciflow/mps", "module: inductor", "ciflow/inductor" ]
3
MEMBER
cc @kulinseth @albanD @malfet @DenisVieriu97 @jhavukainen @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang @aakhundov
true
2,794,306,935
Use GiB on the axis of memory viz to match how we textually print it.
zdevito
closed
[ "Stale" ]
3
CONTRIBUTOR
I didn't do this before because d3 doesn't really support it. However, I argued with an LLM for awhile to get it to reproduce basically what d3's nice axis behavior is but have it work for 2^(10c) multiples.
true
2,794,268,866
Pass stack trace to generated split graph module during model splitting
zijianshen
closed
[ "fb-exported", "release notes: fx", "fx" ]
8
NONE
Summary: For debugging purpose, we may want to maintain the stack trace in the nodes of graph module. Test Plan: More test plans in D68132673 Reviewed By: faran928 Differential Revision: D68302850 cc @ezyang @SherlockNoMad @EikanWang @jgong5 @wenzhe-nrv
true
2,794,265,479
Inference super slow with torchvision model fasterrcnn_mobilenet_v3_large_fpn
felipequentino
closed
[]
1
NONE
### 🐛 Describe the bug I have a code that realize inference of COCO classes using the fastercnn_mobilenet_v3_large_fpn model. I'm using this code for more than 5 months, but suddenly the speed of inference has slowed too much, processing less than 1 frame per second. I already reinstalled CUDA, cuDNN and PyTorch driv...
true
2,794,260,981
[Easy] Replace paper description with link to make a concise description.
zeshengzong
closed
[ "triaged", "open source", "Merged", "ciflow/trunk", "topic: not user facing" ]
16
CONTRIBUTOR
Description in [Transformer,](https://pytorch.org/docs/main/generated/torch.nn.Transformer.html), [TransformerEncoderLayer](https://pytorch.org/docs/main/generated/torch.nn.TransformerEncoderLayer.html), [TransformerDecoderLayer](https://pytorch.org/docs/main/generated/torch.nn.TransformerDecoderLayer.html) pages conta...
true
2,794,189,309
[draft export] count how many times a data-dep error shows up
pianpwk
closed
[ "fb-exported", "Merged", "ciflow/trunk", "release notes: export" ]
5
CONTRIBUTOR
Summary: maybe this is helpful? Test Plan: draft_export Differential Revision: D68303934
true
2,794,171,803
Moved .all() checks for distributions to _is_all_true
Chillee
closed
[ "Merged", "ciflow/trunk", "topic: not user facing" ]
6
COLLABORATOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #145024 * #145059 * __->__ #145029
true
2,794,164,253
[aoti] Remove torch.ops.aten._assert_tensor_metadata.default in post_grad_pass
yushangdi
closed
[ "fb-exported", "Merged", "ciflow/trunk", "topic: not user facing", "module: inductor", "ciflow/inductor" ]
6
CONTRIBUTOR
Summary: Remove torch.ops.aten._assert_tensor_metadata.default in post_grad_pass because this op is blocking fusion. This should not have any affect on the result, because the op would not show up in the final aoti compiled model anyway (the assertion has no effect). An real example where this improves perform...
true
2,794,160,648
Implement a storage reader and writer for HuggingFace
ankitageorge
closed
[ "oncall: distributed", "fb-exported" ]
5
CONTRIBUTOR
Summary: Currently for torchtune users have to download and upload to hugging face manually since our existing storage reader/writer only reads locally. This new storage writer can work with hugging face directly Test Plan: N6381603 shows the functionality working of saving and loading a checkpoint working end to end ...
true