Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion components/src/dynamo/vllm/snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

import gc
import logging
import os
from collections.abc import Callable

from dynamo.common.snapshot.lifecycle import (
Expand Down Expand Up @@ -46,6 +47,7 @@ async def prepare_snapshot_engine(
pause_args=(None,),
)
if not await snapshot_controller.wait_for_restore():
raise SystemExit(0)
logger.info("vLLM snapshot captured successfully")
os._exit(0)

return snapshot_controller
Loading