[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
e5aec0aa05
commit
e8e092caf6
2 changed files with 8 additions and 1 deletions
|
|
@ -774,6 +774,7 @@ def _recorded_studio_pids() -> "set[int]":
|
|||
pids.add(int(text))
|
||||
return pids
|
||||
|
||||
|
||||
# Direct backend launches bypass the CLI's env re-export; do it here for
|
||||
# real custom roots so unsloth-zoo's import-time LLAMA_CPP_DEFAULT_DIR
|
||||
# picks up the custom build. Skip legacy-default to avoid flipping
|
||||
|
|
|
|||
|
|
@ -26,7 +26,13 @@ def _studio():
|
|||
return _studio_mod
|
||||
|
||||
|
||||
def _install(monkeypatch, tmp_path, *, alive, killed = None):
|
||||
def _install(
|
||||
monkeypatch,
|
||||
tmp_path,
|
||||
*,
|
||||
alive,
|
||||
killed = None,
|
||||
):
|
||||
"""Point the CLI at tmp_path and fake process liveness."""
|
||||
studio_mod = _studio()
|
||||
monkeypatch.setattr(studio_mod, "STUDIO_HOME", tmp_path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue