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