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
5478c4b4
Unverified
Commit
5478c4b4
authored
Sep 16, 2024
by
Simon Mo
Committed by
GitHub
Sep 16, 2024
Browse files
[perf bench] set timeout to debug hanging (#8516)
parent
47f5e03b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
.buildkite/nightly-benchmarks/benchmark-pipeline.yaml
.buildkite/nightly-benchmarks/benchmark-pipeline.yaml
+1
-2
.buildkite/nightly-benchmarks/scripts/wait-for-image.sh
.buildkite/nightly-benchmarks/scripts/wait-for-image.sh
+3
-1
No files found.
.buildkite/nightly-benchmarks/benchmark-pipeline.yaml
View file @
5478c4b4
...
@@ -8,8 +8,7 @@ steps:
...
@@ -8,8 +8,7 @@ steps:
containers
:
containers
:
-
image
:
badouralix/curl-jq
-
image
:
badouralix/curl-jq
command
:
command
:
-
sh
-
sh .buildkite/nightly-benchmarks/scripts/wait-for-image.sh
-
.buildkite/nightly-benchmarks/scripts/wait-for-image.sh
-
wait
-
wait
-
label
:
"
A100"
-
label
:
"
A100"
agents
:
agents
:
...
...
.buildkite/nightly-benchmarks/scripts/wait-for-image.sh
View file @
5478c4b4
...
@@ -2,9 +2,11 @@
...
@@ -2,9 +2,11 @@
TOKEN
=
$(
curl
-s
-L
"https://public.ecr.aws/token?service=public.ecr.aws&scope=repository:q9t5s3a7/vllm-ci-test-repo:pull"
| jq
-r
.token
)
TOKEN
=
$(
curl
-s
-L
"https://public.ecr.aws/token?service=public.ecr.aws&scope=repository:q9t5s3a7/vllm-ci-test-repo:pull"
| jq
-r
.token
)
URL
=
"https://public.ecr.aws/v2/q9t5s3a7/vllm-ci-test-repo/manifests/
$BUILDKITE_COMMIT
"
URL
=
"https://public.ecr.aws/v2/q9t5s3a7/vllm-ci-test-repo/manifests/
$BUILDKITE_COMMIT
"
TIMEOUT_SECONDS
=
10
retries
=
0
retries
=
0
while
[
$retries
-lt
1000
]
;
do
while
[
$retries
-lt
1000
]
;
do
if
[
$(
curl
-s
-L
-H
"Authorization: Bearer
$TOKEN
"
-o
/dev/null
-w
"%{http_code}"
$URL
)
-eq
200
]
;
then
if
[
$(
curl
-s
--max-time
$TIMEOUT_SECONDS
-L
-H
"Authorization: Bearer
$TOKEN
"
-o
/dev/null
-w
"%{http_code}"
$URL
)
-eq
200
]
;
then
exit
0
exit
0
fi
fi
...
...
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