Model: Exl3 cache quant settings lenient with whitespace
This commit is contained in:
parent
68a660bdb3
commit
58e34ba4c5
2 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ from typing import List, Literal, Optional, Union
|
|||
|
||||
|
||||
CACHE_SIZES = Literal["FP16", "Q8", "Q6", "Q4"]
|
||||
CACHE_TYPE = Union[CACHE_SIZES, constr(pattern=r"^[2-8],[2-8]$")]
|
||||
CACHE_TYPE = Union[CACHE_SIZES, constr(pattern=r"^[2-8]\s*,\s*[2-8]$")]
|
||||
|
||||
|
||||
class Metadata(BaseModel):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue