char-fork/llama.cpp

git clone https://git.t4t.associates/char-fork/llama.cpp

Aleksander Grygierui: Constants refactor (#26908)e21152dc9

char/aliceai-t5-moe
455 B14 linesraw
1/**
2 * Labels shown while a model loads, keyed by the stage reported on /models/sse.
3 */
4export const MODEL_LOAD_STAGE_LABELS: Record<ApiModelLoadStage, string> = {
5	mmproj_model: 'Loading projector',
6	spec_model: 'Loading draft',
7	text_model: 'Loading weights'
8};
9
10/**
11 * Share of the bar reserved for each load phase after text_model.
12 * text_model fills the rest, so a plain model reaches 100% on its own.
13 */
14export const MODEL_LOAD_TAIL_SHARE = 0.1;