-
Notifications
You must be signed in to change notification settings - Fork 859
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable opt-6.7b benchmark on inf2 (#2400)
* Enable opt-6.7b benchmark on inf2 * Add support for inf2 dependency handling * update benchmark requests and concurrency --------- Co-authored-by: Naman Nandan <[email protected]>
- Loading branch information
1 parent
2551a99
commit b260776
Showing
6 changed files
with
104 additions
and
0 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,68 @@ | ||
--- | ||
opt_6.7b_neuronx_batch_1: | ||
scripted_mode: | ||
benchmark_engine: "ab" | ||
url: https://torchserve.pytorch.org/mar_files/opt_6.7b_neuronx_batch_1.tar.gz | ||
workers: | ||
- 1 | ||
batch_delay: 100 | ||
batch_size: | ||
- 1 | ||
input: "./examples/large_models/inferentia2/sample_text.txt" | ||
requests: 2000 | ||
concurrency: 10 | ||
backend_profiling: False | ||
exec_env: "local" | ||
processors: | ||
- "neuronx" | ||
|
||
opt_6.7b_neuronx_batch_2: | ||
scripted_mode: | ||
benchmark_engine: "ab" | ||
url: https://torchserve.pytorch.org/mar_files/opt_6.7b_neuronx_batch_2.tar.gz | ||
workers: | ||
- 1 | ||
batch_delay: 100 | ||
batch_size: | ||
- 2 | ||
input: "./examples/large_models/inferentia2/sample_text.txt" | ||
requests: 2000 | ||
concurrency: 10 | ||
backend_profiling: False | ||
exec_env: "local" | ||
processors: | ||
- "neuronx" | ||
|
||
opt_6.7b_neuronx_batch_4: | ||
scripted_mode: | ||
benchmark_engine: "ab" | ||
url: https://torchserve.pytorch.org/mar_files/opt_6.7b_neuronx_batch_4.tar.gz | ||
workers: | ||
- 1 | ||
batch_delay: 100 | ||
batch_size: | ||
- 4 | ||
input: "./examples/large_models/inferentia2/sample_text.txt" | ||
requests: 2000 | ||
concurrency: 10 | ||
backend_profiling: False | ||
exec_env: "local" | ||
processors: | ||
- "neuronx" | ||
|
||
opt_6.7b_neuronx_batch_8: | ||
scripted_mode: | ||
benchmark_engine: "ab" | ||
url: https://torchserve.pytorch.org/mar_files/opt_6.7b_neuronx_batch_8.tar.gz | ||
workers: | ||
- 1 | ||
batch_delay: 100 | ||
batch_size: | ||
- 8 | ||
input: "./examples/large_models/inferentia2/sample_text.txt" | ||
requests: 2000 | ||
concurrency: 10 | ||
backend_profiling: False | ||
exec_env: "local" | ||
processors: | ||
- "neuronx" |
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,7 @@ | ||
--extra-index-url https://pip.repos.neuron.amazonaws.com | ||
numpy==1.21.6 | ||
protobuf==3.20.3 | ||
grpcio-tools==1.48.2 | ||
neuronx-cc | ||
torch-neuronx | ||
transformers-neuronx |
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,7 @@ | ||
--extra-index-url https://download.pytorch.org/whl/cpu | ||
-r torch_common.txt | ||
torch==1.13.1+cpu | ||
torchvision==0.14.1+cpu | ||
torchtext==0.14.1 | ||
torchaudio==0.13.1+cpu | ||
torchdata==0.5.1 |
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