-
Notifications
You must be signed in to change notification settings - Fork 227
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Safetensors parser] Support optional file path (#563)
### Before Safetensors parser was in assumption that safetensors files are strictly named `model.safetensors`, which is not the case always. ### This PR Support optional file names so that other names like `llama3.safetensors` would still work --------- Co-authored-by: Eliott C. <[email protected]> Co-authored-by: Julien Chaumond <[email protected]>
- Loading branch information
1 parent
cf98cd7
commit 3bd9297
Showing
2 changed files
with
43 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters