mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2] Stuck at this point.. #2
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @XeonG on GitHub (Sep 25, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2
options were: 2,3,4,n
@XeonG commented on GitHub (Sep 25, 2026):
`"""tools/_paths.py - where the tools find llama.cpp's gguf-py (for the MTP packer and the fixtures).
Order: $STRATA_GGUF_PY, then /third_party/llama.cpp/gguf-py (what setup.py clones), then the development
tree's ../../.ref/llama.cpp/gguf-py.
"""
from future import annotations
import os
import sys
from pathlib import Path
ENGINE = Path(file).resolve().parents[1]
def gguf_py() -> str:
cands = [os.environ.get("STRATA_GGUF_PY"), ENGINE / "third_party" / "llama.cpp" / "gguf-py"]
if len(ENGINE.parents) > 1:
cands.append(ENGINE.parents[1] / ".ref" / "llama.cpp" / "gguf-py")
for c in cands:
if c and (Path(c) / "gguf").is_dir():
return str(c)
sys.exit("llama.cpp's gguf-py was not found: run setup.py (it clones llama.cpp into third_party/), "
"or set STRATA_GGUF_PY")
def add_gguf_py() -> None:
p = gguf_py()
if p not in sys.path:
sys.path.insert(0, p)
`
@XeonG commented on GitHub (Sep 25, 2026):
fixes it
layer_split: autovs forced splits on 0.1.39, with hit rates (follow-up to #604) #384--ple-io mmappicked automatically at boot can wedge the engine: "no progress for 60 s" at the prompt's first chunk (self-stop + restart) #788STRATA_ROUTE_PRIORdefault-on for ≤13 GiB cards) #1958