mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-09-19 09:15:04 +02:00
chore: Add LLAMA-APP-REUSE comments
This commit is contained in:
+2
-1
@@ -141,7 +141,7 @@
|
||||
/** First selected draft sidecar type, drives the `--spec-type` flag. */
|
||||
let draft = $derived(draftEntry?.sidecar ?? null);
|
||||
|
||||
// llama.cpp --spec-type value for each draft sidecar.
|
||||
// LLAMA-APP-REUSE: --spec-type value for each draft sidecar
|
||||
const SPEC_TYPE: Record<ModelSidecar, string> = {
|
||||
[ModelAuxSidecar.MMPROJ]: '',
|
||||
[ModelDraftSidecar.DFLASH]: 'draft-dflash',
|
||||
@@ -174,6 +174,7 @@
|
||||
}
|
||||
|
||||
/** The llama serve command for the current selection. */
|
||||
// LLAMA-APP-REUSE: serve command shape (-hf / -hfd / --spec-type)
|
||||
let serveCommand = $derived.by(() => {
|
||||
const quantTag = primaryQuant ? `${modelId}:${primaryQuant}` : modelId;
|
||||
const parts = ['llama', 'serve', '-hf', quantTag];
|
||||
|
||||
+1
@@ -202,6 +202,7 @@ export interface HfCatalogBuild {
|
||||
}
|
||||
|
||||
/** A size variant (e.g. `GPT-OSS 20B`) within a catalog entry. */
|
||||
// LLAMA-APP-REUSE: llama.pages catalog.json shapes (same feed the app consumes)
|
||||
export interface HfCatalogSize {
|
||||
name: string;
|
||||
params: string;
|
||||
|
||||
Reference in New Issue
Block a user