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
20f1c5a3
Unverified
Commit
20f1c5a3
authored
Mar 13, 2026
by
hhzhang16
Committed by
GitHub
Mar 13, 2026
Browse files
fix: inject tolerations for interpolation (profiling) (#7344)
Signed-off-by:
Hannah Zhang
<
hannahz@nvidia.com
>
parent
23c42d83
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
components/src/dynamo/profiler/interpolation.py
components/src/dynamo/profiler/interpolation.py
+9
-1
components/src/dynamo/profiler/profile_sla.py
components/src/dynamo/profiler/profile_sla.py
+1
-0
No files found.
components/src/dynamo/profiler/interpolation.py
View file @
20f1c5a3
...
...
@@ -31,7 +31,10 @@ from dynamo.profiler.utils.config_modifiers.parallelization_mapping import (
from
dynamo.profiler.utils.defaults
import
EngineType
from
dynamo.profiler.utils.dgdr_v1beta1_types
import
DynamoGraphDeploymentRequestSpec
from
dynamo.profiler.utils.estimate_perf
import
AIConfiguratorPerfEstimator
from
dynamo.profiler.utils.profile_common
import
ProfilerOperationalConfig
from
dynamo.profiler.utils.profile_common
import
(
ProfilerOperationalConfig
,
inject_tolerations_into_dgd
,
)
from
dynamo.profiler.utils.profile_decode
import
(
profile_decode
,
profile_decode_aiconfigurator
,
...
...
@@ -57,6 +60,7 @@ async def run_interpolation(
osl
:
int
,
sweep_max_context_length
:
int
,
deployment_clients
:
list
[
DynamoDeploymentClient
],
job_tolerations
:
list
|
None
=
None
,
)
->
None
:
"""Generate interpolation curves for the planner based on sweep mode.
...
...
@@ -84,6 +88,8 @@ async def run_interpolation(
# --- Prefill interpolation ---
prefill_config
=
config_modifier
.
convert_config
(
disagg_config
,
EngineType
.
PREFILL
)
if
job_tolerations
:
prefill_config
=
inject_tolerations_into_dgd
(
prefill_config
,
job_tolerations
)
work_dir
=
f
"
{
ops
.
output_dir
}
/selected_prefill_interpolation"
os
.
makedirs
(
work_dir
,
exist_ok
=
True
)
...
...
@@ -146,6 +152,8 @@ async def run_interpolation(
# --- Decode interpolation ---
decode_config
=
config_modifier
.
convert_config
(
disagg_config
,
EngineType
.
DECODE
)
if
job_tolerations
:
decode_config
=
inject_tolerations_into_dgd
(
decode_config
,
job_tolerations
)
work_dir
=
f
"
{
ops
.
output_dir
}
/selected_decode_interpolation"
os
.
makedirs
(
work_dir
,
exist_ok
=
True
)
...
...
components/src/dynamo/profiler/profile_sla.py
View file @
20f1c5a3
...
...
@@ -390,6 +390,7 @@ async def run_profile(
osl
,
sweep_max_context_length
,
deployment_clients
,
job_tolerations
=
job_tolerations
,
)
# ---------------------------------------------------------------
...
...
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