[Core] Session state manager for AR-diffusion world models (RFC #4480 Phase 0) (#4487)

Signed-off-by: Wijnand Suijlen <wijnand.suijlen@huawei.com>
This commit is contained in:
wjsuijlenh authored and GitHub committed 2026-07-27 13:17:38 +08:00
1 parent 9f3a73df17
commit 1f01d05603
16 files changed
+1859 -17

No files matched your search

+7
View File
@@ -625,6 +625,13 @@ class OmniDiffusionConfig:
enable_prompt_embed_cache: bool = False
prompt_embed_cache_size: int = 32
# Opt-in: route per-session world-model state through the shared
# SessionStateManager (RFC #4480) instead of the model's bespoke cache.
# Default off; the bespoke path remains the default. A *set*
# OMNI_DIFFUSION_SESSION_STATE_MANAGER environment variable overrides this
# in both directions. See docs/features/session_state_manager.md.
enable_session_state_manager: bool = False
# Distributed executor backend
distributed_executor_backend: str = "mp"
nccl_port: int | None = None