Merge branch 'main' into patches

This commit is contained in:
2026-10-05 08:21:46 +00:00
23 changed files with 1102 additions and 247 deletions
+5 -1
View File
@@ -615,7 +615,10 @@ class Worker(WorkerBase):
if kv_cache_memory_bytes := self.cache_config.kv_cache_memory_bytes:
# still need a profile run which compiles the model for
# max_num_batched_tokens
self.model_runner.profile_run(randomize_inputs=self.randomize_dummy_inputs)
with set_current_vllm_config(self.vllm_config):
self.model_runner.profile_run(
randomize_inputs=self.randomize_dummy_inputs
)
msg = (
f"Initial free memory {format_gib(self.init_snapshot.free_memory)} "
@@ -651,6 +654,7 @@ class Worker(WorkerBase):
# limit are never split, so they stay releasable. Exits before
# memory_profiling measures, restoring the original limit.
self._scoped_allocator_max_split(max_split_size_mb=20),
set_current_vllm_config(self.vllm_config),
):
self.model_runner.profile_run(randomize_inputs=self.randomize_dummy_inputs)