What a language model actually does, in plain words
A model reads your text, scores every possible next piece, picks one, adds it and repeats. We show the loop with our own engine, which runs it about 130.7 times a second on one RX 7900 XTX.
Posts with this tag: 7
A model reads your text, scores every possible next piece, picks one, adds it and repeats. We show the loop with our own engine, which runs it about 130.7 times a second on one RX 7900 XTX.
An OpenAI-compatible API is a shared message format. mojo-baro answers it at /v1/chat/completions, and Yahaai accepts any endpoint that speaks it, so the same chat can reach different models.
Six steps take you from a GGUF file to an answer: check the machine, build the server, run the preflight, start serve, test with one request, then chat. The first run for a new model shape builds an engine and takes a few minutes.
Our 35B model has 256 experts and wakes 8 per token. Its 21 GB pack fits a 24 GB card barely, and with experts kept in main memory it still reached 72.02 tokens per second.
Reading all prompt tokens at once ran at 524 to 531 tokens per second at 1k context, against about 67 when we replayed one token at a time. Writing the answer stays one token at a time.
A speed number only means something next to another number. We explain baselines, why they must be measured in the same session, and how our language-model engine went from 0.93 times to 1.34 times llama.cpp.
A graphics card is a crowd of small workers. One RX 7900 XTX with 24 GB held a 27B model at 17.0 GB peak, but a 21 GB model left almost no room for anything else.