[ci] fix gh200 tests (#11919)

Signed-off-by: youkaichao <youkaichao@gmail.com>
This commit is contained in:
youkaichao 2025-01-10 16:25:17 +08:00 committed by GitHub
parent 61af633256
commit d53575a5f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,7 +29,9 @@ from vllm.utils import PlaceholderModule
try:
from runai_model_streamer import SafetensorsStreamer
except ImportError:
except (ImportError, OSError):
# see https://github.com/run-ai/runai-model-streamer/issues/26
# OSError will be raised on arm64 platform
runai_model_streamer = PlaceholderModule(
"runai_model_streamer") # type: ignore[assignment]
SafetensorsStreamer = runai_model_streamer.placeholder_attr(