Repository navigation
[rl][ez] Fix import errors. - #2324
Merged
Merged
Conversation
Summary: I'm seeing some import errors while rebasing on the latest vllm and torchtitan. Fixing these. Test Plan: python torchtitan/experiments/rl/unified/infer.py Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
zhxchen17
requested review from
tianyu-l and
wwwjn
and removed request for
tianyu-l
February 4, 2026 19:58
tianyu-l
approved these changes
Feb 5, 2026
Comment on lines
+9
to
+12
| try: | ||
| from vllm.attention.layer import Attention | ||
| except ModuleNotFoundError: | ||
| from vllm.model_executor.layers.attention import Attention |
Contributor
There was a problem hiding this comment.
why both? let's use the latest one
zhxchen17
added a commit
that referenced
this pull request
Feb 5, 2026
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #2325 * #2324 Summary: Ignoring example_checkpoint/ dir since it clobbers git status rn. Test Plan: Reviewers: Subscribers: Tasks: Tags:
This was referenced Feb 5, 2026
wwwjn
pushed a commit
that referenced
this pull request
Feb 6, 2026
Sorry for the previous 2 PRs I was tring out ghstack and made a mistake to merge them directly into /base branches. Re-landing them into main instead. Squashed message: #2324: I'm seeing some import errors while rebasing on the latest vllm and torchtitan. Fixing these. #2325: Ignoring example_checkpoint/ dir since it clobbers git status rn. Test Plan: python torchtitan/experiments/rl/unified/infer.py
TXacs
pushed a commit
to McmillanTAC/torchtitan
that referenced
this pull request
Apr 13, 2026
…rch#2325 (pytorch#2331) Sorry for the previous 2 PRs I was tring out ghstack and made a mistake to merge them directly into /base branches. Re-landing them into main instead. Squashed message: pytorch#2324: I'm seeing some import errors while rebasing on the latest vllm and torchtitan. Fixing these. pytorch#2325: Ignoring example_checkpoint/ dir since it clobbers git status rn. Test Plan: python torchtitan/experiments/rl/unified/infer.py
ACharacterInASimulation
pushed a commit
to ACharacterInASimulation/torchtitan
that referenced
this pull request
Apr 21, 2026
…rch#2325 (pytorch#2331) Sorry for the previous 2 PRs I was tring out ghstack and made a mistake to merge them directly into /base branches. Re-landing them into main instead. Squashed message: pytorch#2324: I'm seeing some import errors while rebasing on the latest vllm and torchtitan. Fixing these. pytorch#2325: Ignoring example_checkpoint/ dir since it clobbers git status rn. Test Plan: python torchtitan/experiments/rl/unified/infer.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack from ghstack (oldest at bottom):
Summary:
I'm seeing some import errors while rebasing on the latest vllm and torchtitan. Fixing these.
Test Plan:
python torchtitan/experiments/rl/unified/infer.py
Reviewers:
Subscribers:
Tasks:
Tags: