mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 09:14:35 +02:00
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:
+1
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user