Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
feifeibear committed Dec 5, 2024
1 parent e3c7955 commit 667946d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xfuser/core/distributed/runtime_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,8 @@ def runtime_state_is_initialized():


def get_runtime_state():
assert _RUNTIME is not None, "Runtime state has not been initialized."
if _RUNTIME is None:
logger.warning("Runtime state has not been initialized.")
return _RUNTIME


Expand Down

0 comments on commit 667946d

Please sign in to comment.