Skip to content

Commit 8c488c0

Browse files
author
Ubuntu
committed
test 70 s3 upload
1 parent f9a629d commit 8c488c0

File tree

3 files changed

+27
-35
lines changed

3 files changed

+27
-35
lines changed

.github/workflows/benchmark_nightly_lmi.yml

+22-30
Original file line numberDiff line numberDiff line change
@@ -56,33 +56,25 @@ jobs:
5656
- name: Clean up weights
5757
run: |
5858
rm -rf /home/ubuntu/Llama-2-7b-chat-hf
59-
# - name: Save benchmark artifacts
60-
# uses: actions/upload-artifact@v2
61-
# with:
62-
# name: nightly ${{ matrix.hardware }} artifact
63-
# path: /tmp/ts_benchmark
64-
# - name: Download benchmark artifacts for auto validation
65-
# uses: dawidd6/action-download-artifact@v2
66-
# with:
67-
# workflow: ${{ github.event.workflow_run.workflow_id }}
68-
# workflow_conclusion: success
69-
# if_no_artifact_found: ignore
70-
# path: /tmp/ts_artifacts
71-
# name: ${{ matrix.hardware }}_benchmark_validation
72-
# - name: Validate Benchmark result
73-
# run: python benchmarks/validate_report.py --input-artifacts-dir /tmp/ts_artifacts/${{ matrix.hardware }}_benchmark_validation
74-
# - name: Update benchmark artifacts for auto validation
75-
# run: python benchmarks/utils/update_artifacts.py --output /tmp/ts_artifacts/${{ matrix.hardware }}_benchmark_validation
76-
# - name: Upload the updated benchmark artifacts for auto validation
77-
# uses: actions/upload-artifact@v2
78-
# with:
79-
# name: ${{ matrix.hardware }}_benchmark_validation
80-
# path: /tmp/ts_artifacts
81-
# - name: Open issue on failure
82-
# if: ${{ failure() && github.event_name == 'schedule' && matrix.hardware == 'cpu' }}
83-
# uses: dacbd/create-issue-action@v1
84-
# with:
85-
# token: ${{ secrets.GITHUB_TOKEN }}
86-
# title: Nightly ${{ matrix.hardware }} benchmark failed
87-
# body: Commit ${{ github.sha }} daily scheduled [CI run](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}) failed, please check why
88-
# assignees: ''
59+
- name: Save benchmark artifacts
60+
uses: actions/upload-artifact@v2
61+
with:
62+
name: nightly ${{ matrix.hardware }} artifact
63+
path: /tmp/ts_benchmark
64+
- name: Download benchmark artifacts for auto validation
65+
uses: dawidd6/action-download-artifact@v2
66+
with:
67+
workflow: ${{ github.event.workflow_run.workflow_id }}
68+
workflow_conclusion: success
69+
if_no_artifact_found: ignore
70+
path: /tmp/ts_artifacts
71+
name: ${{ matrix.hardware }}_benchmark_validation
72+
- name: Validate Benchmark result
73+
run: python benchmarks/validate_report.py --input-artifacts-dir /tmp/ts_artifacts/${{ matrix.hardware }}_benchmark_validation
74+
- name: Update benchmark artifacts for auto validation
75+
run: python benchmarks/utils/update_artifacts.py --output /tmp/ts_artifacts/${{ matrix.hardware }}_benchmark_validation
76+
- name: Upload the updated benchmark artifacts for auto validation
77+
uses: actions/upload-artifact@v2
78+
with:
79+
name: ${{ matrix.hardware }}_benchmark_validation
80+
path: /tmp/ts_artifacts

benchmarks/benchmark_config_lmi.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ ts_version:
99
# a list of model configure yaml files defined in benchmarks/models_config
1010
# or a list of model configure yaml files with full path
1111
models:
12-
- "llama-2-7b.yaml"
12+
#- "llama-2-7b.yaml"
1313
#- "llama-2-13b.yaml"
14-
#- "llama-2-70b.yaml"
14+
- "llama-2-70b.yaml"
1515

1616
# benchmark on "cpu" or "gpu".
1717
# "cpu" is set if "hardware" is not specified

benchmarks/models_config/llama-2-70b.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
22
llama-2-70b:
3-
eager-mode:
3+
int4:
44
benchmark_backend: "ab"
5-
url: https://torchserve.s3.amazonaws.com/mar_files/llama-2/llama-2-70b-int4.mar
5+
url: https://torchserve.s3.amazonaws.com/mar_files/llama-2/mar+files/llama-2-70b-int4-tp8.mar
66
workers:
77
- 1
88
batch_delay: 100
99
batch_size:
1010
- 1
1111
input: "./examples/large_models/gpt_fast/request.json"
12-
requests: 100
12+
requests: 1000
1313
concurrency: 1
1414
backend_profiling: False
1515
exec_env: "local"

0 commit comments

Comments
 (0)