Skip to content

Commit da9b82a

Browse files
JimHsiungyq33victor
authored andcommitted
bugfix: create ProfileManager when disaggregated pd is enabled.
1 parent 7d31b4c commit da9b82a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xllm/core/scheduler/continuous_scheduler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ ContinuousScheduler::ContinuousScheduler(Engine* engine, const Options& options)
5454
last_batch_.resize(options_.dp_size());
5555

5656
if (options.enable_profile_token_budget() ||
57-
options.enable_latency_aware_schedule()) {
57+
options.enable_latency_aware_schedule() || options.enable_disagg_pd()) {
5858
ProfileManager::Options profile_manager_options;
5959
profile_manager_options.dp_size(options.dp_size())
6060
.enable_schedule_overlap(options.enable_schedule_overlap())

0 commit comments

Comments
 (0)