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
File size: 2,915 Bytes
10b39cc | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | #!/usr/bin/env python3
"""Fail closed if pinned official llama.cpp source content has changed."""
import argparse
import hashlib
import json
from pathlib import Path
import sys
REVISION = "8e5a58df87ab59dfceb5b961ae26691e39f30c24"
ARCHIVE_SHA256 = "f1205ecd56f64fdc012e0b5bcd38defa7aaccec3d82aaaed45001d7bd6e30de0"
MANIFEST_SHA256 = "d46f476654a4c50de0ce49f47dc8e283daa07991e709b01345d530249b40560d"
NATIVE_ROOTS = {"src", "include", "ggml", "vendor", "cmake", "common"}
BUILD_SUFFIXES = {".c", ".cc", ".cpp", ".cxx", ".h", ".hh", ".hpp", ".hxx", ".cu", ".cuh", ".m", ".mm", ".s", ".asm", ".cmake", ".in", ".inc", ".def", ".metal", ".comp"}
def digest_file(path):
digest = hashlib.sha256()
with path.open("rb") as source:
while chunk := source.read(1024 * 1024):
digest.update(chunk)
return digest.hexdigest()
def verify_tree(root, files):
"""Check all original bytes and reject extra potentially compiled build inputs."""
root = root.resolve()
for relative, expected in files.items():
path = root / relative
if path.is_symlink() or not path.is_file() or not path.resolve().is_relative_to(root):
raise ValueError(f"Pinned source missing, redirected, or not a regular file: {relative}")
if digest_file(path) != expected:
raise ValueError(f"Pinned source content changed: {relative}")
for path in root.rglob("*"):
relative = path.relative_to(root)
if ".git" in relative.parts or "__pycache__" in relative.parts:
continue
name = relative.as_posix()
relevant = (relative.parts[0] in NATIVE_ROOTS or path.name == "CMakeLists.txt" or
path.suffix.lower() in BUILD_SUFFIXES)
if name not in files and relevant and (path.is_file() or path.is_symlink()):
raise ValueError(f"Unpinned additional build input: {name}")
def verify(root):
manifest_path = Path(__file__).with_name("llama_source_manifest.json")
if digest_file(manifest_path) != MANIFEST_SHA256:
raise ValueError("Pinned source manifest checksum mismatch")
manifest = json.loads(manifest_path.read_text())
if manifest["revision"] != REVISION or manifest["archive_sha256"] != ARCHIVE_SHA256 or manifest.get("links"):
raise ValueError("Unsupported source manifest provenance")
verify_tree(root, manifest["files"])
return len(manifest["files"])
def main():
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument("source", type=Path)
args = parser.parse_args()
try:
count = verify(args.source)
except (OSError, ValueError, KeyError) as exc:
print(f"Source verification failed: {exc}", file=sys.stderr)
return 1
print(f"Verified {count} official source files at {REVISION}; no extra native build inputs")
return 0
if __name__ == "__main__":
raise SystemExit(main())
|