Instructions to use Agentware/GLiDE-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Agentware/GLiDE-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Agentware/GLiDE-GGUF:BF16 # Run inference directly in the terminal: llama cli -hf Agentware/GLiDE-GGUF:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Agentware/GLiDE-GGUF:BF16 # Run inference directly in the terminal: llama cli -hf Agentware/GLiDE-GGUF:BF16
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf Agentware/GLiDE-GGUF:BF16 # Run inference directly in the terminal: ./build/bin/llama cli -hf Agentware/GLiDE-GGUF:BF16
Use Docker
docker model run hf.co/Agentware/GLiDE-GGUF:BF16
- Llama new
- LM Studio
- Jan
- Ollama
How to use Agentware/GLiDE-GGUF with Ollama:
ollama run hf.co/Agentware/GLiDE-GGUF:BF16
- Unsloth Desktop
- Docker Model Runner
How to use Agentware/GLiDE-GGUF with Docker Model Runner:
docker model run hf.co/Agentware/GLiDE-GGUF:BF16
- Lemonade
How to use Agentware/GLiDE-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Agentware/GLiDE-GGUF:BF16
Run and chat with the model
lemonade run user.GLiDE-GGUF-BF16
List all available models
lemonade list
- Atomic Chat
Download native/runtime/fetch_llama.py from Agentware/GLiDE-GGUF: direct link, hf CLI and curl.
- Browser
- Download file 1.95 kB
-
https://huggingface.co/Agentware/GLiDE-GGUF/resolve/main/native/runtime/fetch_llama.py
- Command line
-
hf download hf://Agentware/GLiDE-GGUF/native/runtime/fetch_llama.py
-
curl -L -o fetch_llama.py https://huggingface.co/Agentware/GLiDE-GGUF/resolve/main/native/runtime/fetch_llama.py
1.95 kB
| #!/usr/bin/env python3 | |
| """Download and hash-check the exact official llama.cpp source used by this runtime.""" | |
| import argparse | |
| import hashlib | |
| from pathlib import Path | |
| import tarfile | |
| import tempfile | |
| import urllib.request | |
| REVISION = "8e5a58df87ab59dfceb5b961ae26691e39f30c24" | |
| SHA256 = "f1205ecd56f64fdc012e0b5bcd38defa7aaccec3d82aaaed45001d7bd6e30de0" | |
| URL = f"https://codeload.github.com/ggml-org/llama.cpp/tar.gz/{REVISION}" | |
| def main(): | |
| parser = argparse.ArgumentParser(description=__doc__) | |
| parser.add_argument("destination", nargs="?", type=Path, default=Path(__file__).resolve().parent.parent / "llama.cpp") | |
| args = parser.parse_args() | |
| destination = args.destination.resolve() | |
| if destination.exists(): | |
| parser.error(f"Destination already exists; will not replace it: {destination}") | |
| destination.parent.mkdir(parents=True, exist_ok=True) | |
| with tempfile.TemporaryDirectory(prefix="glide-source-", dir=destination.parent) as temporary: | |
| temporary = Path(temporary) | |
| archive = temporary / "source.tar.gz" | |
| digest = hashlib.sha256() | |
| with urllib.request.urlopen(URL, timeout=120) as response, archive.open("wb") as output: | |
| while chunk := response.read(1024 * 1024): | |
| digest.update(chunk) | |
| output.write(chunk) | |
| if digest.hexdigest() != SHA256: | |
| raise RuntimeError("Official source archive SHA-256 mismatch; refusing extraction") | |
| with tarfile.open(archive) as source: | |
| # Python 3.12+ data filter rejects traversal, external links, and device files. | |
| source.extractall(temporary, filter="data") | |
| extracted = temporary / f"llama.cpp-{REVISION}" | |
| (extracted / "PINNED_REVISION").write_text(REVISION + "\n") | |
| extracted.rename(destination) | |
| print(f"Verified official source: {destination}\nRevision: {REVISION}\nArchive SHA-256: {SHA256}") | |
| if __name__ == "__main__": | |
| main() | |