[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
4c8137a7af
commit
2f4f6ad23f
1 changed files with 0 additions and 1 deletions
|
|
@ -45,7 +45,6 @@ ALLOW_LOCAL_PREQUANT_PATH_ENV = "UNSLOTH_ALLOW_LOCAL_PREQUANT_PATH"
|
|||
def _local_prequant_path_allowed() -> bool:
|
||||
"""Whether a request-supplied local pre-quant *path* may be unpickled (operator opt-in)."""
|
||||
import os
|
||||
|
||||
return (os.environ.get(ALLOW_LOCAL_PREQUANT_PATH_ENV) or "").strip().lower() in {
|
||||
"1",
|
||||
"true",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue