Model: Cast penalty range to int
This commit is contained in:
parent
58c380b8ca
commit
0405a94a89
1 changed files with 1 additions and 1 deletions
|
|
@ -680,7 +680,7 @@ class ExllamaV3Container(BaseModelContainer):
|
|||
|
||||
# Exl3's version of including the entire context
|
||||
if penalty_range < 0:
|
||||
penalty_range = 10e7
|
||||
penalty_range = int(10e7)
|
||||
|
||||
# Always make sure the fallback is 0 if range < 0
|
||||
# It's technically fine to use -1, but this just validates the passed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue