RAM_Altman_GPT / src /llama_setup.py
brunuu's picture
1.0
7de15fc verified
Raw History Blame Contribute Delete
377 Bytes
import subprocess
import sys
from config import PROJECT_ROOT
LLAMA = PROJECT_ROOT / "llama.cpp"
if not LLAMA.exists():
subprocess.run(["git", "clone", "--depth", "1", "https://github.com/ggml-org/llama.cpp", str(LLAMA)], check=True)
sys.path.insert(0, str(LLAMA))
import convert_hf_to_gguf
from conversion import TextModel
__all__ = ["convert_hf_to_gguf", "TextModel"]