File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 11import os
22
3+ # The environment variables override should be imported before any other
4+ # modules to ensure that the environment variables are set before any
5+ # other modules are imported.
6+ import tpu_inference .env_override # noqa: F401
37from tpu_inference import tpu_info as ti
48from tpu_inference .logger import init_logger
59
Original file line number Diff line number Diff line change 1+ # SPDX-License-Identifier: Apache-2.0
2+ # SPDX-FileCopyrightText: Copyright contributors to the tpu-inference project
3+
4+ import os
5+
6+ # Disable CUDA-specific shared experts stream for TPU
7+ # This prevents errors when trying to create CUDA streams on TPU hardware
8+ # The issue was introduced by vllm-project/vllm#26440
9+ os .environ ["VLLM_DISABLE_SHARED_EXPERTS_STREAM" ] = "1"
You can’t perform that action at this time.
0 commit comments