[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
1b4abe7a4e
commit
975e36f888
1 changed files with 3 additions and 0 deletions
|
|
@ -130,11 +130,14 @@ ALLOWED_QUANTS = {
|
|||
"q3_k_xs": "3-bit extra small quantization",
|
||||
}
|
||||
|
||||
|
||||
def has_curl():
|
||||
return shutil.which("curl") is not None
|
||||
|
||||
|
||||
CURL_FLAG = "-DLLAMA_CURL=ON" if has_curl() else "-DLLAMA_CURL=OFF"
|
||||
|
||||
|
||||
def print_quantization_methods():
|
||||
for key, value in ALLOWED_QUANTS.items():
|
||||
print(f'"{key}" ==> {value}')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue