Skip to content

[core] deprecate xformer methods. - #15229

Open
sayakpaul wants to merge 3 commits into
mainfrom
deprecate-dedicated-xformers-methods
Open

sayakpaul wants to merge 3 commits into
mainfrom
deprecate-dedicated-xformers-methods

Conversation

@sayakpaul

Copy link
Copy Markdown
Member

We already pin PyTorch to >= 2.6. So, there is no point in maintaining these methods specific to xformers. We can still keep the dedicated xformers dispatchers in case users still prefer them.

The diff in this PR is large because I decided to remove the mentions of xformers from docs and training scripts. But I can revert that if needed. IMO, we shouldn't document things that are being deprecated.

Main changes are in src, which mostly really just deal with deprecations. I have decided to run the cycle till 0.46.0.

@github-actions github-actions Bot added documentation Improvements or additions to documentation models tests pipelines examples size/L PR with diff > 200 LOC labels Nov 10, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation examples models pipelines size/L PR with diff > 200 LOC tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants