First commit
This commit is contained in:
11
vllm/triton_utils/importing.py
Normal file
11
vllm/triton_utils/importing.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from importlib.util import find_spec
|
||||
|
||||
from vllm.logger import init_logger
|
||||
|
||||
logger = init_logger(__name__)
|
||||
|
||||
HAS_TRITON = False
|
||||
|
||||
if not HAS_TRITON:
|
||||
logger.info("Triton not installed; certain GPU-related functions"
|
||||
" will not be available.")
|
||||
Reference in New Issue
Block a user