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
dynamo
Commits
f3868b1f
"docs/pages/vscode:/vscode.git/clone" did not exist on "97f795377b9d40687c10115ff55fe3d6b4e97ebd"
Unverified
Commit
f3868b1f
authored
Jul 30, 2025
by
Hongkuan Zhou
Committed by
GitHub
Jul 30, 2025
Browse files
fix: support config without resource limit for profile sla script (#2201)
parent
57482dcf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
benchmarks/profiler/utils/config.py
benchmarks/profiler/utils/config.py
+9
-3
No files found.
benchmarks/profiler/utils/config.py
View file @
f3868b1f
...
...
@@ -153,9 +153,15 @@ class VllmV1ConfigModifier:
config
[
"spec"
][
"services"
][
WORKER_COMPONENT_NAMES
[
"vllm"
].
decode_worker_k8s_name
][
"resources"
][
"requests"
][
"gpu"
]
=
str
(
tp_size
)
config
[
"spec"
][
"services"
][
WORKER_COMPONENT_NAMES
[
"vllm"
].
decode_worker_k8s_name
][
"resources"
][
"limits"
][
"gpu"
]
=
str
(
tp_size
)
if
(
"limits"
in
config
[
"spec"
][
"services"
][
WORKER_COMPONENT_NAMES
[
"vllm"
].
decode_worker_k8s_name
][
"resources"
]
):
config
[
"spec"
][
"services"
][
WORKER_COMPONENT_NAMES
[
"vllm"
].
decode_worker_k8s_name
][
"resources"
][
"limits"
][
"gpu"
]
=
str
(
tp_size
)
args
=
config
[
"spec"
][
"services"
][
WORKER_COMPONENT_NAMES
[
"vllm"
].
decode_worker_k8s_name
...
...
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