-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor reqirements handling and model archive creation for TS MME e…
…xample (#4517) * Refactor reqirements handling and model archive creation * Update dependencies * Update source for downloading pretrained lama model * black-nb linting * Update model custom requirements and use Torchserve nightly * Set torchserve version to 0.10.0 --------- Co-authored-by: Naman Nandan <namannan@amazon.com>
- Loading branch information
1 parent
cc112d5
commit a1af277
Showing
9 changed files
with
45 additions
and
66 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
22 changes: 0 additions & 22 deletions
22
inference/torchserve/mme-gpu/workspace/code/requirements.txt
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -3,3 +3,4 @@ maxWorkers: 1 | |
batchSize: 1 | ||
maxBatchDelay: 200 | ||
responseTimeout: 300 | ||
useVenv: true |
19 changes: 19 additions & 0 deletions
19
inference/torchserve/mme-gpu/workspace/lama/requirements.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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
pyyaml | ||
tqdm | ||
numpy | ||
easydict | ||
scikit-image | ||
scikit-learn | ||
opencv-python | ||
tensorflow | ||
joblib | ||
matplotlib | ||
pandas | ||
albumentations==0.5.2 | ||
hydra-core | ||
pytorch-lightning | ||
tabulate | ||
kornia==0.5.0 | ||
webdataset | ||
packaging | ||
timm |
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 |
---|---|---|
|
@@ -3,3 +3,4 @@ maxWorkers: 1 | |
batchSize: 1 | ||
maxBatchDelay: 200 | ||
responseTimeout: 300 | ||
useVenv: true |
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,3 @@ | ||
segment-anything-py==1.0 | ||
opencv-python-headless==4.7.0.68 | ||
matplotlib==3.6.3 |
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 |
---|---|---|
|
@@ -3,3 +3,4 @@ maxWorkers: 1 | |
batchSize: 1 | ||
maxBatchDelay: 200 | ||
responseTimeout: 300 | ||
useVenv: true |
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,8 @@ | ||
--extra-index-url https://download.pytorch.org/whl/cu118 | ||
transformers | ||
ftfy | ||
scipy | ||
accelerate | ||
diffusers==0.13.0 | ||
opencv-python-headless==4.7.0.68 | ||
xformers==0.0.23+cu118 |