bitsandbytes-rocm/bitsandbytes/triton/triton_utils.py

5 lines
103 B
Python
Raw Normal View History

2023-04-12 19:57:46 +00:00
import importlib
def is_triton_available():
return importlib.util.find_spec("triton") is not None