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

An impl of adafactor as per big vision (scaling vit) changes #2320

Merged
merged 21 commits into from
Nov 13, 2024

Conversation

rwightman
Copy link
Collaborator

No description provided.

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

LoganBooker added a commit to LoganBooker/prodigy-plus-schedule-free that referenced this pull request Nov 12, 2024
…ytorch-image-models#2320

* Sort and pick largest dims for factorisation.
* beta2 decay as per Adafactor with factorisation is enabled (with clipping per scaling ViT paper).
* Fold eps into denom function
* Store second moment information in the one state variable and unpack when needed.
@rwightman rwightman merged commit 8b9b682 into main Nov 13, 2024
25 checks passed
LoganBooker added a commit to LoganBooker/prodigy-plus-schedule-free that referenced this pull request Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants