fix: fix triton OutOfResources import

This commit is contained in:
OlivierDehaene 2023-12-14 16:04:26 +01:00 committed by Karol Damaszke
parent 5c9ef069ed
commit 28fcdcca6d

View File

@ -90,7 +90,7 @@ class Autotuner(triton.KernelInterface):
return triton.testing.do_bench(
kernel_call, percentiles=(0.5, 0.2, 0.8), rep=40
)
except triton.compiler.OutOfResources:
except triton.OutOfResources:
return (float("inf"), float("inf"), float("inf"))
def run(self, *args, **kwargs):