Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
text-generation-inference
Commits
773aabdd
Commit
773aabdd
authored
Dec 14, 2023
by
OlivierDehaene
Browse files
fix: fix triton OutOfResources import
parent
50b495f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
server/text_generation_server/utils/gptq/custom_autotune.py
server/text_generation_server/utils/gptq/custom_autotune.py
+1
-1
No files found.
server/text_generation_server/utils/gptq/custom_autotune.py
View file @
773aabdd
...
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment