export SPLASH_API_KEY=xxx
splash serve \ --model local/llm \ --model-dir <path-to-model-dir> \ --draft-model <path-to-draft-model-dir> \ --disable-ane \ --language-only \ --host 0.0.0.0 \ --port 8000 \ --no-webui \ --api-key <your-api-key> \ --allowed-host <your-host> \ --persistent-cache
Default cache dir ~/Library/Caches/Splash/prefix-cache
https://github.com/incoai/splash/blob/main/docs/server.md
M5 Pro 64GB
# 60GB sudo sysctl iogpu.wired_limit_mb=61440 \ vm.global_user_wire_limit=64424509440 \ vm.user_wire_limit=64424509440
M5 Ultra 96GB
# 92GB sudo sysctl iogpu.wired_limit_mb=94208 \ vm.global_user_wire_limit=98784247808 \ vm.user_wire_limit=98784247808

Leave a Reply