Team Ai
Modelpublic

Felipe97/llama-cpp-compiled

sourceHugging Faceupdated 21d agoView on Hugging Face
0likes1.2kdownloads
model-loading.constants.ts15 linesDownload Raw Back to constants
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;15