-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moves dependencies defined in the root `requirements.txt` to `sharktank/` and splits out test only deps to `requirements-tests.txt` file. Dependencies only used for development / in the CI are moved to `requirements-dev.txt` and the root requirements file is now used to trampoline to pull in all the deps. Furthermore, some no longer used dependencies are removed.
- Loading branch information
Showing
7 changed files
with
36 additions
and
36 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Used for managing pre-commit flows. | ||
pre-commit | ||
|
||
# Type checking | ||
mypy==1.8.0 | ||
types-requests==2.31.0.20240125 | ||
|
||
# Testing | ||
pytest==8.0.0 | ||
pytest-xdist==3.5.0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,4 @@ | ||
# Runtime deps. | ||
gguf==0.6.0 | ||
numpy==1.26.3 | ||
onnx==1.15.0 | ||
|
||
# Model deps. | ||
huggingface-hub==0.22.2 | ||
transformers==4.40.0 | ||
sentencepiece==0.2.0 | ||
|
||
# It is expected that you have installed a PyTorch version/variant specific | ||
# to your needs, so we only include a minimum version spec. | ||
# TODO: Use a versioned release once 2.3.0 drops. | ||
torch>=2.3.0.dev1 | ||
|
||
# Used for managing pre-commit flows. | ||
pre-commit | ||
|
||
# Type checking | ||
mypy==1.8.0 | ||
types-requests==2.31.0.20240125 | ||
|
||
# Testing | ||
parameterized | ||
pytest==8.0.0 | ||
pytest-xdist==3.5.0 | ||
|
||
# Serving deps. | ||
fastapi==0.112.2 | ||
uvicorn==0.30.6 | ||
-r sharktank/requirements.txt | ||
-r sharktank/requirements-tests.txt | ||
-r shortfin/requirements-tests.txt | ||
-r requirements-dev.txt |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
datasets==3.0.0 | ||
parameterized | ||
pytest==8.0.0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,16 @@ | ||
gguf | ||
# Runtime deps. | ||
gguf==0.6.0 | ||
numpy==1.26.3 | ||
|
||
# Model deps. | ||
huggingface-hub==0.22.2 | ||
transformers==4.40.0 | ||
datasets | ||
|
||
# It is expected that you have installed a PyTorch version/variant specific | ||
# to your needs, so we only include a minimum version spec. | ||
torch>=2.3.0 | ||
|
||
# Serving deps. | ||
fastapi==0.112.2 | ||
uvicorn==0.30.6 |
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