Skip to content

Commit

Permalink
[misc] add start loading models for users information (#6670)
Browse files Browse the repository at this point in the history
  • Loading branch information
youkaichao authored Jul 23, 2024
1 parent 729171a commit 7c2749a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vllm/worker/model_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,7 @@ def __init__(
int(self.cache_config.cpu_offload_gb * 1024**3))

def load_model(self) -> None:
logger.info("Starting to load model %s...", self.model_config.model)
with CudaMemoryProfiler() as m:
self.model = get_model(model_config=self.model_config,
device_config=self.device_config,
Expand Down

0 comments on commit 7c2749a

Please sign in to comment.