Skip to content

Commit 40f7163

Browse files
authored
[gluon] fix lint (#7246)
I think triton-lang/triton#7215 experienced some weird lint issue where it passed locally (and again in CI?) but failed after an automatic merge into main, not sure what happened. https://github.com/triton-lang/triton/actions/runs/15734903332/job/44445442478
1 parent aaa3d82 commit 40f7163

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python/test/gluon/test_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import torch
22
import pytest
33

4-
from triton._internal_testing import is_ampere_or_newer, is_hopper_or_newer
4+
from triton._internal_testing import is_cuda, is_ampere_or_newer, is_hopper_or_newer
55
from triton.experimental import gluon
66
from triton.experimental.gluon import language as ttgl
77
from triton.experimental.gluon.language.nvidia.ampere import async_copy, mbarrier

python/test/gluon/test_frontend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from triton.experimental.gluon.nvidia.hopper import TensorDescriptor
1313
from triton._filecheck import filecheck_test, run_parser
1414
import triton.language as tl
15-
from triton._internal_testing import is_ampere_or_newer, is_blackwell, is_hopper_or_newer
15+
from triton._internal_testing import is_cuda, is_ampere_or_newer, is_blackwell, is_hopper_or_newer
1616
from triton.compiler.errors import CompilationError, CompileTimeAssertionFailure
1717

1818
TARGET_PAT = re.compile('ttg.target = "[^"]*"')

0 commit comments

Comments
 (0)