FreeToken (FlashML-org/FreeToken) serves mixture-of-experts models several times a card's size from one card, experts in RAM, from Hugging Face safetensors checkpoints. Installed like vLLM, from PyPI by uv, on every node it runs on: compute capability 8.0+, driver 580+, x86-64, and the CUDA 13 toolkit it compiles kernels with. Older cards are passed over: on cuda01's Quadro RTX 6000 (7.5) 0.2.1 had no kernel image for the first prefill, and in fp16 hit an illegal memory access on its first request. ft serve gets the model, address, card and served name; the key goes in FREETOKEN_API_KEY. Flags that read files or fetch are refused, as are FREETOKEN_ variables naming paths or the agent's own settings. ctl model context sets --max-seq-len-override. Readiness now also waits for an engine whose /health answers 200 while its body says "loading", as FreeToken's does from the moment its HTTP server is up. FreeToken is followed release by release: a weekly workflow fails when PyPI has a version newer than DefaultEngines installs (scripts/engine_releases.py). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c866b3a8ee
commit
f4b34dbf11
25 files changed
+808
-18
No files matched your search
@@ -1069,12 +1069,18 @@ func (s Server) ControlPlaneMode() bool {
|
||||
// DefaultEngines are the engine versions this release was checked against:
|
||||
// every flag llmgw builds for them is one they take.
|
||||
//
|
||||
// vLLM is installed on every node with an NVIDIA GPU it can run on and
|
||||
// skipped elsewhere. SGLang is not here: it is opt-in, by naming a version
|
||||
// under engines.
|
||||
// vLLM and FreeToken are installed on every node with an NVIDIA GPU they
|
||||
// can run on and skipped elsewhere — FreeToken on cards of 8.0 and newer
|
||||
// with the CUDA 13 toolkit — so a node that can serve a model too large for
|
||||
// its cards has the engine for it before anyone asks. SGLang is not here:
|
||||
// it is opt-in, by naming a version under engines.
|
||||
//
|
||||
// FreeToken is followed release by release: a new one on PyPI is moved to
|
||||
// here once ft serve has been checked to take the flags llmgw gives it.
|
||||
var DefaultEngines = map[string]string{
|
||||
"llamacpp": "b10991",
|
||||
"vllm": "0.30.0",
|
||||
"llamacpp": "b10991",
|
||||
"vllm": "0.30.0",
|
||||
"freetoken": "0.2.1",
|
||||
}
|
||||
|
||||
// EngineOverride gives the nodes it picks different engines. Every selector
|
||||
|
||||
Reference in new issue
Block a user