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,809,867,383
Additional operators in operator benchmark
apakbin
closed
[ "open source", "Merged", "ciflow/trunk", "release notes: benchmark" ]
10
CONTRIBUTOR
The list of added operators: add_, addcmul, arange, baddbmm, bmm, clamp, div, div_, gelu, index_add, logical_and, mul_, sub_, topk, where This pull request is the same as a previous one: https://github.com/pytorch/pytorch/pull/145121 which inadvertently got deleted while merging.
true
2,809,858,479
Local config flags for torch.compile
zou3519
open
[ "triaged", "oncall: pt2" ]
1
CONTRIBUTOR
internal x-post: https://fb.workplace.com/groups/1075192433118967/posts/1589701705001368/ Pitch: a new decorator to allow user code change configs midway through tracing. cc @chauhang @penguinwu
true
2,809,805,707
[torchbench] Inductor freezing bfloat16 conv folding needs high tolerance
IvanKobzarev
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): * __->__ #145623 Issue: https://github.com/pytorch/pytorch/issues/144888 Torchbench of timm lcnet_050 model fails on accuracy in case of `--frezing` `--inference` `--bfloat16` `res_error==0.12` If to turn off convolution inductor cons...
true
2,809,755,404
[AOTI] Update test runner to use the new APIs
desertfire
closed
[ "oncall: distributed", "ciflow/trunk", "topic: not user facing", "module: inductor", "ciflow/inductor", "keep-going" ]
3
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145622 Summary: Switch to the newer aoti_compile_and_package APIs. Some tests still kept using legacy APIs, and will follow up with internal test refactoring. cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4...
true
2,809,730,971
[ROCm] Create inductor-rocm-mi300
amdfaa
closed
[ "module: rocm", "open source", "Merged", "topic: not user facing" ]
3
CONTRIBUTOR
- Adds an mi300 inductor workflow to main. cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang @naromero77amd
true
2,809,719,763
Remove `public_allowlist` from `TestPublicBindings.test_correct_module_names` and ensure private_allowlist-ed things are actually private
mikaylagawarecki
closed
[ "Merged", "ciflow/trunk", "topic: not user facing" ]
6
CONTRIBUTOR
This passes locally, also sanity checked importing these modules on [colab](https://colab.research.google.com/drive/1edynWX1mlQNZIBxtb3g81_ZeTpAqWi19?usp=sharing) Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145620
true
2,809,698,827
[BE][Ez]: FURB148 - remove useless enumerate calls
Skylion007
closed
[ "oncall: distributed", "oncall: jit", "open source", "Merged", "ciflow/trunk", "release notes: distributed (c10d)", "topic: not user facing", "module: inductor", "ciflow/inductor" ]
3
COLLABORATOR
Remove useless enumerate calls cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @EikanWang @jgong5 @wenzhe-nrv @sanchitintel @voznesenskym @penguinwu @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @de...
true
2,809,681,423
torch.compiler.disable should have the option to raise an informative exception (other than `torch._dynamo.exc.Unsupported`)
vmoens
closed
[ "triaged", "oncall: pt2", "module: dynamo", "dynamo-logging" ]
3
CONTRIBUTOR
### 🚀 The feature, motivation and pitch ## Context I'm working on making distributions compatible with compile. We expect that the validate step will never be compilable. Ideally, users who run into that graph break (whether fullgraph=False and they're using TORCH_LOGS or using fullgraph=True and they look at the ex...
true
2,809,679,029
Remove tensorboard from public_allowlist in test_modules_can_be_imported
mikaylagawarecki
closed
[ "topic: not user facing" ]
1
CONTRIBUTOR
Testing as removing these doesn't fail locally As a sanity check, also tested on colab that all these can be imported other than the two fixed by https://github.com/pytorch/pytorch/pull/145396 Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #145620 * __->__ #145617
true
2,809,648,651
[Release-Only] Remove ptx from Linux CUDA 12.6 binary builds
atalman
closed
[]
1
CONTRIBUTOR
These increase binary size of Manywheel builds by about 200mb. Todo: Add to release runbook to strip ``+PTX`` from all CUDA builds as release only changes. Please note: We want to keep +PTX in our nightly builds but we don't want to have this functionality in release because of the significant binary size increase.
true
2,809,592,541
Back out "Fix triton masked loading for non-block tl.loads (#144782)"
ezyang
closed
[ "fb-exported", "module: inductor", "ciflow/inductor" ]
7
CONTRIBUTOR
Summary: Original commit changeset: 77b1206ddb61 Original Phabricator Diff: D68509889 Bisect found this diff, it regresses compile time for Ads CMF model by 20%: https://www.internalfb.com/lab/attribution/session/888f7684-91cd-4b8f-99ea-a71ce6db1ad6#jobid=45036005935867349 Test Plan: Metric recovered on backout diff...
true
2,809,574,175
[CD] Fix slim-wheel cuda_nvrtc import problem
pytorchbot
closed
[ "open source" ]
6
COLLABORATOR
Similar fix as: https://github.com/pytorch/pytorch/pull/144816 Fixes: https://github.com/pytorch/pytorch/issues/145580 Found during testing of https://github.com/pytorch/pytorch/issues/138340 Please note both nvrtc and nvjitlink exist for cuda 11.8, 12.4 and 12.6 hence we can safely remove if statement. Preloa...
true
2,809,508,846
[Inductor][Triton] Change propagated dtype for fp16/bf16 unwrapped 0d tensors
kundaMwiza
closed
[ "triaged", "open source", "Merged", "ciflow/trunk", "topic: not user facing", "module: inductor", "ciflow/inductor" ]
4
CONTRIBUTOR
Fixes TestInductorOpInfoCPU.test_comprehensive_max_binary_cpu_float16 and related tests for Triton CPU. TestInductorOpInfoCPU is currently not run in the CI. See https://github.com/pytorch/pytorch/pull/144389#issuecomment-2608050755 for some additional context. Fixes #ISSUE_NUMBER cc @voznesenskym @penguinwu @Eik...
true
2,809,502,764
[BE] Bump huggingface pin
desertfire
closed
[ "Stale", "topic: not user facing", "ciflow/inductor", "ciflow/inductor-periodic" ]
2
CONTRIBUTOR
null
true
2,809,492,101
Torch device backend autoload fix
kundaMwiza
closed
[ "triaged", "open source", "Merged", "ciflow/trunk", "topic: not user facing" ]
4
CONTRIBUTOR
This causes an import failure if an external backend imports a module that uses `torch._as_tensor_fullprec` when it is being loaded. Fixes #ISSUE_NUMBER
true
2,809,471,982
mmap fails on 64k page aarch64 systems for AOTI model loading
lukalt
open
[ "module: crash", "module: arm", "oncall: pt2", "export-triaged", "oncall: export", "module: aotinductor" ]
8
NONE
### 🐛 Describe the bug The AOTI loader mmap's a file with an offset `weights_offset`. An asssertion ensures that `weights_offset` is a multiple of 16k. The offset in à `mmap` syscall needs to be a multiple of the page size though, causing this mmap to fail on kernels with 64k pages but not on 4k pages. https://githu...
true
2,809,368,895
Kw argument `requires_grad` may not necessary in `torch.randint()`, `torch.randint_like()`, `torch.randperm()`
ILCSFNO
closed
[ "triaged", "module: random" ]
1
CONTRIBUTOR
### 🐛 Describe the bug The docs of [`torch.randint()`](https://pytorch.org/docs/stable/generated/torch.randint.html#torch-randint), [`torch.randint_like()`](https://pytorch.org/docs/stable/generated/torch.randint_like.html#torch-randint-like), [`torch.randperm()`](https://pytorch.org/docs/stable/generated/torch.randp...
true
2,809,352,899
ROCm+gcc 15 asserts
trixirt
open
[ "module: rocm", "triaged" ]
10
NONE
### 🐛 Describe the bug Fedora 42 will have gcc 15. Gcc 15's libstdc++ asserts in multiple places in the ROCm build. The errors look like this /usr/lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/array:210:2: error: reference to __host__ function '__glibcxx_assert_fail' in __host__ __device__ function 210...
true
2,809,342,200
Kw argument `dtype` less relative with the functions themselves
ILCSFNO
closed
[ "triaged", "module: random", "module: edge cases" ]
0
CONTRIBUTOR
### 🐛 Describe the bug The docs of [`torch.randint()`](https://pytorch.org/docs/stable/generated/torch.randint.html#torch-randint), [`torch.randint_like()`](https://pytorch.org/docs/stable/generated/torch.randint_like.html#torch-randint-like), [`torch.randperm()`](https://pytorch.org/docs/stable/generated/torch.randp...
true
2,809,298,473
[BE][CI] bump ruff to 0.9.8
XuehaiPan
closed
[ "open source", "Merged", "ciflow/trunk", "topic: not user facing" ]
20
COLLABORATOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145606 * #144546
true
2,809,243,357
WIP error_prop sc
IvanKobzarev
closed
[ "Stale", "module: dynamo", "ciflow/inductor" ]
3
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145605 cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames
true
2,809,214,360
`torch.ops.aten.copy` causes SIGSEGV when handling sparse CSR tensors with invalid metadata
WLFJ
open
[ "module: sparse", "module: crash", "triaged" ]
2
NONE
### 🐛 Describe the bug Using torch.ops.aten.copy with sparse CSR tensors can cause a segmentation fault (SIGSEGV). The issue appears to stem from a lack of validation for the sparse tensor metadata (crow_indices, col_indices, and values). When the metadata contains invalid or uninitialized data (e.g., due to torch.ra...
true
2,809,193,129
[dynamo] refactor dynamo__custom_eval_frame to C++, refactor SKIP_CODE[_RECURSIVE]
williamwen42
closed
[ "Merged", "topic: not user facing", "module: dynamo", "ciflow/inductor" ]
2
MEMBER
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #146355 * __->__ #145603 cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames
true
2,809,044,809
[ATen][CUDA][Transformers] Add Blackwell support to SDPA
Aidyn-A
closed
[ "module: cuda", "open source", "Merged", "ciflow/trunk", "topic: new features", "topic: not user facing", "module: core aten" ]
4
COLLABORATOR
This PR adds sm_100 and sm_120 archs to support SDPA (Flash Attention and Memory Efficient Attention) on Blackwell machines. Special thanks to @Fuzzkatt for co-authoring these changes! cc @ptrblck @msaroufim @eqy @manuelcandales @SherlockNoMad @angelayi @drisspg
true
2,809,028,303
Dmonakhov/mpi backend enablement
dmitry-monakhov
closed
[ "module: rocm", "release notes: quantization", "release notes: releng", "fx", "module: inductor", "module: dynamo" ]
2
NONE
Pr should consists of two commits - 8582d202b7 Switch to custom MPI aware build image Switch to custom MPI aware build image Major change: switch from pytorch/manylinux-builder to pytorch/manylinux2_28-builder But pytorch/manylinux2_28-builder is now standard for mainline pytorch, we should be saf...
true
2,808,964,522
Add device support for chunk_cat, all_gather_copy_in, and split_with_…
chen8491
closed
[ "oncall: distributed", "triaged", "open source", "ciflow/trunk", "release notes: distributed (fsdp)" ]
5
NONE
…sizes_copy in _fsdp_collectives.py cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o
true
2,808,953,599
[NFC] Fix some minor typos.
c8ef
closed
[ "oncall: distributed", "oncall: jit", "open source", "Merged", "release notes: jit", "topic: not user facing", "module: inductor" ]
4
CONTRIBUTOR
cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @EikanWang @jgong5 @wenzhe-nrv @sanchitintel @voznesenskym @penguinwu @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang @aakhundov
true
2,808,923,715
add scalar inputs with out causes error in torch.compile
jthakurH
open
[ "triaged", "oncall: pt2", "module: decompositions", "module: aotdispatch", "module: pt2-dispatcher" ]
1
NONE
### 🐛 Describe the bug ``` import torch def add_fn(params): res = torch.add(**params) return res if __name__ == "__main__": add_fn = torch.compile(add_fn) params = {'other': 1.1, 'alpha': 0.4, 'input': 2, 'out': torch.tensor(1.)} res = add_fn(params) print(res) ``` It cases below error: ``` E...
true
2,808,916,693
Add `torch._foreach_copy_` doc
zeshengzong
closed
[ "triaged", "open source", "topic: not user facing" ]
3
CONTRIBUTOR
Fixes #107162 #145355 Add docs for `torch._foreach_copy_` **Test Result** ![image](https://github.com/user-attachments/assets/fed0c20c-f065-4bbc-9fe3-26cf82b8b8a3) cc @janeyx99
true
2,808,831,401
[Dynamo] compile torch.logit with different data types
leslie-fang-intel
open
[ "triaged", "oncall: pt2", "module: dynamic shapes" ]
2
COLLABORATOR
### 🐛 Describe the bug When fixing https://github.com/pytorch/pytorch/issues/145379, I met a failure which seems related to dynamo. If test with `torch.float64`, below example works well. However, it fails with `torch.float32` with error ``` File "/home/leslie/community/pytorch/torch/_dynamo/variables/builder.py", ...
true
2,808,775,174
[micro_pipeline_tp] support pattern matching row-wise scaled_mm with sharded scale
yifuwang
open
[ "oncall: distributed", "open source", "Stale", "release notes: distributed (pipeline)", "module: inductor", "ciflow/inductor" ]
2
COLLABORATOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145595 * #145594 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 @ipiszy @yf2...
true
2,808,775,073
[micro_pipeline_tp] add logging for all-gather-matmul fusion
yifuwang
open
[ "open source", "Stale", "module: inductor", "ciflow/inductor" ]
3
COLLABORATOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * (to be filled) 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,808,614,012
Fix constants with non-functional operators
tugsbayasgalan
closed
[ "Merged", "ciflow/trunk", "fx", "ciflow/inductor", "release notes: export" ]
12
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145593 Previously, in non-strict path, we always error when trying to inplace update a constant tensor because those constant tensors are not actually wrapped by functional tensors. This is correct behaviour in torch.compile, be...
true
2,808,612,495
_pickle.UnpicklingError: invalid load key, ''.
sankexin
open
[ "oncall: distributed", "triaged" ]
1
NONE
### 🐛 Describe the bug `import pickle import torch import io _pickler = pickle.Pickler _unpickler = pickle.Unpickler tensor = torch.tensor([126, 188, 133, 30, 60, 138, 188], dtype=torch.uint8) buf = tensor.numpy().tobytes()[:3] _unpickler(io.BytesIO(buf)).load()` tobytes is error: [rank14]: File "/usr/local/l...
true
2,808,595,587
[CCA] remove TODO for hardware_destructive_interference_size
1274085042
closed
[ "triaged", "open source", "Merged", "ciflow/trunk", "topic: not user facing" ]
12
CONTRIBUTOR
@zyan0 @albanD @houseroad
true
2,808,593,345
[dynamo][benchmarks] Stop benchmarking compile time of dead code
xmfan
closed
[ "Merged", "ciflow/trunk", "topic: not user facing", "module: dynamo", "ciflow/inductor" ]
5
MEMBER
FIXES https://github.com/pytorch/pytorch/issues/144775 frfr Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145590 See details on the problem: https://github.com/pytorch/pytorch/issues/144775#issuecomment-2611699385 We fixed some silent incorrectness, but it results in less...
true
2,808,564,725
Open up PT UTs to cover additional devices
ankurneog
open
[ "triaged", "open source", "Stale", "topic: not user facing", "module: inductor" ]
15
CONTRIBUTOR
This is follow-up of https://github.com/pytorch/pytorch/pull/128584. Covering additional files for execution. Based on the discussion we further had with the reviewers it is decided to remove ```onlyNativeDeviceTypes``` decorator to open these up for all devices. cc @voznesenskym @penguinwu @EikanWang @jgong5 @...
true
2,808,546,403
[Custom Ops] Add a new API to allow users to register an autocast for the custom op
yanboliang
closed
[ "module: custom-operators", "Merged", "ciflow/trunk", "topic: not user facing" ]
1
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #145673 * __->__ #145588 Fixes #137033
true
2,808,480,832
[dynamo] mark_dynamic not working as intended with input shapes
shreyansh26
closed
[ "triaged", "oncall: pt2", "module: dynamic shapes", "module: aotdispatch" ]
3
NONE
### 🐛 Describe the bug ```python import torch def fn(a, b): return a.shape[0] * a * b arg1 = torch.randn(4, 3) torch._dynamo.mark_dynamic(arg1, 0, min=2, max=10) compiled_fn = torch.compile(fn) out = compiled_fn(arg1, torch.randn(4, 3)) new_arg1 = torch.randn(8, 3) out = compiled_fn(new_arg1, torch.randn(8, 3...
true
2,808,430,027
Revert "[compiled autograd] support Tensor Subclasses in AOTBackward (#144115)"
zou3519
closed
[ "module: inductor", "module: dynamo", "ciflow/inductor", "module: compiled autograd" ]
1
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * (to be filled) This reverts commit 082c28c3c655984ce65c13336cff822db95ee470. Reverted https://github.com/pytorch/pytorch/pull/144115 on behalf of https://github.com/izaitsevfb due to breaking internal tests T213390054 ([comment](https://git...
true
2,808,429,978
Revert "[compiled_autograd] Rename interface to pyinterface (#145495)"
zou3519
closed
[]
1
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * (to be filled) This reverts commit e1407f5aeb658c8c959d33158f465e975799a3d0. Reverted https://github.com/pytorch/pytorch/pull/145495 on behalf of https://github.com/izaitsevfb due to reverted internally ([comment](https://github.com/pytorch...
true
2,808,421,962
layer_norm_kernel.cu eliminate the need for divisions for default vector size
doru1004
closed
[ "module: rocm", "triaged", "open source", "Stale", "release notes: cuda", "ciflow/rocm" ]
4
CONTRIBUTOR
Eliminate the need for divisions in layernorm for default vector size. The divisions performed in the online sum section can be replaced with immediate values as the vector size used is always 4. We special case this and leave the alternative in place in case other vector sizes are to be explored in the future. F...
true
2,808,366,233
[inductor][4/N] triton support post-#5512, fix constexpr signatures
davidberard98
closed
[ "Merged", "ciflow/trunk", "topic: bug fixes", "module: inductor", "ciflow/inductor", "release notes: inductor" ]
3
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #145515 * __->__ #145583 Prior to this PR, constexprs were appearing in signatures as `{.. "XBLOCK : tl.constexpr": "constexpr"}` when they really should appear as `{.. "XBLOCK": "constexpr"}`. This PR represents the argument names as Ar...
true
2,808,364,301
[CD] Fix slim-wheel cuda_nvrtc import problem
atalman
closed
[ "module: binaries", "Merged", "topic: not user facing", "ciflow/binaries_wheel", "topic: binaries" ]
5
CONTRIBUTOR
Similar fix as: https://github.com/pytorch/pytorch/pull/144816 Fixes: https://github.com/pytorch/pytorch/issues/145580 Found during testing of https://github.com/pytorch/pytorch/issues/138340 Please note both nvrtc and nvjitlink exist for cuda 11.8, 12.4 and 12.6 hence we can safely remove if statement. Preloa...
true
2,808,362,403
[MPS][BE] Implement bilineard2d as shader
malfet
closed
[ "Merged", "topic: improvements", "release notes: mps", "ciflow/mps" ]
3
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145581 That significantly improves performance and addresses correctness problem(to an extend permitted by reducing precision of scale factor computation to float32). uint8 scaling algorithm mimics CPU/Pillow implementation https...
true
2,808,360,780
torch crashes on ubuntu:24.04 during SDPA-CuDNN test
atalman
closed
[ "module: cudnn", "triaged", "module: sdpa" ]
2
CONTRIBUTOR
### 🐛 Describe the bug Please see issue: https://github.com/pytorch/pytorch/issues/138340 this happens with cu118, cu124 and cu126 binaries Test: ``` import torch import torch.nn as nn import torch.nn.functional as F from dataclasses import dataclass from torch.nn.attention import bias, sdpa_kernel, SDPBackend @da...
true
2,808,341,937
Spruce up docs for emulate_precision_casts
ezyang
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): * __->__ #145579 Signed-off-by: Edward Z. Yang <ezyang@meta.com> cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPepple...
true
2,808,324,103
[MPS][BE] Turn `bicubic2d` into generic metal template
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): * #145581 * __->__ #145578 In preparation for more metal shaders to come
true
2,808,316,857
[inductor] Fix duplicate detection in _dynamic_scale_rblock
jansel
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): * #142295 * #145671 * __->__ #145577 * #142026 Before this the code was doing nothing because Config doesn't define `__hash__` or `__eq__` (so it was based on object id). cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @Xiaobi...
true
2,808,298,623
[Inductor][CPP] fix torch logit decomposition
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): * __->__ #145576 **Summary** Fix issue https://github.com/pytorch/pytorch/issues/145379, current decomposition using `self = torch.clamp(self, lo, hi)` which gives wrong result when `lo` is larger than `hi` comparing to eager implementat...
true
2,808,297,040
[inductor][3/N] triton support post-#5512, tt.divisibility format
davidberard98
closed
[ "Merged", "ciflow/trunk", "topic: bug fixes", "module: inductor", "ciflow/inductor", "release notes: inductor" ]
8
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #145515 * #145583 * __->__ #145575 1. Fix the tt.divisibility format in hints.py. Previously, it was `{((0,), (1,)): [["tt.divisibility", 16]]}`. Now it is `{(0,): [["tt.divisibility", 16]], (1,): [["tt.divisibility", 16]]}`. This was an ov...
true
2,808,291,099
[compile / strict export] torch._dynamo.exc.Unsupported: CollectiveFunctionRewriteVariable can't support async_op=True for <function all_reduce at 0x7f40be5724d0>
henrylhtsang
open
[ "oncall: pt2", "export-triaged", "oncall: export" ]
1
CONTRIBUTOR
### 🐛 Describe the bug Ran into this problem when trying all reduce with async op ``` import logging import os import torch import torch.distributed as dist import torch.multiprocessing as mp from torch.export import export def run(rank, size): mod = Foo() inps = (torch.randn(4, 4),) mod(*inps) # ...
true
2,808,288,498
[inductor/profiler] add kernel kwargs instrumentation
briancoutinho
closed
[ "Merged", "Reverted", "ciflow/trunk", "topic: not user facing", "module: inductor", "ciflow/inductor", "ci-no-td" ]
20
CONTRIBUTOR
## About As above, record the kernel launch kwargs. These tends to be contexpr arguments to triton kernels like block size etc. ## Test program Note, install triton before proceeding (pip install triton) triton_test.py>>> ``` import torch from torch.profiler import profile, ProfilerActivity def foo(x,...
true
2,808,272,775
[BE] mv test/inductor_skips/* to test/inductor_expected_failures/
masnesral
closed
[ "Merged", "ciflow/trunk", "topic: not user facing", "ciflow/inductor" ]
3
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145572 Summary: I think skipping these tests is suboptimal. If we categorize as expected failures, then we'll see test failures when they start passing, which means they're more likely to be removed. As a skip, they quietly continue ...
true
2,808,262,045
[BE] Automate update stable_cuda version so that we can set it when introducing new cuda version
atalman
closed
[ "module: cuda", "module: ci", "triaged", "topic: binaries" ]
1
CONTRIBUTOR
### 🐛 Describe the bug Currently We pin stable cuda version here : https://github.com/pytorch/pytorch/blob/main/.github/scripts/generate_binary_build_matrix.py#L419 https://github.com/pytorch/pytorch/blob/main/.github/scripts/generate_binary_build_matrix.py#L376 https://github.com/pytorch/pytorch/blob/main/.github/wo...
true
2,808,250,448
Enable CUDA 12.8.0, Disable CUDA 12.4
tinglvv
open
[ "module: cuda", "triaged" ]
13
COLLABORATOR
### 🚀 The feature, motivation and pitch CUDA 12.8.0 is out, adding to CI/CD. Docker Images & Windows AMI Update - [x] https://github.com/pytorch/pytorch/pull/145567 - [x] https://github.com/pytorch/pytorch/pull/145789 - [x] Magma build - https://github.com/pytorch/pytorch/pull/145765 - [x] https://github.com/pytorc...
true
2,808,245,753
[aotinductor] update unbacked symint runtime assertion msg
ColinPeppler
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): * __->__ #145569 cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @amjames @desertfire @chauhang @aakhundov
true
2,808,244,087
[mps] Hoist erfinv logic out of the kernel in preparation for moving.
dcci
closed
[ "Merged", "topic: not user facing", "module: mps", "ciflow/mps", "module: inductor" ]
4
MEMBER
Will be used in inductor. 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,808,240,467
Add CUDA 12.8 installation and manylinux-cuda12.8
tinglvv
closed
[ "triaged", "open source", "Merged", "ciflow/trunk", "topic: not user facing" ]
19
COLLABORATOR
Breaking https://github.com/pytorch/pytorch/pull/145557 into two parts. Need to have manylinux-cuda12.8 in order to build magma. Issue: https://github.com/pytorch/pytorch/issues/145570 cc @atalman @malfet @ptrblck @nWEIdia
true
2,808,233,453
Advance docker release latest verison to cuda 12.4
atalman
closed
[ "Merged", "topic: not user facing" ]
3
CONTRIBUTOR
Fixed latest tag in ghcr.io to be cuda 12.4 docker image. Todo, Need to add it to : https://github.com/pytorch/builder/blob/main/CUDA_UPGRADE_GUIDE.MD Will need to check if we can automate this by introducing cuda_stable variable or something like this.
true
2,808,233,357
Refactor fuzzer and add support for Dynamo
exclamaforte
closed
[ "Merged", "ciflow/trunk", "topic: improvements", "module: inductor", "ciflow/inductor", "release notes: inductor" ]
16
CONTRIBUTOR
## Summary: Dynamo now works with config fuzzer. For BE week, we also found and fixed 5 different bugs (in inductor): - https://github.com/pytorch/pytorch/pull/145426 - https://github.com/pytorch/pytorch/pull/145523 - https://github.com/pytorch/pytorch/pull/145527 - https://github.com/pytorch/pytorch/pull/14553...
true
2,808,233,008
[dynamo] Dynamo doesn't prune dead input cell object
StrongerXi
closed
[ "triaged", "oncall: pt2", "dynamo-triage-jan2025" ]
0
CONTRIBUTOR
### 🐛 Describe the bug As title. This is a minimal repro for something @yifuwang ran into. ```python import torch @torch.compile(fullgraph=True, backend="eager") def f(x): x = x.cos() def inner(): return x.sin() return inner() f(torch.ones(10)) ``` Running the above with `TORCH_LOGS="graph_cod...
true
2,808,202,573
Unable to build pytorch after #143806
zou3519
closed
[ "module: ci", "module: tests", "triaged", "module: infra", "module: testing" ]
2
CONTRIBUTOR
cc @seemethere @malfet @pytorch/pytorch-dev-infra @mruberry @ZainRizvi @cyyever @kwen2501 Getting the following build error after #143806 ``` /home/rzou/dev/ocu11/pt-ocu11/torch/csrc/distributed/c10d/FileStore.cpp:103:9: error: ‘c10d::{anonymous}::L ock& c10d::{anonymous}::Lock::operator=(const c10d::{anonymous}::L...
true
2,808,201,571
[Not for land] hacking up mx
drisspg
closed
[ "ciflow/inductor" ]
3
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145562 https://www.internalfb.com/intern/paste/P1717686991/
true
2,808,199,250
Confusing as_storage_and_layout(x, want_contiguous=True) behavior
eellison
closed
[ "triaged", "oncall: pt2", "module: inductor", "internal ramp-up task" ]
0
CONTRIBUTOR
### 🐛 Describe the bug The following two invocations are not equivalent: ``` x = ExternKernel.require_contiguous(x) storage, old_layout = as_storage_and_layout(x, want_contiguous=True) ``` and ``` x = ExternKernel.realize_input(x) storage, old_layout = as_storage_and_layout(x, want_contiguous=True) ``` This is beca...
true
2,808,191,048
Error `RuntimeError: CUDA error: no kernel image is available for execution on the device` when doing `!=` operation on Jetson orin agx.
nickeisenberg
open
[ "module: cuda", "triaged" ]
2
NONE
### 🐛 Describe the bug I am using Jetpack 6.2 with cuda12.4 on a Jetson orin agx developer kit. I am able to put tensors to the device, but for some reason I am getting an error when trying to do the `!=` operation. I am using python 3.11 and I installed torch with the following ```bash pip3 install --pre torch --i...
true
2,808,167,068
[dynamo][builtin-skipfile-cleanup] Remove collections
anijain2305
closed
[ "Stale", "ciflow/trunk", "topic: not user facing", "module: dynamo", "ciflow/inductor", "keep-going" ]
2
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145559 cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames
true
2,808,165,711
[dynamo][builtin-skipfile-cleanup] Support tuple.__new__
anijain2305
closed
[ "Merged", "ciflow/trunk", "topic: not user facing", "module: dynamo", "ciflow/inductor" ]
2
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #145559 * #145753 * #145744 * #145723 * __->__ #145558 * #145547 * #145519 cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames
true
2,808,164,601
Add CUDA 12.8 installation and Linux CD Docker images
tinglvv
closed
[ "triaged", "open source", "topic: not user facing" ]
4
COLLABORATOR
Add CUDA 12.8 installation script Add Magma for CUDA 12.8 Add to Linux sbsa/x86 manywheel and libtorch Dockers TODO: Cudnn Update to 9.7.0 once it is available
true
2,808,122,439
Docs fonts are bold on Mac, in 2.7
ad8e
closed
[ "module: docs", "triaged" ]
2
CONTRIBUTOR
### 📚 The doc issue Fonts have changed. The all-bold is a bit distracting. Fonts look normal on Linux and on 2.5, but are bold on Mac + 2.7. The blue highlight demonstrates the active font associated to the text. Firefox Macbook, Stable (2.5): <img width="1393" alt="Image" src="https://github.com/user-attachments/...
true
2,808,112,142
need to document `FlopCounterMode`
stas00
open
[ "module: docs", "triaged" ]
1
CONTRIBUTOR
### 📚 The doc issue `FlopCounterMode` as demo'ed here https://gist.github.com/Chillee/07b36672a0ca2d1280e42b8d10f23174 needs to be documented please. And thank you! cc: @Chillee cc @svekars @brycebortree @sekyondaMeta @AlannaBurke
true
2,808,108,991
Fix dynamo use of `list[int]` in graph break
aorenste
closed
[ "Merged", "ciflow/trunk", "topic: not user facing", "module: dynamo", "ciflow/inductor" ]
6
CONTRIBUTOR
This reintroduces the change backed out by #145393 and fixes the underlying problem. Although using a BuiltinVariable was better than nothing when we saw a GenericAlias it had problems if there was a graph break and we had to reconstruct the original python code which BuiltinVariable did as a simple `list` instead o...
true
2,808,108,850
Fix call to create_load_global
aorenste
closed
[ "Merged", "ciflow/trunk", "topic: not user facing", "module: dynamo", "ciflow/inductor" ]
2
CONTRIBUTOR
There is no version of create_load_global() that takes three parameters - any use of this function will fail. I think this is probably the correct fix. Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #145554 * __->__ #145553 * #145552 * #145551 cc @voznesenskym @penguinwu @Ei...
true
2,808,108,744
Turn on mypy for _dynamo/variables/builtin.py
aorenste
closed
[ "oncall: distributed", "Merged", "ciflow/trunk", "topic: not user facing", "module: dynamo", "ciflow/inductor" ]
2
CONTRIBUTOR
The fact that mypy errors were ignored was hiding several bugs in builtin.py (for example the previous diff's incorrect override and use of `call_getattr`) Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #145554 * #145553 * __->__ #145552 * #145551 cc @H-Huang @awgu @kwen2501...
true
2,808,108,654
Remove incorrect BuiltinVariable.call_hasattr()
aorenste
closed
[ "Merged", "ciflow/trunk", "topic: not user facing", "module: dynamo", "ciflow/inductor" ]
9
CONTRIBUTOR
BuiltinVariable.call_hasattr() overrides the base class - but actually behaves differently. The base is `obj.call_hasattr(tx, attr)` but BuiltinVariable's version is `<unused>.call_hasattr(tx, obj, attr)`. The BuiltinVariable version is used as a pattern from `call_self_handler()` for `BuiltinVariable(hasattr)`. I t...
true
2,808,108,488
If mypy fails it should report the error back to lintrunner
aorenste
closed
[ "Merged", "ciflow/trunk", "topic: not user facing" ]
5
CONTRIBUTOR
This happened to me because I had a bad LD_LIBRARY_PATH and mypy was failing to run (.so load error) - but lintrunner was silent about the underlying problem. Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #145554 * #145553 * #145552 * #145551 * __->__ #145550 Differential Revi...
true
2,808,093,389
[ca] add test_reset for 2.6 release validation
xmfan
closed
[ "Merged", "ciflow/trunk", "topic: not user facing", "module: inductor", "ciflow/inductor" ]
21
MEMBER
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145549 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,808,069,509
fix unbacked + view incorrectness
eellison
closed
[ "Merged", "ciflow/trunk", "topic: not user facing", "module: inductor", "ciflow/inductor" ]
22
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145548 fix for https://github.com/pytorch/pytorch/issues/143498 We were incorrectly using contiguous strides for a non-contiguous tensor. There are two separate causes: 1. https://github.com/pytorch/pytorch/pull/110520 made i...
true
2,808,044,805
[dynamo][refactor] Move collections.namedtuple out of SkipFunctionVariable
anijain2305
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): * #145559 * #145558 * __->__ #145547 * #145519 cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames
true
2,808,035,320
Testing #144594
huydhn
closed
[ "module: rocm", "release notes: releng", "module: dynamo", "ciflow/inductor" ]
1
CONTRIBUTOR
Run perf benchmark to test https://github.com/pytorch/pytorch/pull/144594. The commit on top is https://github.com/pytorch/pytorch/pull/145546/commits/a05e0ecee5c92d207fb509e25532a2a9635a3bb7 cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang @naromero77amd @vozn...
true
2,808,035,160
[cutlass backend tests] Manually clear cache, test more tests in fbcode and limit configs in some tests
henrylhtsang
closed
[ "fb-exported", "Merged", "ciflow/trunk", "topic: not user facing", "module: inductor", "ciflow/inductor" ]
8
CONTRIBUTOR
Summary: Manually clear cache: You want to clear cache in most tests. Otherwise link command won't work and you have multiple .o files and you get something like `ld.lld: error: duplicate symbol: cuda_fused_0`. test more tests in fbcode: A few tests have been skipping in fbcode. Unskip them. limit configs in some tes...
true
2,808,020,092
[RFC] Cuda support matrix for Release 2.7
atalman
closed
[ "oncall: releng", "triaged" ]
13
CONTRIBUTOR
Similar to : https://github.com/pytorch/pytorch/issues/138609 Opening this RFC to discuss CUDA version support for future PyTorch release 2.7: Migration to CUDA 12.8 is planned for PyTorch Release 2.7. Option 1 - CUDA 11.8 and CUDA 12.6 and 12.8 CUDA 11.8, CUDNN 9.1.0.70 - Same as Previous Release 2.6. No changes to...
true
2,808,011,083
Testing #144594
huydhn
closed
[ "module: rocm", "release notes: releng", "module: dynamo", "ciflow/inductor" ]
1
CONTRIBUTOR
Run perf benchmark on ROCm to test https://github.com/pytorch/pytorch/pull/144594, the commit on top of that PR is https://github.com/pytorch/pytorch/pull/145546/commits/a05e0ecee5c92d207fb509e25532a2a9635a3bb7 cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang ...
true
2,807,995,198
[BE] Type annotate wrapper_benchmark.py and cuda_combined_scheduling.py
BoyuanFeng
closed
[ "Merged", "ciflow/trunk", "topic: not user facing", "module: inductor", "ciflow/inductor" ]
3
CONTRIBUTOR
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,807,991,618
Add sm10a to cpp extensions
drisspg
closed
[ "module: cpp-extensions", "topic: not user facing" ]
3
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145541 cc @malfet @zou3519 @xmfan
true
2,807,990,919
[BE][hop] make it easier to use speculate_subgraph
ydwu4
closed
[ "Stale", "topic: not user facing", "module: dynamo", "ciflow/inductor" ]
6
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145540 Previously, it's tricky to construct the required inputs for speculate_subgraph as discussed in https://github.com/pytorch/pytorch/issues/144805 because we have to program against variable trackers. This PR turns speculat...
true
2,807,989,092
Add accuracy issue support in AOTI Minifier
yushangdi
closed
[ "fb-exported", "Merged", "ciflow/trunk", "module: inductor", "module: dynamo", "ciflow/inductor", "release notes: export" ]
6
CONTRIBUTOR
Summary: Add three more repro levels for AOTI minifier (level 2 already exists). They are the same as the existing dynamo minifier repro levels. Now AOTI minifier can minify and repro programs that have numerical accuracy issues as well. 1: Dumps the original graph out to repro.py if compilation fails 2: Du...
true
2,807,977,586
Make sure not using cpp wrapper when setting nvtx training annotation
exclamaforte
closed
[ "Merged", "ciflow/trunk", "topic: bug fixes", "module: inductor", "ciflow/inductor", "release notes: inductor" ]
9
CONTRIBUTOR
Longer term would be good to add as a feature to cpp_wrapper, but this makes sure it doesn't fail on main. Not sure if this needs a test because it's not meant to compose, but will add one if necessary. cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiay...
true
2,807,971,539
[dynamo] Properly model torch profiler context objects
StrongerXi
closed
[ "Merged", "ciflow/trunk", "topic: not user facing", "module: dynamo", "ciflow/inductor", "keep-going" ]
8
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #145537 Prior to this patch, Dynamo conveniently modelled torch profiler context objects (e.g., `torch.profiler.profile`) as `NullContextVariable` because `torch.compile` ignore the effect of these profiler contexts. However, the sem...
true
2,807,965,148
Removes threadfence from topk kernel to improve AMD performance
ngimel
closed
[ "Merged", "ciflow/trunk", "release notes: cuda" ]
5
COLLABORATOR
Also marginally improves cuda perf
true
2,807,959,086
[BE/mps] Mark input args as `constant` to prevent incorrect usage.
dcci
closed
[ "Merged", "topic: not user facing", "module: mps", "ciflow/mps", "module: 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,807,951,420
Increase the number of perf benchmark shards
huydhn
closed
[ "Merged", "topic: not user facing", "test-config/default" ]
7
CONTRIBUTOR
Per the discussion on https://github.com/pytorch/pytorch/issues/140332#issuecomment-2610805551, this adds 2 more shards for HF, 2 more for TorchBench, and 1 more for TIMM.
true
2,807,919,138
Remove det_singular OpInfo
soulitzer
closed
[ "oncall: distributed", "Merged", "ciflow/trunk", "topic: not user facing", "ciflow/mps", "module: inductor", "ciflow/inductor" ]
8
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #145399 * __->__ #145533 * #145531 * #145520 Fixes https://github.com/pytorch/pytorch/issues/93045 https://github.com/pytorch/pytorch/issues/93044 From previous discussion https://github.com/pytorch/pytorch/issues/93045#issuecomment-1477...
true
2,807,909,472
Make sure that benchmark_harness is set before running
exclamaforte
closed
[ "Merged", "ciflow/trunk", "topic: bug fixes", "module: inductor", "ciflow/inductor", "release notes: inductor" ]
3
CONTRIBUTOR
Running torch compile with these options causes an error, because the benchmark code isn't generated but is still called. ``` options={'profile_bandwidth_output': 'foo', 'benchmark_harness': False} ``` cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jia...
true
2,807,895,111
Disable slow gradcheck for nn.Transformer ModuleInfo
soulitzer
closed
[ "Merged", "ciflow/trunk", "topic: not user facing" ]
4
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #145399 * #145533 * __->__ #145531 * #145520 Fixes https://github.com/pytorch/pytorch/issues/117140
true
2,807,891,041
Work around buggy use_const_ref_for_mutable_tensors
ezyang
closed
[ "Merged", "ciflow/trunk", "release notes: python_frontend", "topic: bug fixes" ]
13
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #145080 * __->__ #145530 See https://github.com/pytorch/pytorch/issues/145522 for context This doesn't fix the problem with use_const_ref_for_mutable_tensors and the boxed wrapper, instead it just gets all of our out kernels off of this ...
true
2,807,890,661
Module.to() fail in dynamo when swap_module_params_on_conversion is true
shunting314
open
[ "triaged", "oncall: pt2", "module: dynamo" ]
0
CONTRIBUTOR
### 🐛 Describe the bug Repro: ``` import torch from torch import nn torch.__future__.set_swap_module_params_on_conversion(True) @torch.compile def use_emb(): emb = nn.Embedding(16, 8) emb.weight.grad = torch.randn_like(emb.weight) emb.to(dtype=torch.bfloat16) # emb.weight.to(dtype=torch.bfloat16) ...
true
2,807,886,424
[utils] add try_import method for importing optional modules
mhorowitz
closed
[ "Merged", "topic: not user facing" ]
1
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #143360 * __->__ #145528
true
2,807,881,984
fix intermediate debug information with cpp_wrapper
exclamaforte
closed
[ "Merged", "ciflow/trunk", "topic: bug fixes", "module: inductor", "ciflow/inductor", "release notes: inductor" ]
21
CONTRIBUTOR
Summary: before fix, code like: ```cpp aoti_torch_print_tensor_handle(buf0, "after_launch - triton_poi_fused_randn_0 - buf0"); aoti_torch_print_tensor_handle(buf1, "after_launch - triton_poi_fused_randn_0 - buf1"); printf("[ after_launch - triton_poi_fused_randn_0 - 0: %ld ]", 0); printf(" "); p...
true
2,807,880,779
[MPS] Add bilineard2d_aa implementation
malfet
closed
[ "Merged", "topic: improvements", "release notes: mps", "ciflow/mps" ]
5
CONTRIBUTOR
Interesting quirk of the algorithm, that is not very well documented, is that value of align_corners is ignored in antialias mode, see arguments of https://github.com/pytorch/pytorch/blob/e8304f08fedc802a90f9361c30861f8c5aab946e/aten/src/ATen/native/cpu/UpSampleKernel.cpp#L747-L751 Error out on uint8 implementatio...
true