Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
fb4f530b
Unverified
Commit
fb4f530b
authored
Jul 30, 2024
by
Cade Daniel
Committed by
GitHub
Jul 30, 2024
Browse files
[CI] [nightly benchmark] Do not re-download sharegpt dataset if exists (#6706)
parent
79319ced
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
.buildkite/nightly-benchmarks/run-benchmarks-suite.sh
.buildkite/nightly-benchmarks/run-benchmarks-suite.sh
+10
-1
No files found.
.buildkite/nightly-benchmarks/run-benchmarks-suite.sh
View file @
fb4f530b
...
@@ -34,6 +34,15 @@ check_hf_token() {
...
@@ -34,6 +34,15 @@ check_hf_token() {
fi
fi
}
}
ensure_sharegpt_downloaded
()
{
local
FILE
=
ShareGPT_V3_unfiltered_cleaned_split.json
if
[
!
-f
"
$FILE
"
]
;
then
wget https://huggingface.co/datasets/anon8231489123/ShareGPT_Vicuna_unfiltered/resolve/main/
$FILE
else
echo
"
$FILE
already exists."
fi
}
json2args
()
{
json2args
()
{
# transforms the JSON string to command line args, and '_' is replaced to '-'
# transforms the JSON string to command line args, and '_' is replaced to '-'
# example:
# example:
...
@@ -350,7 +359,7 @@ main() {
...
@@ -350,7 +359,7 @@ main() {
# prepare for benchmarking
# prepare for benchmarking
cd
benchmarks
||
exit
1
cd
benchmarks
||
exit
1
wget https://huggingface.co/datasets/anon8231489123/ShareGPT_Vicuna_unfiltered/resolve/main/ShareGPT_V3_unfiltered_cleaned_split.json
ensure_sharegpt_downloaded
declare
-g
RESULTS_FOLDER
=
results/
declare
-g
RESULTS_FOLDER
=
results/
mkdir
-p
$RESULTS_FOLDER
mkdir
-p
$RESULTS_FOLDER
QUICK_BENCHMARK_ROOT
=
../.buildkite/nightly-benchmarks/
QUICK_BENCHMARK_ROOT
=
../.buildkite/nightly-benchmarks/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment