[Bugfix][CPU] Fix macOS multimodal SHM cache initialization (#57142)

Signed-off-by: 子华 <huaxi.shx@alibaba-inc.com>
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
shaohuaxi
2026-09-18 09:05:13 +00:00
committed by GitHub
co-authored by Codex
parent 32636580a6
commit 67a8a3f926
2 changed files with 14 additions and 1 deletions
+5
View File
@@ -18,6 +18,11 @@ from vllm.envs import (
from vllm.exceptions import VLLMValidationError
def test_object_storage_shm_default_name():
"""The generated name must fit macOS's shared-memory name limit."""
assert len(envs._generate_shm_name()) <= 30
def test_getattr_without_cache(monkeypatch: pytest.MonkeyPatch):
assert envs.VLLM_HOST_IP == ""
assert envs.VLLM_PORT is None