Skip to content

Pin ExecuTorch to the release/1.4 branch head#4434

Open
shoumikhin wants to merge 1 commit into
pytorch:mainfrom
shoumikhin:pin-executorch-release-1.4
Open

Pin ExecuTorch to the release/1.4 branch head#4434
shoumikhin wants to merge 1 commit into
pytorch:mainfrom
shoumikhin:pin-executorch-release-1.4

Conversation

@shoumikhin

@shoumikhin shoumikhin commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Torch-TensorRT pins ExecuTorch to a release-branch head, and ExecuTorch just cut
release/1.4. Bump the pin on main from the release/1.3 head to the
release/1.4 head so Torch-TensorRT tracks the latest ExecuTorch release line.

Same one-line change in the four Bazel files that pin ExecuTorch (MODULE.bazel,
docker/MODULE.bazel.docker, docker/MODULE.bazel.ngc,
toolchains/ci_workspaces/MODULE.bazel.tmpl):

- commit = "6118688a095fd9697224f5cad72ce42db641c9cd"  # release/1.3
+ commit = "cd380e7aefd18c171271cc228d3a155455095219"  # release/1.4

Follow-up: swap the branch-head commit for the v1.4.0 tag once ExecuTorch publishes it.

main pins the ExecuTorch dependency to the release/1.3 branch head
(6118688a), which predates the shared extension_cuda caller-stream work.
Bump the pin to the release/1.4 branch head
(cd380e7aefd18c171271cc228d3a155455095219), the first ExecuTorch release
line that contains both pytorch/executorch#20158 (shared extension_cuda
caller-stream library) and pytorch/executorch#20498 (caller CUDA stream
for H2D/D2H copies).

This follows the existing convention of pinning a release-branch head
commit; the new_git_repository rule takes a commit, not a branch name.
The four Bazel files that pin ExecuTorch are updated identically:
MODULE.bazel, docker/MODULE.bazel.docker, docker/MODULE.bazel.ngc, and
toolchains/ci_workspaces/MODULE.bazel.tmpl.

Swap the branch-head commit for the immutable v1.4.0 tag once ExecuTorch
publishes it.
@meta-cla meta-cla Bot added the cla signed label Jul 26, 2026
@github-actions github-actions Bot added the component: build system Issues re: Build system label Jul 26, 2026
@github-actions
github-actions Bot requested a review from narendasan July 26, 2026 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant