From cb943919ebee2498a89c2a4159748d9fe9cf8462 Mon Sep 17 00:00:00 2001 From: CalamitousFelicitousness Date: Wed, 18 Mar 2026 20:14:02 +0000 Subject: [PATCH] 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 --- modules/devices.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/devices.py b/modules/devices.py index e85d93218..4e0d63722 100644 --- a/modules/devices.py +++ b/modules/devices.py @@ -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: