[CI/Bugfix] Fix empty vllm_omni stub breaking stage CLI imports after Docker cache (#5338) (#5341)

Signed-off-by: wangyu <410167048@qq.com>
This commit is contained in:
wangyu authored and GitHub committed 2026-07-23 14:15:52 +00:00
1 parent f72b38184b
commit e9a06d5bdc
2 files changed
+15 -15

No files matched your search

+4 -1
View File
@@ -638,7 +638,10 @@ class OmniServerStageCli(OmniServer):
proc = subprocess.Popen(
cmd,
env=env,
cwd=os.path.dirname(os.path.dirname(os.path.abspath(__file__))),
# Must be repo root (not tests/): after Docker deps-cache installs an empty
# vllm_omni stub into site-packages, cwd on sys.path[0] is what makes
# ``python -m vllm_omni.entrypoints...`` resolve the real package.
cwd=_omni_subprocess_cwd(),
stdout=log_fh,
stderr=subprocess.STDOUT,
)