Skip to content

Conversation

@NohTow
Copy link
Collaborator

@NohTow NohTow commented Oct 28, 2024

#68 fixed the local loading of Stanford models, but the issue is that the safe tensor is only created when uploaded to HF through the dedicated bot.
This PR changes the loading logic to rely on the pytorch_model.bin file that is always there both locally and remotely.
cc @jessiejuachon

@NohTow
Copy link
Collaborator Author

NohTow commented Oct 29, 2024

Tests failing are not related to the PR but to this.
We should either wait for ST to create the version with the merged fixes or set the version of transformers to pre-4.46.

@NohTow
Copy link
Collaborator Author

NohTow commented Nov 18, 2024

I updated the version of ST with the fixes and pinned the version of transformers to avoid future breaking changes.
We can now merge @raphaelsty.

@raphaelsty
Copy link
Collaborator

Amazing ! Go merge :D

@NohTow NohTow merged commit 11d2189 into main Nov 25, 2024
@NohTow NohTow deleted the stanford_loading_bin branch November 25, 2024 10:00
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