Skip to content

Commit

Permalink
Added triton utils.
Browse files Browse the repository at this point in the history
  • Loading branch information
TimDettmers committed Apr 12, 2023
1 parent 5b612bc commit 008dfff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bitsandbytes/triton/triton_utils.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import importlib

def is_triton_available():
return importlib.util.find_spec("triton") is not None

0 comments on commit 008dfff

Please sign in to comment.