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
3,015,052,034
add basic unit tests and noop config
Lucaskabela
closed
[ "Merged", "topic: not user facing", "module: dynamo", "ciflow/inductor" ]
3
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #151134 * __->__ #152036 cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames
true
3,015,046,806
add basic unit tests and noop config
Lucaskabela
closed
[ "module: dynamo", "ciflow/inductor" ]
2
CONTRIBUTOR
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 @chenyang78 @kadeng @chauhang @amjames
true
3,015,005,728
RFC: Torch Native Runtime
zhxchen17
open
[ "triaged", "oncall: pt2" ]
0
CONTRIBUTOR
### 🚀 The feature, motivation and pitch Requesting a review on a new RFC about Torch Native Runtime: https://github.com/pytorch/rfcs/pull/72 Pull Requests (for tracking purpose): - [x] https://github.com/pytorch/pytorch/pull/151467 - [x] https://github.com/pytorch/pytorch/pull/152033 More tracked tasks (private li...
true
3,014,997,154
[nativert] Add moodycamel/concurrentqueue as third-party dependency
zhxchen17
closed
[ "Merged", "ciflow/trunk", "topic: not user facing", "skip-pr-sanity-checks" ]
11
CONTRIBUTOR
nativert RFC: https://github.com/zhxchen17/rfcs/blob/master/RFC-0043-torch-native-runtime.md moodycamel/concurrentqueue is a high performence mpmc queue implementation and single header only. We want to add this to third_party to be used with upcoming Torch Native Runtime. The source code is imported from commit...
true
3,014,950,317
RFC: The State of Custom CUDA extensions in PyTorch
msaroufim
open
[ "module: cpp-extensions", "module: cuda", "triaged" ]
22
MEMBER
## The State of Custom CUDA extensions in PyTorch ### Background This is a document summarizing the state of custom CUDA extensions in PyTorch. There are many tools to do this already with different tradeoffs and we will likely add even more tools with even more different tradeoffs so it's become timely to describe t...
true
3,014,911,474
[pytorch] reland of [cutlass backend] delay construction of cutlass presets to when called (#151875)
henrylhtsang
closed
[ "fb-exported", "Merged", "ciflow/trunk", "topic: not user facing", "module: inductor", "ciflow/inductor", "ci-no-td" ]
4
CONTRIBUTOR
Differential Revision: D73524978 reland of https://github.com/pytorch/pytorch/pull/151875 cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov @aakhundovr
true
3,014,886,477
[caffe2/c10/util/TypeIndex] Add '__CUDA_ARCH_LIST__' check
wenxin0319
closed
[ "fb-exported", "Merged", "ciflow/trunk", "topic: not user facing" ]
18
CONTRIBUTOR
Summary: We suspect that switching the NVCC host compiler from GCC to Clang, while targeting multiple architectures, is causing issues because only _CUDA_ARCH_LIST_ is being passed, without _CUDA_ARCH_. To resolve this c10 compilation error, we should first fix the problem and then switch the NVCC host compiler from ...
true
3,014,870,629
[export] improve error message for deserializing custom triton op
ydwu4
closed
[ "Merged", "ciflow/trunk", "ciflow/inductor", "release notes: export" ]
3
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #152029 In https://github.com/pytorch/pytorch/issues/151746, users ran into an error where a custom triton op cannot be resolved into an operator from string target. We improve the error message by reminding users to register the sam...
true
3,014,821,932
[CUDA] MultiheadAttention with masks and dropout produces NaNs
YChienHung
open
[ "module: cuda", "triaged", "module: correctness (silent)", "module: sdpa" ]
0
NONE
### 🐛 Describe the bug I found the MHA exception error with the following triggering condition: 1. attn_mask=None, need_weights=False, OK 2. attn_mask=tensor[bool], need_weights=True, OK 3. attn_mask=tensor[bool], need_weights=False, find NaNs ```python self.read_from_pixel = CrossAttention( self.embed_dim, se...
true
3,014,714,073
Add rich support to torch.distributed.tensor.debug.visualize_sharding
wangkuiyi
closed
[ "oncall: distributed", "triaged", "open source", "Merged", "ciflow/trunk", "release notes: distributed (dtensor)" ]
11
CONTRIBUTOR
Fixes https://github.com/pytorch/pytorch/issues/151857 cc @H-Huang @awgu @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @jerryzh168 @voznesenskym @penguinwu @EikanWang @Guobing-Chen @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @chenyang78 @ka...
true
3,014,704,183
Expand cache logging
oulgen
open
[ "ciflow/trunk", "topic: not user facing" ]
1
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #152026
true
3,014,632,023
[ONNX] Create a message to suggest users setting dynamo=True when exporting
justinchuby
closed
[ "module: onnx", "triaged" ]
3
COLLABORATOR
Add a message to nudge users to try the dynamo=True option.
true
3,014,577,086
fbgemm packages are compiled in torchinductor torchbench tests
ngimel
open
[ "high priority", "module: ci", "triaged" ]
4
COLLABORATOR
In torchinductor torchbench workflows we compile fbgemm package for 45 minutes: ``` 2025-04-22T06:59:33.9864041Z Building wheels for collected packages: fbgemm-gpu 2025-04-22T07:44:40.6897548Z Building wheel for fbgemm-gpu (setup.py) ... [?25l- \ | / - \ | / - \ | / - \ | / - \ |...
true
3,014,487,726
[BE] Throw different errors for CUDA exceptions
malfet
open
[]
2
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #152023 * #151955 TODO: May be we just need generic DeviceError class that preserves error code?
true
3,014,471,550
standalone_compile with training errors with no cache artifacts
bdhirsh
open
[ "triaged", "oncall: pt2" ]
2
CONTRIBUTOR
failure at save time: ``` Traceback (most recent call last): File "/data/users/hirsheybar/checkout2/pytorch/tmp.py", line 36, in <module> compiled_artifact.save(path=path, format=format) File "/data/users/hirsheybar/checkout2/pytorch/torch/_inductor/standalone_compile.py", line 73, in save assert len(cache_...
true
3,014,435,532
standalone_compile load + save does not properly lift model params/buffers
bdhirsh
closed
[]
2
CONTRIBUTOR
resulting crash: ``` Traceback (most recent call last): File "/data/users/hirsheybar/checkout2/pytorch/tmp.py", line 39, in <module> compiled_out = loaded(inp) File "/data/users/hirsheybar/checkout2/pytorch/torch/_inductor/standalone_compile.py", line 62, in __call__ return self._compiled_fn(*args) File "...
true
3,014,429,909
[XPU] The updated torch-xpu-ops caused interpolate_bilinear accuracy error.
etaf
closed
[ "triaged", "module: xpu" ]
2
COLLABORATOR
### 🐛 Describe the bug After the PR #150827 updated torch-xpu-ops, the following test case failed: python test/inductor/test_torchinductor_opinfo.py TestInductorOpInfoXPU.test_comprehensive_nn_functional_interpolate_bilinear_xpu_float32 ``` ====================================================================== ERRO...
true
3,014,314,418
Ignore unused structured arguments in member functions
kundaMwiza
open
[ "triaged", "open source", "topic: not user facing" ]
4
CONTRIBUTOR
inplace structured overloads today do not use the `strides` in the `set_output_raw_strided` member function. For example addmv does not inherit from `TensorIterator`, so there is no `super` call in the `set_output_raw_strided` function, which can trigger a warning / error by the compiler: ```c++ } struct structured_...
true
3,014,237,730
[ONNX] Exporting with `dynamo=True` and `Dim.DYNAMIC` in `dynamic_shapes` passes for `scaled_dot_product_attention`, but doesn't do anything
cyanic-selkie
closed
[ "module: onnx", "triaged" ]
2
NONE
### 🐛 Describe the bug Basically, I'm trying to export a custom transformer model that uses `scaled_dot_product_attention` op to implement the attention layers, but I can't properly export it. Like the title says, setting `dynamic_shapes` appears to work (i.e., nothing crashes), but the exported model's input's/outpu...
true
3,014,233,728
Floating Point Exception on NVidia H20, torch=2.1.0+cu121 on torch.matmul(torch.zeros(64, 14688, dtype=torch.float16, device='cuda'), torch.zeros(14688, 1536, dtype=torch.float16, device='cuda'))
danpovey
open
[ "module: cuda", "triaged" ]
6
CONTRIBUTOR
### 🐛 Describe the bug ``` import torch torch.matmul(torch.zeros(64, 14688, dtype=torch.float16, device='cuda'), torch.zeros(14688, 1536, dtype=torch.float16, device='cuda')) ``` dies with ```Floating point exception (core dumped)``` Hardware is NVidia H20. Torch version is '2.1.0+cu121'. The args must be that exa...
true
3,014,192,132
Loss parallel's override of log_softmax doesn't support negative dims
lw
open
[ "oncall: distributed", "triaged" ]
4
CONTRIBUTOR
### 🐛 Describe the bug It's allowed to invoke `F.log_softmax` with a negative dimension, such as -1. However, when enabling the loss parallel context manager, the log-softmax op gets overridden with a custom impl which seems to require that the dim be positive. ``` File "/my/repo/model.py", line 228, in cross_entr...
true
3,014,163,626
Add CPython complex tests
guilhermeleobas
open
[ "open source", "module: dynamo", "ciflow/inductor" ]
2
COLLABORATOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #152015 * #150797 * #150796 * #150795 * #150794 * #150793 * #150791 * #150790 * #150789 * #150788 Tests: * test_complex.py
true
3,014,010,882
[ROCm][Windows] Fix HIP Caffe2 Tests
m-gallus
closed
[ "module: rocm", "triaged", "open source", "Merged", "ciflow/trunk", "topic: not user facing" ]
8
CONTRIBUTOR
Solves the following problems of caffe2 HIP tests building on Windows: 1. HIP tests now use `hip_add_executable` to be built with custom_command invoking hip compiler, due to lack of cmake support for HIP in 3.18 (currently used). 2. failing with "Command line too long" which resulted from `hip_add_executable` adding...
true
3,013,930,717
Return ConstantVariable(None) from WithExitFunctionVariable.exit to prevent NoneType crash inside autocast exception path
wdziurdz
closed
[ "triaged", "open source", "topic: not user facing", "module: dynamo" ]
19
CONTRIBUTOR
Fixes #152012 cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames
true
3,013,901,996
[Dynamo] Exception raised inside torch.autocast causes crash AttributeError: 'NoneType' object has no attribute 'is_python_constant
wdziurdz
open
[ "triaged", "oncall: pt2", "module: dynamo" ]
0
CONTRIBUTOR
### 🐛 Describe the bug Since commit [511d0dd](https://github.com/pytorch/pytorch/commit/511d0dd5587394a824c917a8efd91e755704fda9) (PT 2.7 vs 2.6) Dynamo crashes when an exception is raised inside an autocast context-manager, emitting: ```python V0423 13:34:49.292000 1586012 torch/_dynamo/symbolic_convert.py:1239] [0/...
true
3,013,800,270
[WIP] fix reinplacing bug
zou3519
open
[ "module: inductor", "ciflow/inductor" ]
2
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #152011 There are two problems: 1) canonicalize_view_scatter_ops adds some new nodes into the graph. These new nodes cause the alias info on the graph to be wrong. To fix this, we try to run FakeTensorUpdater on the graph again....
true
3,013,799,021
[MPS] layernorm forward kernel
Isalia20
closed
[ "triaged", "open source", "Merged", "topic: improvements", "module: mps", "release notes: mps", "ciflow/mps" ]
3
COLLABORATOR
Implements layernorm forward pass as a metal kernel instead of MPSGraph ops. Speed ups are indicated on the chart below: ![Figure_1](https://github.com/user-attachments/assets/27a4d2ef-b3e4-4650-9ce3-b939c080321e) Script for generating times, need to build torch with old/new codebase and then run this with differen...
true
3,013,670,568
THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE
wzgrx
closed
[]
0
NONE
### 🐛 Describe the bug pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128 (venv) PS E:\Ai\lora-scripts> pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128 Looking in indexes: https://download.pytorch.org/w...
true
3,013,664,506
pinned_use_background_threads will cause a coredump
1274085042
open
[ "module: crash", "triaged", "module: CUDACachingAllocator" ]
1
CONTRIBUTOR
### 🐛 Describe the bug When i enable pinned_use_background_threads, the following script produces a coredump. is this due to incorrect usage on my part, or is it a bug in PyTorch itself? ```python # test_host_caching_allocator.py import torch src = torch.randn(1000000, pin_memory=True) dst = src.to("cuda", non_block...
true
3,013,432,692
[Kineto] Upgrade the kineto commit to fb36cce
zejun-chen
open
[ "triaged", "open source", "topic: not user facing", "ciflow/binaries_wheel", "keep-going", "ciflow/xpu", "release notes: xpu" ]
30
CONTRIBUTOR
XPU intends to upgrade oneAPI version(https://github.com/pytorch/pytorch/issues/151097) to support torch Distributed. However, the PTI within the oneAPI to be upgraded introduces breaking changes. It changed the signature of the APIs as follows. - ptiViewEnableRuntimeApi - ptiViewGetApiIdName To avoid the breaks ...
true
3,013,424,860
How can the RCE vulnerability in torch.load(weights_only=True) be fixed?
south-ocean
closed
[ "oncall: releng", "security" ]
1
NONE
A security vulnerability has been discovered in PyTorch where torch.load with weights_only=True can still lead to remote code execution (RCE). It is stated that this issue has been fixed in version 2.6 and above. I'd like to ask whether this fix was applied automatically or through a specific commit. If it was fixed v...
true
3,013,383,536
DISABLED test_builtin_score_mods_float32_score_mod6_cuda_float32 (__main__.TestFlexAttentionCUDA)
pytorch-bot[bot]
closed
[ "triaged", "module: flaky-tests", "skipped", "oncall: pt2", "module: inductor" ]
1
NONE
Platforms: linux This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_builtin_score_mods_float32_score_mod6_cuda_float32&suite=TestFlexAttentionCUDA&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/40988192284)...
true
3,013,380,955
DISABLED test_doc_mask_sparse_cuda (__main__.TestFlexAttentionCUDA)
pytorch-bot[bot]
closed
[ "triaged", "module: flaky-tests", "skipped", "oncall: pt2", "module: inductor" ]
1
NONE
Platforms: linux This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_doc_mask_sparse_cuda&suite=TestFlexAttentionCUDA&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/40986297636). Over the past 3 hours, it h...
true
3,013,380,748
DISABLED test_builtin_score_mods_float32_score_mod1_cuda_float32 (__main__.TestFlexAttentionCUDA)
pytorch-bot[bot]
closed
[ "triaged", "module: flaky-tests", "skipped", "oncall: pt2", "module: inductor" ]
1
NONE
Platforms: linux This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_builtin_score_mods_float32_score_mod1_cuda_float32&suite=TestFlexAttentionCUDA&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/40986323576)...
true
3,013,380,746
DISABLED test_builtin_score_mods_float16_score_mod7_cuda_float16 (__main__.TestFlexAttentionCUDA)
pytorch-bot[bot]
closed
[ "triaged", "module: flaky-tests", "skipped", "oncall: pt2", "module: inductor" ]
1
NONE
Platforms: linux This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_builtin_score_mods_float16_score_mod7_cuda_float16&suite=TestFlexAttentionCUDA&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/40986323576)...
true
3,013,345,497
[Don't merge] Upgrade oneDNN to v3.8-rc for XPU build
bjarzemb
open
[ "triaged", "module: mkldnn", "open source", "topic: not user facing", "ciflow/xpu", "module: xpu", "ciflow/linux-aarch64" ]
8
NONE
Fixes #ISSUE_NUMBER cc @gujinghui @PenghuiCheng @XiaobingSuper @jianyuh @jgong5 @mingfeima @sanchitintel @ashokei @jingxu10 @min-jean-cho @yanbing-j @Guobing-Chen @Xia-Weiwen @snadampal @EikanWang @fengyuan14 @guangyey
true
3,013,103,156
[Inductor][CPP] Optimize the epilogue for int8 GEMM Template
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): * __->__ #152000 **Summary** For int8 GEMM Template, the micro GEMM will calculate in u8s8s32 and we will do the scale/zp compensation in the epilogue. In general, it will be calculated as: ``` temp = micro_gemm_output * x_scale * w_sca...
true
3,013,004,718
[Intel GPU] Enable safe softmax for XPU SDPA
LuFinch
open
[ "module: cpu", "open source", "release notes: xpu", "module: xpu" ]
7
CONTRIBUTOR
Fix https://github.com/intel/torch-xpu-ops/issues/1432#event-16899653975 When one row of Q*K attention score is masked with `-inf`, `softmax(score)` would output `NaN` for whole row which would cause model corruption. With this new flag, it would output `0` for whole row which is aligned with Pytorch CPU/CUDA's b...
true
3,012,950,309
[UniformValueConstantFolder] deduce value on CPU rather than on device
xwu-intel
open
[ "triaged", "open source", "topic: not user facing", "module: inductor" ]
4
NONE
Deducing constant value for joint graph on CPU to reduce host-device syncs. cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov
true
3,012,907,746
torch.compile doesnot support index with tensor
crispto
open
[ "triaged", "oncall: pt2", "module: dynamic shapes" ]
2
NONE
### 🚀 The feature, motivation and pitch I get error when Indexing with another Tensor in a torch.compile scope, I think this is a quiet normal scenario, is there any way to achieve this? ``` from user code: File "/home/richard/coding/POP/decoder/unp_marginal.py", line 641, in torch_compile_compatible_marginal...
true
3,012,892,387
docs: add torch.e and torch.pi to constants table (#134964)
KaaustaaubShankar
open
[ "module: docs", "triaged", "open source", "topic: docs", "topic: not user facing" ]
4
NONE
Fixes #134964 Before <img width="850" alt="Screenshot 2025-04-23 at 2 55 20 AM" src="https://github.com/user-attachments/assets/539f93c8-1e68-40b6-9eda-cd4d4646266c" /> After <img width="864" alt="Screenshot 2025-04-23 at 2 55 34 AM" src="https://github.com/user-attachments/assets/16338c07-41b2-4de6-a576-...
true
3,012,876,381
peak memory is lower for subsequent fresh runs compared to the first run of a torch.compiled model
neeldani
closed
[ "oncall: pt2" ]
3
NONE
### 🐛 Describe the bug I am using torch.compile for LLama-2-7B from Huggingface. When I run the program the first time, the peak memory usage is higher than all subsequent fresh runs. (By fresh I mean I run the program again after it has exited). In fact, the peak memory usage is stable second run onwards. I see thi...
true
3,012,796,562
tape
bobrenjc93
closed
[ "topic: not user facing" ]
1
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #151994
true
3,012,795,091
[SymmMem] Use cub's BlockScan instead of in-house impl for offset calculation
kwen2501
closed
[ "oncall: distributed", "Merged", "ciflow/trunk", "release notes: distributed (c10d)" ]
8
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #151993 * #151819 * #151498 * #151261 cc @H-Huang @awgu @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k
true
3,012,776,212
[XPU][Qwen][Arc770] Bad Performance for Qwen2.5-0.5B on Arc770 with OS Ubuntu 24.10
ZhaoqiongZ
closed
[ "triaged", "module: xpu" ]
2
CONTRIBUTOR
### 🐛 Describe the bug model: Qwen2.5-0.5B device: Arc770 OS: ubuntu24.10 script to reproduce ``` from transformers import AutoModelForCausalLM, AutoTokenizer model_name = "Qwen/Qwen2.5-0.5B" model = AutoModelForCausalLM.from_pretrained( model_name, torch_dtype="auto", device_map="xpu" ) tokenizer = A...
true
3,012,694,498
Fix unnecessary formating change
dharakk
closed
[ "oncall: distributed", "topic: not user facing", "ciflow/inductor" ]
4
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #151991 * #151990 Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: cc @H-Huang @awgu @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k
true
3,012,665,158
Implement util function compute_global_tensor_shape for 1D device mesh
dharakk
closed
[ "oncall: distributed", "ciflow/trunk", "topic: not user facing", "ciflow/inductor" ]
6
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #152166 * __->__ #151990 ### Summary compute_global_tensor_shape util function takes in local tensor shape, device mesh and placements. We all gather the shapes from the shards and according to the placement type we construct the gl...
true
3,012,641,274
[inductor] Remove usage of autotune_fallback_to_aten inside inductor code
henrylhtsang
closed
[ "fb-exported", "topic: not user facing", "module: inductor", "ciflow/inductor" ]
4
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #151989 * #151988 Differential Revision: [D73478753](https://our.internmc.facebook.com/intern/diff/D73478753/) cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ip...
true
3,012,641,210
[inductor] Remove usage of autotune_fallback_to_aten outside inductor code
henrylhtsang
closed
[ "fb-exported", "topic: not user facing", "module: inductor", "ciflow/inductor" ]
4
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #151988 Differential Revision: [D73477120](https://our.internmc.facebook.com/intern/diff/D73477120/) cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @chen...
true
3,012,625,934
Import Error (Build from source): Aborted (core dumped)
SonicZun
closed
[ "needs reproduction", "module: build" ]
2
NONE
Hi! source: branch v2.6.0 env: centos7 glibc2.17 gcc9.3.1 gpu: A100 I follow the instructions to build from source. `import torch` will trigger the following Exception: ``` terminate called after throwing an instance of 'std::runtime_error' what(): Internal error while parsing type signature (2) Aborted (core d...
true
3,012,624,410
Add torchcheck for replication_pad3d_backward
cz2h
open
[ "triaged", "open source", "topic: not user facing" ]
4
CONTRIBUTOR
Fixes #142833 Add check on channel dimension, logic same to the CUDA implementation https://github.com/pytorch/pytorch/blob/78bbb468c66fe56e389bf73bf626302b8e2b4cf4/aten/src/ATen/native/cuda/ReplicationPadding.cu#L347 cc @mikaylagawarecki
true
3,012,622,240
[whisper][Arc770][Win]XPU performance is worse than CPU
yinghu5
open
[ "module: performance", "triaged", "module: xpu" ]
1
NONE
### 🐛 Describe the bug Try [openai/whisper-tiny](https://huggingface.co/openai/whisper-tiny/tree/main) on one desktop machine with Arc 770 Windows 11 and find the performance of XPU is worse than CPU. which is not expected. reproduce step: 1. install windows 11 on the target machine 2. install XPU driver: https:/...
true
3,012,607,105
DISABLED test_builtin_score_mods_different_block_size_float32_score_mod4_BLOCK_SIZE_256_cuda_float32 (__main__.TestFlexAttentionCUDA)
pytorch-bot[bot]
closed
[ "triaged", "module: flaky-tests", "skipped", "oncall: pt2", "module: inductor" ]
2
NONE
Platforms: linux This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_builtin_score_mods_different_block_size_float32_score_mod4_BLOCK_SIZE_256_cuda_float32&suite=TestFlexAttentionCUDA&limit=100) and the most recent trunk [workflow logs](https://github.c...
true
3,012,607,063
DISABLED test_builtin_score_mods_float16_score_mod4_cuda_float16 (__main__.TestFlexAttentionCUDA)
pytorch-bot[bot]
closed
[ "triaged", "module: flaky-tests", "skipped", "oncall: pt2", "module: inductor" ]
1
NONE
Platforms: linux This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_builtin_score_mods_float16_score_mod4_cuda_float16&suite=TestFlexAttentionCUDA&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/40974992610)...
true
3,012,607,035
DISABLED test_dependent_causal_bidirectional_float16_cuda_float16 (__main__.TestFlexAttentionCUDA)
pytorch-bot[bot]
closed
[ "triaged", "module: flaky-tests", "skipped", "oncall: pt2", "module: inductor" ]
1
NONE
Platforms: linux This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_dependent_causal_bidirectional_float16_cuda_float16&suite=TestFlexAttentionCUDA&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/40977426043...
true
3,012,606,972
DISABLED test_builtin_score_mods_dynamic_float16_score_mask_mod6_cuda_float16 (__main__.TestFlexAttentionCUDA)
pytorch-bot[bot]
closed
[ "triaged", "module: flaky-tests", "skipped", "oncall: pt2", "module: inductor" ]
2
NONE
Platforms: linux This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_builtin_score_mods_dynamic_float16_score_mask_mod6_cuda_float16&suite=TestFlexAttentionCUDA&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs...
true
3,012,589,101
[torch.compile][export] `PendingUnbackedSymbolNotFound` for `torch.full`
syheliel
open
[ "triaged", "oncall: pt2", "export-triaged", "oncall: export" ]
1
NONE
### 🐛 Describe the bug ``` import torch from torch.export import export import torch.nn as nn class FullOp(nn.Module): def __init__(self): super(FullOp, self).__init__() def forward(self, x): return torch.full((3, 3), x) # Example usage if __name__ == "__main__": model = FullOp() ...
true
3,012,556,221
Fix typos in meta.rst
Stonesjtu
closed
[ "open source", "Merged", "ciflow/trunk", "topic: not user facing" ]
7
CONTRIBUTOR
### Fixes made: - "allow you to the module" → corrected to "allows you to move the module" - "allow" → changed to "allows" to agree with the singular subject "method"
true
3,012,535,469
torch.gather returns incorrect output on cuda after unsqueezing and expanding with double precision
sdaulton
open
[ "triaged", "module: scatter & gather ops" ]
0
NONE
### 🐛 Describe the bug The following code snippet returns the same element for each batch (of which there are three). The issue only occurs with double precision and with cuda, and a call to `contiguous` fixes the issue. ``` import torch torch.manual_seed(0) X = torch.rand(3, 5, 2, dtype=torch.float64) device = to...
true
3,012,531,992
[ROCm][CI] Enabled fp8 distributed tests in test_micro_pipeline_tp.py for MI300
akashveramd
closed
[ "oncall: distributed", "module: rocm", "triaged", "open source", "Merged", "ciflow/trunk", "topic: not user facing", "ciflow/rocm", "ciflow/rocm-mi300" ]
6
CONTRIBUTOR
This PR enabled fp8 distributed tests on MI300. For testing the added feature, ran distributed.tensor.parallel.test_micro_pipeline_tp test and all the tests passed successfully, and no tests were skipped. cc @H-Huang @awgu @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @jeffdaily @sunway513 @jithunnair-amd @pru...
true
3,012,527,548
[Intel GPU] undo broadcast on zero stride tensor for SDPA
LuFinch
open
[ "module: cpu", "triaged", "open source", "keep-going", "ciflow/xpu", "release notes: xpu", "module: xpu" ]
19
CONTRIBUTOR
Fix https://github.com/pytorch/pytorch/issues/152290. The model **hubert** uses aten::expand to build attention mask by broadcasting. Pytorch uses strides[d]=0 to represent broadcast, which is not supported by oneDNN. This PR handles this scenario. cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @j...
true
3,012,520,599
[inductor] Remove usage of autotune_fallback_to_aten outside inductor code
henrylhtsang
closed
[ "module: inductor", "ciflow/inductor" ]
2
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * (to be filled) Differential Revision: [D73477120](https://our.internmc.facebook.com/intern/diff/D73477120/) cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @chen...
true
3,012,510,679
BM FM FlashAttention Test
czhao8863
closed
[ "fb-exported", "Merged", "ciflow/trunk", "topic: not user facing" ]
10
CONTRIBUTOR
Reviewed By: joebos Differential Revision: D72880307
true
3,012,485,197
Add lr_lambda type check in MultiplicativeLR
zeshengzong
closed
[ "triaged", "open source", "Merged", "ciflow/trunk", "release notes: optim" ]
8
CONTRIBUTOR
Fixes #81554 ## TestResult ### Before ```python In [3]: import torch ...: class SimpleLinearModel(torch.nn.Module): ...: def __init__(self): ...: super(SimpleLinearModel, self).__init__() ...: self.linear = torch.nn.Linear(10, 1) ...: ...: def forward(self, x):...
true
3,012,437,149
[1/N] Deprecate c10::string_view and at::string
cyyever
closed
[ "oncall: distributed", "oncall: jit", "module: cpu", "triaged", "open source", "Merged", "ciflow/binaries", "ciflow/trunk", "release notes: quantization", "release notes: distributed (c10d)", "ciflow/periodic", "ciflow/mps", "ciflow/inductor", "release notes: inductor (aoti)" ]
10
COLLABORATOR
The calls of `c10::string_view` in the code base are replaced by `std::string_view`. The calls of `at::string` are replaced by `std::string` cc @H-Huang @awgu @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @EikanWang @jgong5 @wenzhe-nrv @sanchitintel @mingfeima @XiaobingSuper @ashokei @jingxu10 @jerryzh168
true
3,012,427,044
[WIP][recompiles] verbose logging for tensor guard checks
pianpwk
open
[ "module: dynamo", "ciflow/inductor" ]
2
CONTRIBUTOR
Fixes #ISSUE_NUMBER cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames
true
3,012,408,354
Fix additional inputs to error on inconsistent constants
angelayi
closed
[ "Merged", "ciflow/trunk", "ciflow/inductor", "release notes: export", "skip-url-lint" ]
3
CONTRIBUTOR
Fixes #ISSUE_NUMBER
true
3,012,388,663
Unrecognized in PyTorch traces w/ Cuda 12.6
drisspg
open
[ "oncall: profiler" ]
0
CONTRIBUTOR
Repro to generate trace w/ unrecognized names: ```Py import torch import torch.nn as nn import copy from transformer_nuggets.utils.benchmark import profiler from torchao.float8 import ( Float8LinearConfig, convert_to_float8_training, ) # Set up parameters for a single iteration M_val, K_val, N_val = 1024, 1...
true
3,012,375,088
[Graph Partition] reorder for minimal number of partitions
BoyuanFeng
closed
[ "Merged", "ciflow/trunk", "topic: not user facing", "module: inductor", "ciflow/inductor" ]
3
CONTRIBUTOR
This pr adds an optimal reordering for minimizing #partitions. ## Optimal reordering for minimizing #partitions A bfs could minimize #partitions (ignore peak memory for now): 1. For each node, compute node_to_indegree: dict[node, int]. 2. Maintain 2 queues: cudagraphable_nodes, and non_cudagraphable_nodes. Iter...
true
3,012,345,286
Make `aten.embedding` do not wrap negative index
YouJiacheng
open
[ "triaged", "open source", "topic: not user facing", "module: inductor" ]
4
CONTRIBUTOR
Fixes #151918 cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov
true
3,012,342,220
[MPS] Fix test_neg_index_mps
dcci
closed
[ "Merged", "Reverted", "topic: not user facing", "module: mps", "ciflow/mps", "module: inductor", "ciflow/inductor", "ci-no-td" ]
10
MEMBER
cc @kulinseth @albanD @malfet @DenisVieriu97 @jhavukainen @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov
true
3,012,330,370
[rfc][c10d] RDMA APIs (read/write, rkey)
d4l3k
open
[ "oncall: distributed", "triaged", "module: c10d" ]
7
MEMBER
There's been a recent interest and requests for RDMA like apis that can be used without requiring both sides to initiate the communication. This is useful in a number of places such as distributed inference, checkpointing, tensorstores, async training and torchft. There's also been libraries created such as https://gi...
true
3,012,323,064
[MPS] Implement _print_Trunc_to_Int
dcci
closed
[ "Merged", "topic: not user facing", "module: mps", "ciflow/mps", "module: inductor", "ciflow/inductor" ]
3
MEMBER
Fixes `test_device_assert_mps` cc @kulinseth @albanD @malfet @DenisVieriu97 @jhavukainen @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov
true
3,012,319,291
[MPSInductor] Warn-cast double as floats
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): * __->__ #151963 * #151872 * #151871 * #151869 To support sqrt over dynamic shapes, i.e. make something like: ```python torch.compile(dynamic=True)(lambda x: x * math.sqrt(x.size(0)) ``` compilable into ```metal // Source node to ATen n...
true
3,012,305,861
[ca] hide unused scalar int sizes from dynamo
xmfan
open
[ "Merged", "Reverted", "module: inductor", "module: dynamo", "ciflow/inductor", "release notes: dynamo", "module: compiled autograd", "ci-no-td" ]
5
MEMBER
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #151860 * #152119 * __->__ #151962 * #151731 together with https://github.com/pytorch/pytorch/pull/151731, FIXES https://github.com/pytorch/pytorch/issues/113129 https://github.com/pytorch/pytorch/issues/146168 cc @voznesenskym @penguinw...
true
3,012,296,181
[fake tensor] Cache None, integer and SymInts in the output
anijain2305
closed
[ "Merged", "ciflow/trunk", "topic: not user facing", "ciflow/inductor" ]
6
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #152062 * __->__ #151961 * #151957 * #151477 * #151633 * #151409
true
3,012,291,456
[rfc][c10d] First Class Object-Oriented ProcessGroup and Store APIs
d4l3k
open
[ "oncall: distributed", "triaged", "module: c10d" ]
2
MEMBER
Most users of PyTorch distributed currently use the global methods such as `dist.init_process_group` and `dist.allreduce`. These methods are showing their age when it comes to new paradigms where there may be multiple "worlds" such as in the case of reinforcement learning, checkpointing or fault tolerant scenarios such...
true
3,012,284,695
[FlexAttention] Remove Old Constraint on lastdim strides
drisspg
closed
[ "module: nn", "Merged", "ciflow/trunk", "release notes: nn", "topic: bug fixes", "module: inductor", "ciflow/inductor" ]
13
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #151959 * #151846 Fixes: #148827 cc @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @chen...
true
3,012,280,551
Inductor Tiling Rewrite
eellison
open
[ "topic: not user facing", "module: inductor", "module: dynamo", "ciflow/inductor", "keep-going" ]
2
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #151958 Fix for https://github.com/pytorch/pytorch/issues/149982. Summary: This PR does two main things: 1. Rewrites the tiling heuristics. The previous tiling heuristic would have each dependency generate a tiling. Then, we ...
true
3,012,258,064
[invoke_subgraph] Cache fake tensor if no unbacked symint in the output
anijain2305
closed
[ "Merged", "ciflow/trunk", "topic: not user facing", "ciflow/inductor" ]
12
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #152062 * #151961 * __->__ #151957 * #151477 * #151633 * #151409
true
3,012,243,868
[inductor][profiler] lazily import things in standalone_compile
davidberard98
open
[ "module: inductor", "ciflow/inductor" ]
2
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #151956 cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov
true
3,012,224,820
[CI] Update sleef submodule to v3.8
malfet
closed
[ "Merged", "ciflow/trunk", "topic: not user facing" ]
7
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #151955 Should help with RISC-V cross-compilation. 3.9.0 migration is blocked by sleef project switching to C++20
true
3,012,190,822
DISABLED test_builtin_score_mods_float16_score_mod2_cuda_float16 (__main__.TestFlexAttentionCUDA)
pytorch-bot[bot]
closed
[ "triaged", "module: flaky-tests", "skipped", "oncall: pt2", "module: inductor" ]
4
NONE
Platforms: linux This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_builtin_score_mods_float16_score_mod2_cuda_float16&suite=TestFlexAttentionCUDA&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/40960447293)...
true
3,012,190,753
DISABLED test_triton_kernel_to_post_grad_tracing_extern_kernel (__main__.TestProvenanceTracingArtifact)
pytorch-bot[bot]
open
[ "triaged", "module: flaky-tests", "skipped", "oncall: pt2", "module: inductor" ]
4
NONE
Platforms: linux, rocm, slow This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_triton_kernel_to_post_grad_tracing_extern_kernel&suite=TestProvenanceTracingArtifact&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch...
true
3,012,190,566
DISABLED test_causal_block_non_divisible_cuda (__main__.TestFlexAttentionCUDA)
pytorch-bot[bot]
closed
[ "triaged", "module: flaky-tests", "skipped", "oncall: pt2", "module: inductor" ]
2
NONE
Platforms: linux This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_causal_block_non_divisible_cuda&suite=TestFlexAttentionCUDA&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/40959408066). Over the past 3 ...
true
3,012,190,393
DISABLED test_builtin_score_mods_dynamic_float16_score_mask_mod5_cuda_float16 (__main__.TestFlexAttentionCUDA)
pytorch-bot[bot]
closed
[ "triaged", "module: flaky-tests", "skipped", "oncall: pt2", "module: inductor" ]
2
NONE
Platforms: linux This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_builtin_score_mods_dynamic_float16_score_mask_mod5_cuda_float16&suite=TestFlexAttentionCUDA&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs...
true
3,012,190,321
DISABLED test_builtin_score_mods_different_block_size_float32_score_mod1_BLOCK_SIZE3_cuda_float32 (__main__.TestFlexAttentionCUDA)
pytorch-bot[bot]
closed
[ "triaged", "module: flaky-tests", "skipped", "oncall: pt2", "module: inductor" ]
2
NONE
Platforms: linux This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_builtin_score_mods_different_block_size_float32_score_mod1_BLOCK_SIZE3_cuda_float32&suite=TestFlexAttentionCUDA&limit=100) and the most recent trunk [workflow logs](https://github.com/...
true
3,012,182,617
[inductor][profiler] move `standalone_compile` import to TYPE_CHECKING
davidberard98
closed
[ "topic: not user facing", "module: inductor", "ciflow/inductor" ]
2
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #151949 Fixes #151829 Allows .standalone_compile imports to be lazy, which prevents unecessary execution when importing torch._inductor. This matters for profiler, because the profiler imports torch._inductor just to check the confi...
true
3,012,175,303
add tlpare logs
xuanzhang816
open
[ "ciflow/inductor" ]
2
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #151948
true
3,012,172,942
Make `torch.jit.Error` inherit from Exception
alanhdu
closed
[ "oncall: jit", "module: typing", "triaged", "open source", "fb-exported", "Merged", "ciflow/trunk", "topic: not user facing" ]
8
CONTRIBUTOR
Summary: I can confirm that `torch.jit.Error.mro()` contains `Exception` in the inheritance hierarchy. This avoids a bunch of `pyre-ignore`s in D73352417. Test Plan: Sandcastle Differential Revision: D73464544 cc @EikanWang @jgong5 @wenzhe-nrv @sanchitintel @ezyang @malfet @xuzhao9 @gramster
true
3,012,163,215
[profiler] use inspect.getattr_static to avoid importing inductor
davidberard98
open
[ "topic: not user facing" ]
2
CONTRIBUTOR
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #151946 `hasattr(torch, "_inductor")` causes inductor to be imported, which is part of the issue in #151829. We can use inspect.getattr_static to do this instead, to avoid actually importing inductor. `inspect.getattr_static` will ...
true
3,012,148,443
standalone compile FakeTensor from_graph detection with tensor subclass outputs
zou3519
open
[ "triaged", "oncall: pt2" ]
0
CONTRIBUTOR
See https://github.com/pytorch/pytorch/pull/151788#discussion_r2054755043 cc @chauhang @penguinwu
true
3,012,144,707
[torchbind] fix error message when attr is a real tensor.
ydwu4
closed
[ "fb-exported", "Merged", "ciflow/trunk", "topic: not user facing" ]
4
CONTRIBUTOR
Summary: Previously, when attr is defined, "if attr" will try to evaluate the data of attr, which is not intendended and we get a ugly error stack if the attr is not evaluable (like a fake tensor) before the callable(attr) check. Test Plan: Existing tests. Reviewed By: yushangdi, henryoier Differential Revision: D73...
true
3,012,140,729
[c10d] Allow split_group to work with non nccl backends
deepshah133
closed
[ "oncall: distributed", "fb-exported", "ciflow/trunk", "release notes: distributed (c10d)" ]
2
CONTRIBUTOR
Summary: Currently things are hardcoded to only work with nccl backend. Extend it to allow NCCL + custom plugins. Differential Revision: D73399889 cc @H-Huang @awgu @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k
true
3,012,139,108
[PT2] - Allowlist should have precedence
flaviotruzzi
closed
[ "fb-exported", "Merged", "ciflow/trunk", "topic: not user facing", "module: dynamo", "ciflow/inductor" ]
20
CONTRIBUTOR
Summary: When working on List[List[int]], the ints were being considered Constants regardless of their inclusion on the allowlist. Test Plan: CI + new test https://www.internalfb.com/intern/testinfra/testrun/5066549856504774 Differential Revision: D73137631 cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing...
true
3,012,120,658
[WIP][dynamic shapes] whitelist at dim-level
pianpwk
open
[ "module: dynamo", "ciflow/inductor" ]
2
CONTRIBUTOR
Fixes #ISSUE_NUMBER cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames
true
3,012,119,985
Add check for 2-dim mask to COO mask computation
aartbik
closed
[ "triaged", "open source", "Merged", "ciflow/trunk", "topic: not user facing" ]
4
COLLABORATOR
Follow up on discussion on https://github.com/pytorch/pytorch/pull/151794 Related to all fixes for https://github.com/pytorch/pytorch/issues/151351
true
3,012,106,714
Fix circular imports
oulgen
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): * __->__ #151939 cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov
true
3,012,073,010
[pytorch] use a mutex in initialize_torch_libraries
rmaz
closed
[ "fb-exported", "Merged", "ciflow/trunk", "topic: not user facing" ]
7
CONTRIBUTOR
Summary: The TORCH_LIBRARY_THREAD_UNSAFE_LAZY_INIT feature is thread unsafe for calling the initializers, but we want to allow the deferred initializer call to be safe from multiple threads. Add a mutex to ensure we have thread safe construction of the libraries post launch. Differential Revision: D73457714
true
3,012,071,883
[Inductor UT] Generalize device-bias code in `test_flex_attention.py`
anmyachev
closed
[ "triaged", "open source", "Merged", "Reverted", "topic: not user facing", "module: inductor", "ci-no-td" ]
25
COLLABORATOR
@EikanWang @etaf @guangyey please take a look cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov
true