Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin rotary-embedding-torch to 0.3.3 #2061

Closed
wants to merge 1 commit into from

Conversation

desertfire
Copy link
Contributor

Summary: A different rotary-embedding-torch version may cause a graph break count difference in PT2 tests, see pytorch/pytorch#114598 for details

Summary: A different rotary-embedding-torch version may cause a graph break count difference in PT2 tests, see pytorch/pytorch#114598
@malfet
Copy link
Contributor

malfet commented Nov 27, 2023

LGTM, but I wonder if imo we should have a policy of updating those dependencies say every 6 month or so (testing against the same 0.3.3 in 2025 would be somewhat moot, wouldn't it?)

@xuzhao9
Copy link
Contributor

xuzhao9 commented Nov 27, 2023

LGTM, but I wonder if imo we should have a policy of updating those dependencies say every 6 month or so (testing against the same 0.3.3 in 2025 would be somewhat moot, wouldn't it?)

Is there an upstream PR in rotary-embedding-torch to fix the graph break issue? I am thinking to add a link to an upstream PR in the requirements.txt. When the upstream PR is closed, it means we can safely remove the version pin.

@desertfire
Copy link
Contributor Author

I don't have a plan to fix upstream rotary-embedding-torch. Have some kind of scheduled pin upgrade sounds like the right thing to do here, but it can take quite some effort given how many dependent libs we may end up with for the whole torchbench. It probably makes sense to focus on hardening torch.compile itself and eventually we will see less and less surprises like this.

@facebook-github-bot
Copy link
Contributor

@desertfire has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@desertfire merged this pull request in 99944a2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants