Skip to content

Commit

Permalink
Making safetensors a core dependency. (huggingface#23254)
Browse files Browse the repository at this point in the history
* Making `safetensors` a core dependency.

To be merged later, I'm creating the PR so we can try it out.

* Update setup.py

* Remove duplicates.

* Even more redundant.
  • Loading branch information
Narsil authored and gojiteji committed Jun 5, 2023
1 parent 416efde commit d2f958e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,6 @@ def run(self):
"protobuf", # Can be removed once we can unpin protobuf
"sacremoses",
"rjieba",
"safetensors",
"beautifulsoup4",
)
+ extras["retrieval"]
Expand Down Expand Up @@ -425,6 +424,7 @@ def run(self):
deps["regex"], # for OpenAI GPT
deps["requests"], # for downloading models over HTTPS
deps["tokenizers"],
deps["safetensors"],
deps["tqdm"], # progress bars in model download and training scripts
]

Expand Down

0 comments on commit d2f958e

Please sign in to comment.