Skip to content

[2.15] Cherry-pick #4966, #4964, #4963 and #4965 - #4969

Merged
lanluo-nvidia merged 4 commits into
release/2.15from
micwill755/2.15-cherry-picks
Nov 3, 2026
Merged

lanluo-nvidia merged 4 commits into
release/2.15from
micwill755/2.15-cherry-picks

Conversation

@micwill755

Copy link
Copy Markdown
Collaborator

Cherry-picks four fixes from main into release/2.15, one commit each, in the order they merged into main. They unblock LeRobot policies exported with ExecuTorch and Torch-TensorRT 2.15 (pytorch/executorch#24353).

PR Commit on main What it fixes
#4966 e50eb79 Keep, move and refit the tensors that PyTorch nodes read after global partitioning
#4964 be77be2 Wrong attention, softmax and integer division results, and attention that fails to build
#4963 796821d Resource partitioning RecursionError, tuple outputs and engines over budget
#4965 30deb4a Optional deduplicate_weights setting (off by default), and one folded copy per repeated op on a constant

Each commit was picked with git cherry-pick -x, so its message names the original commit.

Conflicts: only #4964, in comments in decompose_unsupported_attention.py: release/2.15 has older wording of two comments that #4964 rewrites. Resolved with #4964's wording; the code change is identical to main.

Testing (RTX 5090, torch 2.15.0+cu132, TensorRT 11.4.0.106): all 13 test files that these PRs touch pass on this branch: 193 passed, 14 skipped (C++ runtime, torchvision or transformers not installed).

@meta-cla meta-cla Bot added the cla signed label Nov 3, 2026
@github-actions github-actions Bot added documentation Improvements or additions to documentation component: tests Issues re: Tests component: lowering Issues re: The lowering / preprocessing passes component: conversion Issues re: Conversion stage component: core Issues re: The core compiler component: converters Issues re: Specific op converters component: api [Python] Issues re: Python API component: dynamo Issues relating to the `torch.compile` or `torch._dynamo.export` paths labels Nov 3, 2026
@lanluo-nvidia
lanluo-nvidia merged commit e0b5f4e into release/2.15 Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla signed component: api [Python] Issues re: Python API component: conversion Issues re: Conversion stage component: converters Issues re: Specific op converters component: core Issues re: The core compiler component: dynamo Issues relating to the `torch.compile` or `torch._dynamo.export` paths component: lowering Issues re: The lowering / preprocessing passes component: tests Issues re: Tests documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants