[CP][BE][3/N] Add _templated_ring_attention to the backward compatility stub#166991
[CP][BE][3/N] Add _templated_ring_attention to the backward compatility stub#166991fegin wants to merge 2 commits intogh/fegin/332/basefrom
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/166991
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 9280272 with merge base ad02bd1 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
| _enable_context_parallel_dispatcher, | ||
| _is_causal_behavior, | ||
| _RotateMethod, | ||
| _templated_ring_attention, |
There was a problem hiding this comment.
We should wrap these imports with typing_extesions.deprecated at some point...
There was a problem hiding this comment.
That's a good suggestion. Will do that.
There was a problem hiding this comment.
I added the comment, I'll add the deprecation message once the final interfaces are decided.
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Stack from ghstack (oldest at bottom):
While
_templated_ring_attentionis a private API, it is unfortunatelly used by some packages.Add it to all so that people can still use it.
cc @H-Huang @awgu @wanchaol @fduwjj @wz337 @wconstab @d4l3k @pragupta @msaroufim @dcci