Skip to content

Fix compatibility with newer torch/transformers - #97

Open
looi wants to merge 1 commit into
nlp-uoregon:masterfrom
looi:master
Open

Fix compatibility with newer torch/transformers#97
looi wants to merge 1 commit into
nlp-uoregon:masterfrom
looi:master

Conversation

@looi

@looi looi commented Oct 2, 2025

Copy link
Copy Markdown
  • AdamW has been removed from transformers, and needs to be imported from torch instead.
  • AdamW has been present from at least torch 1.6.0 so this should not break any environment that is currently supported

adetabs added a commit to adetabs/trankit that referenced this pull request Feb 5, 2026
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.

1 participant