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,846,380,659 | Support QNX SDP 8.0 in Pytorch Mobile | eleir9268 | open | [
"module: cpu",
"triaged",
"open source",
"oncall: mobile",
"Stale",
"release notes: quantization"
] | 3 | NONE | See https://github.com/qnx-ports/build-files/tree/pytorch_qnx_main for build instructions.
Changes to third_party subprojects are administered by patches in the build repo while we work on getting them upstreamed. Once they are I'll submit another PR to update the refs so that this can go in without extra complication... | true |
2,846,369,794 | cpp_wrapper: Precompile device-specific header files | benjaminglass1 | closed | [
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 9 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #148773
* #144293
* __->__ #146928
This saves us about a second per compilation, which is _massive_ for the OpInfo tests. Total OpInfo test runtime is down about 2x from this change alone.
Relands #144002, with changes needed by fbcode ... | true |
2,846,360,753 | Support static method of torchbind attributes in torch.compile with inductor backend | yushangdi | closed | [
"fb-exported",
"Merged",
"ciflow/trunk",
"module: inductor",
"module: dynamo",
"ciflow/inductor",
"release notes: inductor"
] | 12 | CONTRIBUTOR | As title.
Many changes adapted from https://github.com/pytorch/pytorch/pull/129537.
Also this diff is only for *static* method of torchbind *attributes*. Some case that's not supported/tested:
- dynamic torchbind objects
- torchbind objects as an input to the module.
Note that in JIT Inductor, the attribute... | true |
2,846,354,460 | [ONNX] Update CI transformers cache | titaiwangms | closed | [
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 6 | COLLABORATOR | The cached models are outdated because the related tests are all deleted.
| true |
2,846,354,168 | Clear CompiledTritonKernel cache after each inductor compile | jamesjwu | closed | [
"fb-exported",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 14 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #146925
* #146417
Fix a bug introduced by D69123174: because triton kernels now are returned directly by the worker, each future created by the triton kernel should only be used once per compile. Otherwise, a long running process tha... | true |
2,846,297,267 | Support pin_memory() during CUDA stream capture. | galv | open | [
"open source",
"Stale",
"release notes: cuda"
] | 4 | COLLABORATOR | This code previously did not work:
```python
import torch
def test():
graph = torch.cuda.CUDAGraph()
with torch.cuda.graph(graph, capture_error_mode="global"):
data = torch.randn(8)
data_gpu = torch.randn(8, device="cuda")
data = data.pin_memory()
data_gpu.to(data,... | true |
2,846,232,154 | [ONNX][reland2] Create deprecation warning on dynamo_export | justinchuby | closed | [
"open source",
"Merged",
"ciflow/trunk",
"release notes: onnx",
"ci-no-td"
] | 5 | COLLABORATOR | Reland two PRs
- https://github.com/pytorch/pytorch/pull/146425
- https://github.com/pytorch/pytorch/pull/146639
Fixed by removing the deprecation warning on a base class `ExportOptions`. | true |
2,846,226,673 | Fix `ReferenceError: weakly-referenced object no longer exists` in cycle detector | zdevito | closed | [
"fb-exported",
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 13 | CONTRIBUTOR | Summary: weakref.proxy objects will throw errors when they re dead. We just do not bother visulaizing them. They are weak, so they aren't relevant to cycles anyway.
Differential Revision: D69270429
| true |
2,846,191,034 | [Dynamo][pytree] handle `isinstance(...)` check for polyfilled class | XuehaiPan | closed | [
"open source",
"Stale",
"topic: not user facing",
"module: pytree",
"module: dynamo",
"ciflow/inductor"
] | 2 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #146921
* #146984
Fixes https://github.com/pytorch/pytorch/pull/137398/files#r1951280557
Related:
- #146678
- https://github.com/pytorch/pytorch/pull/146678#discussion_r1948035430
cc @zou3519 @voznesenskym @penguinwu @Eikan... | true |
2,846,155,169 | Revert commit that removed windows testing in VS2019-> update | Camyll | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 15 | CONTRIBUTOR | This reverts commit b57b38b52ede2af27d4eb1bf6ba63868a3ee7553.
This commit removed windows testing for the VS build and needs to be added back in with the updated VS2022 build
Fixes #ISSUE_NUMBER
| true |
2,846,152,202 | Make export._trace._WrapperModule work in strict mode | yushangdi | closed | [
"fb-exported",
"Merged",
"Reverted",
"ciflow/trunk",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor",
"ci-no-td"
] | 15 | CONTRIBUTOR | Summary:
as title
`export._trace._WrapperModule` is used to wrap functions into a Module so we can export the function.
We add `export._wrapper_utils` to `dynamo`'s `MOD_INLINELIST` so dynamo traces into `_WrapperModule`
Fixes https://github.com/pytorch/pytorch/issues/146867
Test Plan:
```
buck run fb... | true |
2,846,151,298 | don't use Config for compile job id since it only supports bools and not strings | bobrenjc93 | closed | [
"topic: not user facing"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #146918
https://github.com/pytorch/pytorch/pull/143152 broke pgo testing locally since Config ignores all config values other than "0" or "1" since it assumes these are flags/bools: https://www.internalfb.com/code/fbsource/[a43a94190... | true |
2,846,144,528 | [inductor] triton support port-#5512, update cpp wrapper for gpu | anmyachev | closed | [
"triaged",
"module: mkldnn",
"open source",
"Merged",
"ciflow/trunk",
"oncall: pt2",
"module: inductor",
"release notes: inductor",
"ciflow/xpu"
] | 27 | COLLABORATOR | In short, this pull request enhances `constexprs` expression filtering.
Note: I tested the changes on xpu backend.
Part of https://github.com/pytorch/pytorch/issues/144103
cc @gujinghui @PenghuiCheng @XiaobingSuper @jianyuh @jgong5 @mingfeima @sanchitintel @ashokei @jingxu10 @min-jean-cho @yanbing-j @Guobin... | true |
2,846,100,538 | [rocm6.4_internal_testing] [ROCm] [TunableOp] Future proof TunableOp unit test. | naromero77amd | closed | [
"oncall: distributed",
"module: rocm",
"release notes: releng",
"module: inductor",
"module: dynamo"
] | 2 | COLLABORATOR | Cherry pick of upstream PR:
https://github.com/pytorch/pytorch/pull/146548
CI passed upstream.
cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang @voznesenskym @penguinwu @EikanW... | true |
2,846,067,050 | Unit test failure on Aarch64 - TestSelectAlgorithmCPU.test_linear_with_in_out_buffer | robert-hardwick | open | [
"module: tests",
"module: arm",
"oncall: pt2",
"oncall: cpu inductor"
] | 0 | COLLABORATOR | ### 🐛 Describe the bug
We wan't to enable inductor/test_cpu_select_algorithm in ci for Aarch64 however we are seeing this test failure. Marking as expectedFail for the time being so that we can get coverage of the other tests in ci.
```
AssertionError: Scalars are not equal!
Expected 2 but got 1.
Absolute differenc... | true |
2,846,058,678 | TestSelectAlgorithmCPU.test_int8_woq_mm fails on Aarch64 | robert-hardwick | open | [
"oncall: jit",
"module: tests",
"module: arm",
"oncall: cpu inductor"
] | 0 | COLLABORATOR | ### 🐛 Describe the bug
Test `test_int8_woq_mm` in `TestSelectAlgorithmCPU` fails with multiple parameterizations on Aarch64 platform.
```
AssertionError: Scalars are not equal!
Expected 1 but got 0.
Absolute difference: 1
Relative difference: 1.0
To execute this test, run the following from the base repo dir:
... | true |
2,846,024,342 | Add a `TORCH_LOGS_RANK=0` env var that integrates with `TORCH_LOGS` | bdhirsh | open | [
"module: logging",
"triaged",
"oncall: pt2"
] | 2 | CONTRIBUTOR | `TORCH_LOGS` is a very useful env var for inspecting PT2 state throughout a program, although it can be quite spammy:
(1) debug logs for dynamo + dynamic shapes together can be huge, especially when dealing with large models
(2) this is exacerbated in a distributed setting, where you have N ranks all printing logs
@... | true |
2,845,971,130 | [export][ez] Update tag_ for union setters. | zhxchen17 | closed | [
"fb-exported",
"Merged",
"ciflow/trunk",
"ciflow/inductor",
"release notes: export"
] | 10 | CONTRIBUTOR | Summary: ez fix to set tag for union type fields.
Test Plan: CI
Differential Revision: D69467715
| true |
2,845,896,519 | Adjust TestInductorOpInfo to depend on backend, not device | matthewhagraphcore | closed | [
"triaged",
"open source",
"Merged",
"topic: not user facing",
"oncall: pt2",
"module: inductor"
] | 14 | CONTRIBUTOR | As is the case with many inductor tests, this test adapts test criteria based on device type, where it should be adjusting for the backend registered for that device.
In this particular case, using the upstream triton CPU backend would lead to failures, as reference_in_float would be true as this is required for the... | true |
2,845,896,179 | INTERNAL ASSERT FAILED at "/pytorch/aten/src/ATen/native/sparse/SparseCsrTensorMath.cpp":817, please report a bug to PyTorch. | cybersupersoap | open | [
"module: sparse",
"triaged"
] | 2 | NONE | ### 🐛 Describe the bug
An INTERNAL ASSERT error will be raised when using `device.type.add_` . The code is as follows:
```python
import torch
def generate_simple_inputs(layout,
device=None,
dtype=None,
index_dtype=None,
... | true |
2,845,890,961 | whats the plan on replacing DDP with the replicate API? | mayank31398 | closed | [
"oncall: distributed"
] | 12 | CONTRIBUTOR | ### 🚀 The feature, motivation and pitch
replicate seems to be a nicer API but it looks like it lacks mixed precision support
ideally if it can obey similar arguments like `fully_shard` from FSDP-2, it will be helpful.
cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o | true |
2,845,869,873 | [AOTI][Draft] Extend torchgen to generate C shim with version number | desertfire | open | [
"Stale",
"topic: not user facing"
] | 2 | CONTRIBUTOR | Summary: While it is ok to add a new arg with defaul value to a fallback op in Python, it will be BC-breaking for the C shim. This PR adds an automatic approach to update C shim files when specifying a version number with a list of new args for the modified op. TO-BE-FILLED: there will be an example PR linked here late... | true |
2,845,853,491 | INTERNAL ASSERT FAILED at "/pytorch/torch/csrc/distributed/c10d/reducer.cpp":2134, please report a bug to PyTorch. | cybersupersoap | open | [
"oncall: distributed"
] | 2 | NONE | ### 🐛 Describe the bug
An INTERNAL ASSERT error will be raised when using `torch.distributed._compute_bucket_assignment_by_size` . The code is as follows:
```python
import torch
import torch.distributed as dist
tensors = [torch.empty([50], dtype=torch.float), torch.empty([25], dtype=torch.double), torch.empty([50], ... | true |
2,845,843,564 | Fix var CUDA_PATH_V128 in cuda128.bat file | atalman | closed | [
"Merged",
"topic: not user facing"
] | 4 | CONTRIBUTOR | Followup after: https://github.com/pytorch/pytorch/pull/146653
This should fix upcoming CUDA 12.8 windows builds.
Issue found during pytorch-canary Windows AMI test.
| true |
2,845,834,464 | [BE][OpInfo] Introduce generic `dtypesIf` | malfet | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"no-runner-experiments"
] | 6 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #146905
Use `__setattr__` and `__getattribute__` to wrap existing `dtypesIfXYZ` into it, which will allow for subsequent incremental elimination of those
Also, type annotation for OpInfo is a sham: it claims that `dtypes` and `dty... | true |
2,845,828,909 | [BE]: Make OrderedSet reversible | Skylion007 | closed | [
"open source",
"better-engineering",
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 6 | COLLABORATOR | It's rather trivial to make OrderedSet reversible, so let's do it and unlock that additional functionality for downstream users. | true |
2,845,810,435 | [DO NOT MERGE] ROCm sandbox PR | amdfaa | open | [
"module: rocm",
"open source",
"Stale",
"ciflow/trunk",
"topic: not user facing",
"ciflow/rocm"
] | 5 | CONTRIBUTOR | Used for testing upstream CI to help triage network issues being observed on the MI250 ROCm CI runners.
cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang @naromero77amd | true |
2,845,734,131 | [BE][Ez]: Remove unnecessary type ignores from orderedset | Skylion007 | closed | [
"open source",
"better-engineering",
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 8 | COLLABORATOR | After #145783, we can remove some type ignores from the ordered set class | true |
2,845,684,726 | Trying to use forward AD with _scaled_dot_product_efficient_attention | manukyutai | open | [
"triaged",
"module: forward ad",
"module: sdpa"
] | 0 | NONE | ### 🚀 The feature, motivation and pitch
It's not implemented yet
### Alternatives
_No response_
### Additional context
_No response_ | true |
2,845,676,860 | PyTorch Profiler Data Is Corrupted When Using with_stack=True | wdziurdz | open | [
"oncall: profiler"
] | 1 | CONTRIBUTOR | ### 🐛 Describe the bug
I have a problem when trying to profile with with_stack=True. When I add this flag, the Torch profiler writes corrupted data. I noticed that this happens when Kineto is available. However, when Kineto is disabled and the profiler in torch.autograd.profiler takes the else path (not saving Kineto... | true |
2,845,667,456 | Friendly handle mem_get_info's runtime error message | guangyey | closed | [
"open source",
"Merged",
"ciflow/trunk",
"ciflow/xpu",
"release notes: xpu"
] | 8 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #146899
# Motivation
Friendly handle the runtime error message if the device doesn't support querying the available free memory. See https://github.com/intel/torch-xpu-ops/issues/1352
| true |
2,845,660,429 | [RFC] Test Cases Enabling for Accelerators | EikanWang | open | [
"feature",
"module: tests",
"triaged"
] | 14 | COLLABORATOR | # Motivation
PyTorch contains a large and continually growing set of test cases to ensure quality and performance across a variety of features. As more device backends (accelerators) are added, contributors frequently face the challenge of enabling those existing test cases for new devices:
1. Device Decorator
PyTorc... | true |
2,845,545,772 | [subclass] testing WrapperSubclass respect outer_size, outer_stride | IvanKobzarev | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 6 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #146897
| true |
2,845,523,808 | Assertion error in Flex Attention backward pass when indexing a parameter | otoomey | open | [
"triaged",
"oncall: pt2",
"module: higher order operators",
"module: pt2-dispatcher",
"module: flex attention"
] | 3 | NONE | ### 🐛 Describe the bug
Flex Attention raises an assertion error during the backward pass if the `score_mod` implementation indexes a unit sized dimension.
For instance:
```python
import torch
from torch.nn.attention.flex_attention import flex_attention
MAXLEN = 2
embeddings_table = nn.Parameter(torch.Tensor(2 * MAX... | true |
2,845,422,501 | [ARM] Enable some additional Aarch64 unit tests | robert-hardwick | open | [
"triaged",
"open source",
"module: arm",
"Stale",
"topic: not user facing",
"module: inductor",
"ciflow/inductor",
"ciflow/linux-aarch64"
] | 20 | COLLABORATOR | This PR adds some tests to Aarch64 ci. Notably `nn/test_convolution` and `inductor/test_fused_attention`
The reason for this is that there are some additional regression test failures in the oneDNN 3.7 upgrade https://github.com/pytorch/pytorch/pull/138889 which do not have visibility because they are not enabled.
... | true |
2,845,405,878 | Enable bitwise operators between scalars and Tensors (and fix #145838) | rec | open | [
"open source",
"Stale",
"release notes: fx",
"topic: not user facing",
"ciflow/inductor"
] | 2 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #147372
* __->__ #146894
| true |
2,845,374,973 | Add flatten/unflatten utility `c10::utils::nested` for C++ nested containers | XuehaiPan | closed | [
"module: internals",
"module: cpp",
"needs research",
"open source",
"needs design",
"Stale",
"module: pytree"
] | 3 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #146893
The interface is (need design):
```cpp
std::pair<List<IValue>, std::function<IValue(const List<IValue>&)>>
tree_flatten(const IValue& input);
```
Usage:
```cpp
auto [leaves, unflatten_func] = c10::utils::tree_flatten(ivalue... | true |
2,845,325,231 | Update documentation to include insert and + methods to add layers in sequential | jobs-git | closed | [
"module: docs",
"module: nn",
"triaged",
"actionable"
] | 2 | NONE | ### 📚 The doc issue
Documentation does not yet reflect these methods. Keras reflects such features under sequential: https://keras.io/guides/sequential_model/
See: https://pytorch.org/docs/stable/generated/torch.nn.Sequential.html
Ref: https://github.com/pytorch/pytorch/issues/146829
### Suggest a potential altern... | true |
2,844,965,957 | Strange Behavior when using Factory Methods with Inherited Tensor Class | anzr299 | closed | [
"triaged",
"tensor subclass"
] | 2 | NONE | When I try to inherit the `torch.Tensor` class for my own use case. It results in some unexpected errors. This occurs when trying to call torch.tensor again on an iterable of this inherited class' instance. I also noticed other similar behaviors. How can I ensure that the inherited class can interact with `torch.tensor... | true |
2,844,607,986 | max(a, b) if a and b else b specialize on both a and b. can we be smarter? | laithsakka | closed | [
"oncall: pt2",
"module: dynamic shapes"
] | 1 | CONTRIBUTOR | pattern in OmniFm.
import torch
def fun2(v):
return torch.tensor([1])*max(v,100)
@torch.compile(dynamic = True)
def fun(a, b):
return torch.tensor([1])+ fun2(v = max(a, b) if a and b else b)
fun(1000, 12)
fun(100, 12)
cc @chauhang @penguinwu @ezyang @bobrenjc93 | true |
2,844,473,870 | How to customize a torch.Tensor() method to access the underlying data structure of a PyTorch tensor. | xiangxinhello | open | [
"triaged",
"tensor subclass"
] | 2 | NONE | ### 🐛 Describe the bug
1. How to customize a torch.Tensor() method and call PyTorch's THPVariable_pynew function to obtain the underlying data structure of the original Tensor.

tensor = torch.Tensor(3,4).to("new_one") -> initM... | true |
2,844,384,179 | [Intel GPU] Fallback embedding_dense_backward on XPU | jianyizh | closed | [
"triaged",
"open source",
"topic: not user facing",
"module: inductor",
"ciflow/xpu"
] | 7 | CONTRIBUTOR | Do not decompose embedding_dense_backward for torch.compile. Current XPU devices have hardware limitations on atomic ops. Fallback to eager and we use sort to implement this op. hf_T5 amp bf16 training in torchbench can get 2x improvement on Max 1550. I also align with cuda on gelu decomposition in _addmm_activation
c... | true |
2,844,353,619 | [dynamo][source] Remove index_is_slice from GetItemSource | anijain2305 | closed | [
"ciflow/trunk",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor"
] | 2 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #146887
* #146819
Slicing on the data structures that go through GetItemSource always
result in temporary objects. So, there is never a case where we need a
source for a sliced data structure. I think it was a bug at one point of
time... | true |
2,844,268,438 | torch.serialization.add_safe_globals should be module qualified | ezyang | closed | [
"module: serialization",
"triaged",
"topic: improvements"
] | 0 | CONTRIBUTOR | ### 🐛 Describe the bug
```
(2) Alternatively, to load with `weights_only=True` please check the recommended steps in the following error message.
WeightsUnpickler error: Unsupported global: GLOBAL numpy.dtype was not an allowed global by default. Please use `torch.serialization.add_safe_globals([dtype... | true |
2,844,265,131 | Add numpy.core.multiarray.scalar to default safe globals | ezyang | open | [
"module: serialization",
"triaged"
] | 1 | CONTRIBUTOR | ### 🐛 Describe the bug
We should audit that this one is safe, but I think it is, and it would be nice if it was in the safe set; specifically, Suno bark checkpoints need it https://github.com/suno-ai/bark
cc @mruberry @mikaylagawarecki
### Versions
main | true |
2,844,208,164 | [DTensor]Operator aten.mT.default/aten.mv.default/aten.dot.default does not have a sharding strategy registered | zqwenn | open | [
"oncall: distributed",
"module: dtensor"
] | 3 | CONTRIBUTOR | ### 🐛 Describe the bug
It seems that after this commit was merged, matmul for dtensor no longer supports 1-dimensional tensors or other shapes.
[[DTensor] Support matmul in inference_mode](https://github.com/pytorch/pytorch/commit/8bdcdae73383da706f82877d76ee1756bf329cc2)
Testcase and Error report as below.
Testca... | true |
2,844,188,910 | [XPU] The op `aten.nonzero` implemented by XPU has different output layout with fake tensor in torch.compile. | etaf | closed | [
"triaged",
"module: xpu"
] | 3 | COLLABORATOR | ### 🐛 Describe the bug
After https://github.com/pytorch/pytorch/pull/145904 add size-asserts for fallback ops in Inductor, we found XPU CI failures:
https://github.com/pytorch/pytorch/actions/runs/13217339535/job/36905991648
```
----------------------------- Captured stdout call -----------------------------
stats [(... | true |
2,844,172,411 | Optimize transformer encoder/decoder init suggestion | zeshengzong | closed | [
"triaged",
"open source",
"Merged",
"ciflow/trunk",
"release notes: nn",
"topic: docs"
] | 14 | CONTRIBUTOR | Fixes #72253
Add hint message for users to manually initialize after created.
## Test Result
**Before**


**After**
![i... | true |
2,844,121,927 | [Feature][c10d] Allow flexible `cudaStreamWaitEvent` in PGNCCL | awgu | closed | [
"oncall: distributed"
] | 5 | COLLABORATOR | ### 🚀 The feature, motivation and pitch
Today, PGNCCL collectives have the internal NCCL stream wait on the current stream before issuing the NCCL kernel in the NCCL stream. However, waiting on the current stream can be over-synchronization and waiting on an earlier CUDA event could suffice for correctness.
I have a... | true |
2,844,119,804 | [XPU] Align XPU convolution_backward output layout between fake tensor and real output tensor. | etaf | closed | [
"module: cpu",
"open source",
"Merged",
"topic: not user facing"
] | 1 | COLLABORATOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #146763
* __->__ #146880
* #145248
* #146762
Fix #146879
cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 | true |
2,844,082,572 | [XPU Inductor]Inconsistent FP64 Convolution_Backward Output Layout Between Fake Tensor and Real output Tensor | etaf | closed | [
"triaged",
"module: xpu"
] | 0 | COLLABORATOR | ### 🐛 Describe the bug
After #145904 add size-asserts for fallback ops, we found XPU CI failures: https://github.com/pytorch/pytorch/actions/runs/13232888974/job/36933919996
```
=================================== FAILURES ===================================
___ TestFxGraphCache.test_cache_load_model_device_xpu_floa... | true |
2,844,080,867 | Support torch.compile rng selective activation checkpointing with cudagraph | eellison | closed | [
"Merged",
"Reverted",
"ciflow/trunk",
"release notes: fx",
"fx",
"module: inductor",
"module: dynamo",
"ciflow/inductor",
"ci-no-td"
] | 29 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #146878
TODO:
- [x] Add handling for when forward is invoked multiple times without invoking backward, so that the fwd/backward states are out of sync
- [x] Update rng state initialization to take from correct device
- [x] Tests... | true |
2,844,072,631 | [cutlass backend] Do not change dtype of GEMM template | henrylhtsang | closed | [
"fb-exported",
"Merged",
"Reverted",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor",
"ci-no-td"
] | 18 | CONTRIBUTOR | I think this is a change in the right direction.
Right now, when we try to find a cutlass gemm, we generate bunch of gemm templates, and filter out those that don't fix. For example, if we are doing bf16 x bf16 matmul, the gemm template for fp32 x fp32 is generated and filtered out.
However, for the dtype of bias... | true |
2,844,049,790 | [SkipFiles] remove some more stuff from MOD_SKIPLIST | zou3519 | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #146876
* #146854
Test Plan:
- tests
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,844,030,323 | [ca] eliminate duplicate getitem graph nodes for shape inputs | xmfan | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor",
"module: compiled autograd"
] | 3 | MEMBER | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #147021
* __->__ #146875
* #146735
should reuse existing proxies instead of creating new ones
before: https://manifold.edge.x2p.facebook.net/v0/read/tree/logs/.tmpL7hmHe/0_-_-_0/compiled_autograd_graph_3.txt?bucketName=tlparse_reports&ap... | true |
2,844,012,614 | [Optimus][Inductor] Add full cat aten pattern | mengluy0125 | open | [
"fb-exported",
"ciflow/trunk",
"module: inductor",
"ciflow/inductor",
"release notes: inductor",
"inductor_pattern_match"
] | 5 | CONTRIBUTOR | Test Plan:
# how to add config
```
"post_grad_fusion_options": {
"normalization_aten_pass": {},
"full_slice_cat_aten_pass": {},
},
```
# unit test
```
buck2 test 'fbcode//mode/dev-nosan' fbcode//caffe2/test/inductor:split_cat_fx_aten_passes -- test_full_cat_post_grad
```
File changed: fbcode//caffe2/to... | true |
2,844,004,353 | update types on dynamo configs | exclamaforte | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor",
"release notes: dynamo"
] | 12 | CONTRIBUTOR | cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,844,000,696 | [FlexAttention] Bug fix broken flag | drisspg | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 9 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #146872
# Summary
I somehow broke this... I think claude was trippin
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muc... | true |
2,843,998,875 | [BE] Strip `#pragma once` when embedding the headers | malfet | closed | [
"Merged",
"topic: not user facing",
"ciflow/mps"
] | 3 | CONTRIBUTOR | This eliminates compiler warning, for example when compiling Metal shader with embedded headers
```
with program_source:6:9: warning: #pragma once in main file [-Wpragma-once-outside-header]
#pragma once
^
program_source:81:9: warning: #pragma once in main file [-Wpragma-once-outside-header]
#pragma once... | true |
2,843,998,105 | Don't look at TESTING_ONLY in fuzzer | exclamaforte | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor",
"release notes: inductor"
] | 6 | CONTRIBUTOR | Lots of configs aren't meant to be set because they're testing only
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov | true |
2,843,985,789 | [dtensor] fix side-effect on dtype for _like ops | tianyu-l | closed | [
"oncall: distributed",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"ciflow/inductor",
"release notes: distributed (dtensor)"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #146869
fixes https://github.com/pytorch/pytorch/issues/146749
cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o | true |
2,843,977,293 | ci: Add h100 nightly perf testing | seemethere | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"test-config/default"
] | 12 | MEMBER | This infrastructure has been up for a while so add a workflow to actually run things on it.
> [!IMPORTANT]
> We only have **14** linux.aws.h100 runners so it might be beneficial for us to actually pair this list down.
> Will leave it up to the compiler team to comment on this PR on which tests are actually importa... | true |
2,843,973,207 | export._trace._WrapperModule doesn't work in strict mode | yushangdi | closed | [
"oncall: pt2",
"oncall: export"
] | 1 | CONTRIBUTOR | ### 🐛 Describe the bug
```python
import torch
from torch.export import _trace
def f(x):
return torch.abs(x)
model = _trace._WrapperModule(f)
ep = torch.export.export(model, (torch.randn(8,),))
```
The code errors, but works fine in non-strict mode.
```
Traceback (most recent call last):
File "/d... | true |
2,843,971,653 | Add support for no-op concat with padded output | nandesuka | closed | [
"fb-exported",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 14 | CONTRIBUTOR | Add support for no-op concat with padded output
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov | true |
2,843,910,301 | Disable test with dynamo for schema gen | ydwu4 | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 6 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #146865
Fixes https://github.com/pytorch/pytorch/issues/141202.
1. So we skip the schema gen tests under dynamo. https://github.com/pytorch/pytorch/issues/141202 fails in a weird way: where it's claiming node is an integer, but ... | true |
2,843,910,120 | wip [ca] wrap AOTDispatcher tests | xmfan | open | [
"Stale",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 2 | MEMBER | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #146864
* #146735
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov | true |
2,843,901,435 | Back out "Exclude upsample_bilinear2d.vec and nearest2d.vec from default export decomposition table" | GregoryComer | closed | [
"fb-exported",
"ciflow/trunk",
"release notes: export"
] | 2 | MEMBER | Summary:
Original commit changeset: c90cb1aa7f8f
Original Phabricator Diff: D66575454
Original diff breaks internal QNN tests.
Test Plan: CI
Differential Revision: D69423952
| true |
2,843,885,300 | [BE] hop_db tests should not be allowed to specify decorators/skips | zou3519 | open | [
"triaged",
"better-engineering",
"module: testing",
"oncall: pt2",
"module: higher order operators",
"module: pt2-dispatcher"
] | 0 | CONTRIBUTOR | Those should all go on the tests themselves...
cc @chauhang @penguinwu @ydwu4 @bdhirsh @yf225 | true |
2,843,884,364 | [BE] the majority of HOP OpInfo tests should be in one place | zou3519 | open | [
"triaged",
"better-engineering",
"oncall: pt2",
"module: higher order operators",
"module: pt2-dispatcher"
] | 0 | CONTRIBUTOR | Otherwise people will go hunting down the tests which is annoying
cc @chauhang @penguinwu @ydwu4 @bdhirsh @yf225 | true |
2,843,883,381 | [BE] Put all the HOP tests in one location | zou3519 | open | [
"triaged",
"better-engineering",
"oncall: pt2",
"module: higher order operators",
"module: pt2-dispatcher"
] | 0 | CONTRIBUTOR | There's test/test_hop_infra, test/higher_order_ops/*, test/dynamo/test_higher_order_ops, and more.
We should try to put the majority of HOP tests in the same location
cc @chauhang @penguinwu @ydwu4 @bdhirsh @yf225 | true |
2,843,807,226 | [export] Dedup expression_created logs | angelayi | closed | [
"Merged",
"ciflow/trunk",
"release notes: export"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #146939
* #146955
* __->__ #146859
* #146858
* #146534
* #146533
* #146532
| true |
2,843,807,093 | [tlparse] Add stacktrace filter utility | angelayi | closed | [
"Merged",
"fx",
"ciflow/inductor",
"release notes: export"
] | 1 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #146939
* #146955
* #146859
* __->__ #146858
* #146534
* #146533
* #146532
Added a utility function for capturing the user stack and framework stacktrace.
cc @ezyang @SherlockNoMad @EikanWang @jgong5 @wenzhe-nrv | true |
2,843,799,614 | Segmentation Fault nn/test_convolution.py test_ConvTranspose2d_output_size_downsample_upsample on Aarch64 | robert-hardwick | open | [
"module: crash",
"triaged",
"module: arm"
] | 1 | COLLABORATOR | ### 🐛 Describe the bug
Riasing this issue so in order to skip the test, but enable the `nn/test_convolution.py` suite of tests on Aarch64.
Running on a Neoverse-V1 we get the following output
```
[2025-02-10T16:14:20.552Z] nn/test_convolution.py::TestConvolutionNN::test_ConvTranspose2d_output_size_downsample_upsamp... | true |
2,843,785,048 | Update dynamo expected 20250210 | huydhn | closed | [
"module: rocm",
"Merged",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor",
"ciflow/inductor-periodic"
] | 3 | CONTRIBUTOR | Update all the ci accuracy expect values to make trunk green.
cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang @naromero77amd @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @c... | true |
2,843,733,478 | [StaticRuntime] Fix a bug that memory planner ignores subblocks (#146728) | coufon | closed | [
"oncall: jit",
"fb-exported",
"Merged",
"ciflow/trunk",
"release notes: jit"
] | 11 | CONTRIBUTOR | Summary:
When Static Runtime graph node has sub-blocks, the memory planner does not consider sub-blocks' inputs as a node's input in memory planner. As the result, such nodes' inputs' lifetime is incorrect and corresponding tensor memory is released earlier than required and causes errors.
Differential Revision: D691... | true |
2,843,705,210 | [SkipFiles] remove some stuff from MOD_SKIPLIST | zou3519 | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor"
] | 6 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* #146876
* __->__ #146854
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,843,686,868 | Remove torch._higher_order_ops from MOD_SKIPLIST | zou3519 | closed | [
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: dynamo",
"ciflow/inductor",
"keep-going"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #146853
Test Plan:
- tests
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames | true |
2,843,589,490 | Let _create_cpu_state_dict and _copy_state_dict support DTensor | fegin | closed | [
"oncall: distributed",
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #146852
cc @H-Huang @awgu @kwen2501 @wanchaol @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @LucasLLC @MeetVadakkanchery @mhorowitz @pradeepfn @ekr0 | true |
2,843,561,323 | DISABLED test_aot_cudagraphs_cuda (__main__.TestOptimizationsCUDA) | huydhn | open | [
"triaged",
"skipped",
"oncall: pt2"
] | 1 | CONTRIBUTOR | Platforms: linux
This test was disabled because it is failing on main branch ([recent examples](https://torch-ci.com/failure?failureCaptures=%5B%22dynamo%2Ftest_backends.py%3A%3ATestOptimizationsCUDA%3A%3Atest_aot_cudagraphs_cuda%22%5D)).
This causes a memory leak and can be reproduced in main with `PYTORCH_TEST_CUDA... | true |
2,843,514,009 | STuff | tugsbayasgalan | open | [
"fb-exported",
"Stale",
"fx",
"ciflow/inductor",
"release notes: export"
] | 3 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #146850
Differential Revision: [D69413972](https://our.internmc.facebook.com/intern/diff/D69413972/)
cc @ezyang @SherlockNoMad @EikanWang @jgong5 @wenzhe-nrv | true |
2,843,512,392 | [inductor] skip _test_insignificant_strides on rocm | shunting314 | closed | [
"module: rocm",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor",
"ciflow/rocm"
] | 6 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #146849
* #145904
Check https://github.com/pytorch/pytorch/issues/146848 , the rocm kernel for _scaled_dot_product_attention does not match the meta kernel regarding output shape. cuda kernel is fine.
cc @jeffdaily @sunway513... | true |
2,843,497,648 | _scale_dot_product_efficient_attention eager/meta computation mismatch on output tensor shape | shunting314 | open | [
"triaged",
"oncall: pt2",
"rocm",
"module: sdpa"
] | 6 | CONTRIBUTOR | ### 🐛 Describe the bug
Repro:
```
import torch
from torch._subclasses.fake_tensor import FakeTensorMode
empty_strided_cuda = torch._C._dynamo.guards._empty_strided_cuda
q = empty_strided_cuda((1, 32, 1, 128), (4096, 128, 128, 1), torch.float32)
k = empty_strided_cuda((1, 32, 1, 128), (4096, 128, 128, 1), torch.flo... | true |
2,843,456,154 | [FSDP2] Simplify shard_placement_fn in test | tsunghsienlee | closed | [
"oncall: distributed",
"fb-exported",
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 8 | CONTRIBUTOR | Summary: Found this while checking `shard_placement_fn` for Shampoo shard independent implementation.
Test Plan: OSS CI & tests
Differential Revision: D69412878
cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o | true |
2,843,435,746 | Fix lint | angelayi | closed | [
"Merged",
"release notes: fx",
"fx",
"ciflow/inductor"
] | 3 | CONTRIBUTOR | [Fixes #ISSUE_NUMBER
](https://github.com/pytorch/pytorch/actions/runs/13248382636/job/36980294598)
cc @ezyang @SherlockNoMad @EikanWang @jgong5 @wenzhe-nrv | true |
2,843,413,095 | Fix non-bitwise type annotations for Tensor operators (see #145838) | rec | open | [
"oncall: distributed",
"module: typing",
"open source",
"Merged",
"Reverted",
"ciflow/trunk",
"topic: not user facing",
"ciflow/inductor",
"ci-no-td"
] | 13 | COLLABORATOR | Fix https://github.com/pytorch/pytorch/issues/145838
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #146845
cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @ezyang @malfet @xuzhao9 @gramster | true |
2,843,376,213 | [PT2] Enable relu_nan_to_num preset in pre_grad by default | huxintong | open | [
"fb-exported",
"Stale",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 4 | CONTRIBUTOR | Summary: enabled for AOTI_EP https://fburl.com/code/27q2dnc2, for AOTI we also want to enable it by default, so set it directly in the config
Test Plan: sandcastle
Differential Revision: D69409881
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisun... | true |
2,843,372,920 | [inductor][cpu] Move VNNI weight packing into AMX GEMM kernel for contiguous BMM weights | frost-intel | closed | [
"module: cpu",
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor",
"ciflow/inductor"
] | 13 | COLLABORATOR | Currently, the bfloat16 microkernel that uses AMX vectorization requires that the weights are in an interleaved VNNI format. For GEMM code, this hasn't been an issue because GEMM currently only supports constant weights, so the VNNI weight packing is done during compile-time and saved as a constant tensor to the graph.... | true |
2,843,277,026 | [PGNCCL] Associate tensor allocation support with NCCL version | kwen2501 | closed | [
"oncall: distributed",
"Merged",
"ciflow/trunk",
"release notes: distributed (c10d)"
] | 6 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #146842
* #146589
This is a forward fix to #146589.
For NCCL version lower than 2.19, previous PR would see `RuntimeError: NCCL mem allocator is not supported in this NCCL version`.
This PR gates the support by checking link-tim... | true |
2,843,260,441 | [cuda] fix printing of num_gpus | wconstab | closed | [] | 2 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #146841
Previously on machines with less than 8 gpus, the device==7 case would
trigger the assert inside getDeviceProperties, and print `num_gpus=BEL`
which is ascii for 7. | true |
2,843,244,550 | Fix bazel job after #144489 | huydhn | closed | [
"Merged",
"topic: not user facing",
"ciflow/periodic",
"test-config/default"
] | 3 | CONTRIBUTOR | This is currently failing in trunk with the following error https://github.com/pytorch/pytorch/actions/runs/13246034191/job/36972742610
### Testing
Bazel job passing https://github.com/pytorch/pytorch/actions/runs/13247495161/job/36977571965
| true |
2,842,907,729 | [ROCm] Update periodic.yml to use 2GPU runners | amdfaa | closed | [
"module: rocm",
"open source",
"Merged",
"Reverted",
"topic: not user facing",
"ciflow/periodic",
"test-config/distributed",
"test-config/default",
"ciflow/rocm",
"ci-no-td"
] | 9 | CONTRIBUTOR | Temporary fix for rocm workflow.
The 4-GPU runners are all taken offline due to (network timeout issue), and so we aren't able to run any periodic jobs.
cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang @naromero77amd | true |
2,842,672,759 | [cuda] fix printing of num_gpus | wconstab | closed | [
"Merged",
"ciflow/trunk",
"release notes: cuda"
] | 15 | CONTRIBUTOR | Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom):
* __->__ #146838
Previously on machines with less than 8 gpus, the device==7 case would
trigger the assert inside getDeviceProperties, and print `num_gpus=BEL`
which is ascii for 7. | true |
2,842,516,680 | Make cuda and xpu build coexist in same build | take-cheeze | open | [
"triaged",
"open source",
"Stale",
"topic: not user facing"
] | 4 | CONTRIBUTOR | With https://github.com/pytorch/kineto/pull/1036 | true |
2,842,452,500 | [Fix]: Disable KleidiAI if unsupported gcc/clang compiler is detected | nikhil-arm | closed | [
"triaged",
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing"
] | 4 | COLLABORATOR | Fixes: https://github.com/pytorch/pytorch/issues/146740
Description:
1. KleidiAI officially supports GCC>=11 and Clang>=11. Certain hardware features are tied to compiler version and KleidiAI compilation will fail in such cases.
Change-Id: Ib43d6b5bf66ef5ea48c481a2774801c573ec205c
| true |
2,842,420,177 | Export HuggingFace mamba to ONNX | AyoubMDL | open | [
"module: onnx",
"triaged"
] | 22 | NONE | ### 🐛 Describe the bug
Hi, I am trying to convert the Mamba model from Hugging Face to ONNX. However, I encountered the following error:
```python
<class 'RuntimeError'>: Found <class 'transformers.cache_utils.MambaCache'> in output, which is not a known type.
```
Here is the code:
```python
from transformers import... | true |
2,842,262,341 | implement Size.__radd__ | khushi-411 | open | [
"open source",
"topic: not user facing"
] | 2 | CONTRIBUTOR | Fixes #144334
| true |
2,842,260,625 | Enable ruff E721 | zeshengzong | open | [
"open source",
"Stale",
"topic: not user facing"
] | 4 | CONTRIBUTOR | Enable [type-comparison (E721)](https://docs.astral.sh/ruff/rules/type-comparison/#type-comparison-e721) | true |
2,841,827,299 | Improve Typing for Loss Functions to Fix VSCode Autocomplete | Julfried | open | [
"triaged",
"open source",
"Stale"
] | 6 | NONE | Fixes #146831 by adding a type annotation to `_Loss.__call__`, as proposed in https://github.com/microsoft/pyright/issues/3249 | true |
2,841,813,770 | Missing Typing for Loss Functions Causes Poor Code Completion in VSCode | Julfried | open | [
"module: nn",
"module: typing",
"triaged"
] | 0 | NONE | ### 🐛 Describe the bug
Currently, all loss functions in torch.nn.modules.loss return a Tensor, but VSCode's IntelliSense and static type checkers (like Pyright) cannot infer this correctly. This makes code completion and function signatures less helpful when working with loss functions.
For example, in VSCode:
```p... | true |
2,841,811,505 | Make codegen dynamic shapes more device agnostic | matthewhagraphcore | closed | [
"triaged",
"open source",
"Merged",
"ciflow/trunk",
"topic: not user facing",
"module: inductor"
] | 16 | CONTRIBUTOR | Currently, as is the case with many inductor devices are assumed to be one of:
- CPU with Cpp coden, or
- GPU with triton codegen
This is not always the case, a CPU backend may be using the triton CPU backend, or some other codegen entirely. This goes some way to fixing it in the case where a CPU backend can use... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.