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/verify_llama_source.py from Agentware/GLiDE-GGUF: direct link, hf CLI and curl.
- Browser
- Download file 2.92 kB
-
https://huggingface.co/Agentware/GLiDE-GGUF/resolve/main/native/runtime/verify_llama_source.py
- Command line
-
hf download hf://Agentware/GLiDE-GGUF/native/runtime/verify_llama_source.py
-
curl -L -o verify_llama_source.py https://huggingface.co/Agentware/GLiDE-GGUF/resolve/main/native/runtime/verify_llama_source.py
2.92 kB
| #!/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()) | |