fix(devices): triton version detection always reporting false

triton_version was initialized to False instead of None, causing
the `is None` checks to be skipped and torch_info to report triton=false
even when triton is functional
This commit is contained in:
CalamitousFelicitousness
2026-03-18 20:14:02 +00:00
parent fb2f9ea650
commit cb943919eb
+1 -1
View File
@@ -410,7 +410,7 @@ def test_triton(early: bool = False):
if debug:
from modules import errors
errors.display(e, 'Triton')
triton_version = False
triton_version = None
if triton_ok:
if triton_version is None:
try: