Skip to content

Fix compatibility with newer torch/transformers#97

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

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

Conversation

@looi
Copy link
Copy Markdown

@looi looi commented Oct 2, 2025

  • 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

jobatabs added a commit to jobatabs/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