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: 1,188 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 | """Tests that do not require model weights. Every process has an outer timeout."""
import json
from pathlib import Path
import subprocess
import sys
import tempfile
binary = sys.argv[1]
def invoke(*args):
return subprocess.run([binary, *args], text=True, capture_output=True, timeout=10)
for args in [[], ["--bad"], ["--model"], ["--model", "x", "--ctx-size", "0"],
["--model", "x", "--ctx-size", "1.2"], ["--model", "x", "--threads", "-1"],
["--model", "x", "--timeout-ms", "0"], ["--model", "x", "--model", "y"]]:
result = invoke(*args)
assert result.returncode == 2 and not result.stdout, (args, result)
assert json.loads(result.stderr.splitlines()[-1])["code"] == "invalid_argument"
assert invoke("--help").returncode == 0
assert "8e5a58df87ab59dfceb5b961ae26691e39f30c24" in invoke("--version").stdout
with tempfile.TemporaryDirectory() as temp:
path = Path(temp) / "bad.gguf"
path.write_bytes(b"not a GGUF file")
result = invoke("--model", str(path))
assert result.returncode == 2 and not result.stdout
assert json.loads(result.stderr.splitlines()[-1])["code"] == "model_open_failed"
print("11 CLI scenarios passed")
|