curl -fsSL https://ollama.com/install.sh| sh
ollama run llama3.1:405b-instruct-fp16
/set parameter num_thread 64
curl http://localhost:11434/api/generate -d '{"model": "llama3.1:405b-instruct-fp16", "keep_alive": -1}'
curl http://localhost:11434/api/generate -d '{
"model": "llama3.1:405b-instruct-fp16",
Closing with token auth with Caddy
#TODO: try this config: https://caddy.community/t/how-to-verify-header-for-getting-successful-response/13066/3
llama.example.com debug {
import logging llama.example.com
header Authorization "Bearer <your-api-token>"
header User-Agent ollama-python*
respond @no_api_token "Nop!" 402 {
reverse_proxy 127.0.0.1:11434 {
header_up Host localhost:11434