Skip to content

Commit 773aabd

Browse files
fix: fix triton OutOfResources import
1 parent 50b495f commit 773aabd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/text_generation_server/utils/gptq/custom_autotune.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def kernel_call():
9090
return triton.testing.do_bench(
9191
kernel_call, percentiles=(0.5, 0.2, 0.8), rep=40
9292
)
93-
except triton.compiler.OutOfResources:
93+
except triton.OutOfResources:
9494
return (float("inf"), float("inf"), float("inf"))
9595

9696
def run(self, *args, **kwargs):

0 commit comments

Comments
 (0)