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

Update to transformers 4.32 #561

Merged
merged 14 commits into from
Sep 7, 2023
Merged

Update to transformers 4.32 #561

merged 14 commits into from
Sep 7, 2023

Conversation

dakinggg
Copy link
Collaborator

@dakinggg dakinggg commented Aug 26, 2023

transformers version 4.32 added MPT code to transformers that is also registered under mpt. This means that if you specify trust_remote_code=True, you get the MosaicML code, while if you specify trust_remote_code=False, you get the transformers code. The two are not the same. This PR patches the registered config for MPT to point to the code in LLM foundry, and adds an error if you try to use MPT with trust_remote_code=False.

@dakinggg dakinggg marked this pull request as ready for review August 29, 2023 21:52
@dakinggg dakinggg marked this pull request as draft August 29, 2023 21:53
@dakinggg dakinggg marked this pull request as ready for review September 2, 2023 03:14
@dakinggg dakinggg enabled auto-merge (squash) September 7, 2023 20:11
@dakinggg dakinggg merged commit a2a1b14 into mosaicml:main Sep 7, 2023
8 checks passed
@dakinggg dakinggg deleted the tr32 branch September 9, 2023 22:50
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