@huggingface/tasks 0.22.8 → 0.22.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/hardware.d.ts +7 -0
- package/dist/commonjs/hardware.d.ts.map +1 -1
- package/dist/commonjs/hardware.js +7 -0
- package/dist/commonjs/local-apps.d.ts.map +1 -1
- package/dist/commonjs/local-apps.js +4 -3
- package/dist/commonjs/local-apps.spec.js +5 -2
- package/dist/commonjs/model-libraries.d.ts +7 -1
- package/dist/commonjs/model-libraries.d.ts.map +1 -1
- package/dist/commonjs/model-libraries.js +6 -0
- package/dist/esm/hardware.d.ts +7 -0
- package/dist/esm/hardware.d.ts.map +1 -1
- package/dist/esm/hardware.js +7 -0
- package/dist/esm/local-apps.d.ts.map +1 -1
- package/dist/esm/local-apps.js +4 -3
- package/dist/esm/local-apps.spec.js +5 -2
- package/dist/esm/model-libraries.d.ts +7 -1
- package/dist/esm/model-libraries.d.ts.map +1 -1
- package/dist/esm/model-libraries.js +6 -0
- package/package.json +1 -1
- package/src/hardware.ts +7 -0
- package/src/local-apps.spec.ts +5 -2
- package/src/local-apps.ts +5 -3
- package/src/model-libraries.ts +6 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hardware.d.ts","sourceRoot":"","sources":["../../src/hardware.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,iDAAiD,QAAW,CAAC;AAC1E,eAAO,MAAM,yDAAyD,QAAW,CAAC;AAClF,eAAO,MAAM,oCAAoC,QAAU,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,+CAA+C,QAAW,CAAC;AAExE,MAAM,WAAW,YAAY;IAC5B;;;;;;;;;OASG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;;;;;;;;;;OAWG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;;;OAMG;IAC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A/aS,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;;;;;;;gDA6bjD,MAAM;;;;;;;yBAvYE,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;;;;;;yBAyC3D,SAAS,KAAG,eAAe,EAAE;;;;;;oCAqX3B,SAAS;yBA/TT,SAAS,KAAG,eAAe,EAAE;;;;;;;yBAoF9B,SAAS,KAAG,eAAe,EAAE;;;;;;;yBA7B/B,SAAS,KAAG,eAAe,EAAE;;;;;;;;;;;;;;yBApIzB,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAJjD,SAAS,aAAa,MAAM,KAAG,MAAM;;;;;;;;;;;;;;yBAoT1B,SAAS,aAAa,MAAM,KAAG,MAAM;;;;;;;yBAM9C,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;;;;;;yBAlGtD,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;;;;;;yBAkCvC,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;;;;;;yBA2BnD,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;CAgT5C,CAAC;AAErC,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,UAAU,CAAC"}
|
|
@@ -329,6 +329,7 @@ const snippetMlxLm = (model) => {
|
|
|
329
329
|
: []),
|
|
330
330
|
];
|
|
331
331
|
};
|
|
332
|
+
const getLocalServerPort = (model) => (isMlxModel(model) ? 8080 : 9931);
|
|
332
333
|
const getLocalServerStep = (model, filepath) => {
|
|
333
334
|
return isMlxModel(model)
|
|
334
335
|
? {
|
|
@@ -349,7 +350,7 @@ const snippetPi = (model, filepath) => {
|
|
|
349
350
|
const modelsJson = JSON.stringify({
|
|
350
351
|
providers: {
|
|
351
352
|
[isMLX ? "mlx-lm" : "llama-cpp"]: {
|
|
352
|
-
baseUrl:
|
|
353
|
+
baseUrl: `http://localhost:${getLocalServerPort(model)}/v1`,
|
|
353
354
|
api: "openai-completions",
|
|
354
355
|
apiKey: "none",
|
|
355
356
|
models: [{ id: modelId }],
|
|
@@ -384,7 +385,7 @@ const snippetHermesAgent = (model, filepath) => {
|
|
|
384
385
|
content: [
|
|
385
386
|
"# Point Hermes at the local server:",
|
|
386
387
|
"hermes config set model.provider custom",
|
|
387
|
-
|
|
388
|
+
`hermes config set model.base_url http://127.0.0.1:${getLocalServerPort(model)}/v1`,
|
|
388
389
|
`hermes config set model.default ${modelId}`,
|
|
389
390
|
].join("\n"),
|
|
390
391
|
},
|
|
@@ -408,7 +409,7 @@ const snippetOpenClaw = (model, filepath) => {
|
|
|
408
409
|
"# Register the local server and set it as the default model:",
|
|
409
410
|
"openclaw onboard --non-interactive --mode local \\",
|
|
410
411
|
" --auth-choice custom-api-key \\",
|
|
411
|
-
|
|
412
|
+
` --custom-base-url http://127.0.0.1:${getLocalServerPort(model)}/v1 \\`,
|
|
412
413
|
` --custom-model-id "${modelId}" \\`,
|
|
413
414
|
` --custom-provider-id ${providerId} \\`,
|
|
414
415
|
" --custom-compatibility openai \\",
|
|
@@ -147,6 +147,7 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \\
|
|
|
147
147
|
const snippet = snippetFunc(model);
|
|
148
148
|
(0, vitest_1.expect)(snippet[0].content).toContain(`llama serve -hf bartowski/Llama-3.2-3B-Instruct-GGUF:{{QUANT_TAG}}`);
|
|
149
149
|
(0, vitest_1.expect)(snippet[1].setup).toContain("npm install -g @earendil-works/pi-coding-agent");
|
|
150
|
+
(0, vitest_1.expect)(snippet[1].content).toContain('"baseUrl": "http://localhost:9931/v1"');
|
|
150
151
|
(0, vitest_1.expect)(snippet[1].content).toContain(`"id": "bartowski/Llama-3.2-3B-Instruct-GGUF:{{QUANT_TAG}}"`);
|
|
151
152
|
(0, vitest_1.expect)(snippet[2].content).toContain("pi");
|
|
152
153
|
});
|
|
@@ -182,7 +183,7 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \\
|
|
|
182
183
|
const snippet = snippetFunc(model);
|
|
183
184
|
(0, vitest_1.expect)(snippet[0].content).toContain(`llama serve -hf bartowski/Llama-3.2-3B-Instruct-GGUF:{{QUANT_TAG}}`);
|
|
184
185
|
(0, vitest_1.expect)(snippet[1].content).toContain("hermes config set model.provider custom");
|
|
185
|
-
(0, vitest_1.expect)(snippet[1].content).toContain("hermes config set model.base_url http://127.0.0.1:
|
|
186
|
+
(0, vitest_1.expect)(snippet[1].content).toContain("hermes config set model.base_url http://127.0.0.1:9931/v1");
|
|
186
187
|
(0, vitest_1.expect)(snippet[1].content).toContain("hermes config set model.default bartowski/Llama-3.2-3B-Instruct-GGUF:{{QUANT_TAG}}");
|
|
187
188
|
(0, vitest_1.expect)(snippet[2].content).toContain("hermes");
|
|
188
189
|
});
|
|
@@ -202,6 +203,7 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \\
|
|
|
202
203
|
const snippet = snippetFunc(model);
|
|
203
204
|
(0, vitest_1.expect)(snippet[0].setup).toContain("uv tool install mlx-lm");
|
|
204
205
|
(0, vitest_1.expect)(snippet[1].content).toContain("hermes config set model.provider custom");
|
|
206
|
+
(0, vitest_1.expect)(snippet[1].content).toContain("hermes config set model.base_url http://127.0.0.1:8080/v1");
|
|
205
207
|
(0, vitest_1.expect)(snippet[1].content).toContain("hermes config set model.default mlx-community/Llama-3.2-3B-Instruct-mlx");
|
|
206
208
|
(0, vitest_1.expect)(snippet[2].content).toContain("hermes");
|
|
207
209
|
});
|
|
@@ -218,7 +220,7 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \\
|
|
|
218
220
|
(0, vitest_1.expect)(snippet[1].setup).toContain("npm install -g openclaw@latest");
|
|
219
221
|
(0, vitest_1.expect)(snippet[1].content).toContain("openclaw onboard --non-interactive --mode local");
|
|
220
222
|
(0, vitest_1.expect)(snippet[1].content).toContain("--auth-choice custom-api-key");
|
|
221
|
-
(0, vitest_1.expect)(snippet[1].content).toContain("--custom-base-url http://127.0.0.1:
|
|
223
|
+
(0, vitest_1.expect)(snippet[1].content).toContain("--custom-base-url http://127.0.0.1:9931/v1");
|
|
222
224
|
(0, vitest_1.expect)(snippet[1].content).toContain('--custom-model-id "bartowski/Llama-3.2-3B-Instruct-GGUF:{{QUANT_TAG}}"');
|
|
223
225
|
(0, vitest_1.expect)(snippet[1].content).toContain("--custom-provider-id llama-cpp");
|
|
224
226
|
(0, vitest_1.expect)(snippet[1].content).toContain("--custom-compatibility openai");
|
|
@@ -244,6 +246,7 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \\
|
|
|
244
246
|
const snippet = snippetFunc(model);
|
|
245
247
|
(0, vitest_1.expect)(snippet[0].setup).toContain("uv tool install mlx-lm");
|
|
246
248
|
(0, vitest_1.expect)(snippet[1].content).toContain("openclaw onboard --non-interactive --mode local");
|
|
249
|
+
(0, vitest_1.expect)(snippet[1].content).toContain("--custom-base-url http://127.0.0.1:8080/v1");
|
|
247
250
|
(0, vitest_1.expect)(snippet[1].content).toContain('--custom-model-id "mlx-community/Llama-3.2-3B-Instruct-mlx"');
|
|
248
251
|
(0, vitest_1.expect)(snippet[1].content).toContain("--custom-provider-id mlx-lm");
|
|
249
252
|
(0, vitest_1.expect)(snippet[1].content).toContain("--custom-text-input");
|
|
@@ -360,6 +360,12 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
360
360
|
filter: false;
|
|
361
361
|
countDownloads: string;
|
|
362
362
|
};
|
|
363
|
+
cooperscene: {
|
|
364
|
+
prettyLabel: string;
|
|
365
|
+
repoName: string;
|
|
366
|
+
repoUrl: string;
|
|
367
|
+
filter: false;
|
|
368
|
+
};
|
|
363
369
|
cosyvoice: {
|
|
364
370
|
prettyLabel: string;
|
|
365
371
|
repoName: string;
|
|
@@ -2187,5 +2193,5 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
2187
2193
|
};
|
|
2188
2194
|
export type ModelLibraryKey = keyof typeof MODEL_LIBRARIES_UI_ELEMENTS;
|
|
2189
2195
|
export declare const ALL_MODEL_LIBRARY_KEYS: ModelLibraryKey[];
|
|
2190
|
-
export declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("lerobot" | "aadya-neural" | "acestep" | "adapter-transformers" | "alkove" | "allennlp" | "aneforge" | "anemoi" | "araclip" | "asimov" | "aviation-ner" | "asteroid" | "audiocraft" | "audioseal" | "bagel-mot" | "basedecision" | "bboxmaskpose" | "ben2" | "bertopic" | "big_vision" | "bionemo" | "birder" | "birefnet" | "bm25s" | "boltzgen" | "cancertathomev2" | "cartesia_pytorch" | "cartesia_mlx" | "causilo" | "ccpfn" | "champ" | "chatterbox" | "chaossim" | "chat_tts" | "chexmix" | "chronos-forecasting" | "circuit-tracer" | "clara" | "clipscope" | "cloud-agents" | "collectorvision" | "colipri" | "cosyvoice" | "cotracker" | "colpali" | "comet" | "cortiq" | "cosmos" | "cxr-foundation" | "deepforest" | "depth-anything-v2" | "depth-pro" | "derm-foundation" | "describe-anything" | "dewml" | "dia-tts" | "dia2" | "diff-interpretation-tuning" | "diffree" | "diffusers" | "diffusionkit" | "docking-at-home" | "doctr" | "drinkme" | "edsnlp" | "egohand" | "elm" | "encoderfile" | "ensomi" | "espnet" | "eupe" | "fahr-face" | "fairseq" | "fastai" | "fastprint" | "fasttext" | "fixer" | "flair" | "flexray" | "flextab" | "fme" | "fse" | "gaussianformer" | "gemma.cpp" | "geometry-crafter" | "gliformer" | "gliner" | "gliner2" | "glm-tts" | "glyd" | "glyph-byt5" | "granite-library" | "grok" | "habibi-tts" | "hallo" | "minimax-h3" | "mect" | "hermes" | "holomotion" | "hezar" | "htrflow" | "hunyuan-dit" | "hunyuan3d-2" | "hunyuanworld-voyager" | "hy-worldplay" | "hy-world-2" | "image-matching-models" | "imstoucan" | "index-tts" | "infinitetalk" | "infinite-you" | "intellifold" | "ising-decoding" | "jev-style" | "keras" | "tf-keras" | "keras-hub" | "zeromodels" | "kernels" | "kimi-audio" | "kittentts" | "konfai" | "kronos" | "k2" | "lyra-2.0" | "lagernvs" | "laya" | "ltx" | "lightning-ir" | "litert" | "litert-lm" | "libreyolo" | "lightglue" | "limx-dynamics" | "lingbot-map" | "liveportrait" | "longcat-video-avatar-1.5" | "linnet-tts" | "llama-cpp-python" | "mini-omni2" | "mindspore" | "magi-1" | "magenta-realtime" | "magenta-realtime-2" | "mamba-ssm" | "manas-1" | "mars5-tts" | "matanyone" | "memra" | "mesh-anything" | "merlin" | "medvae" | "mflux" | "microduck" | "minicpm-ocr" | "mitie" | "mjlab" | "ml-agents" | "ml-sharp" | "mlx" | "mlx-image" | "mlc-llm" | "model2vec" | "mobilint" | "montreal-forced-aligner" | "moshi" | "mtvcraft" | "multimolecule" | "nemo" | "ninfer" | "nobg" | "nv-medtech" | "open-oasis" | "open_clip" | "openasr" | "opendde" | "opendecision" | "openpeerllm" | "open-sora" | "outetts" | "paddlenlp" | "PaddleOCR" | "peft" | "perception-encoder" | "phantom-wan" | "pika-h3-flex" | "piper" | "pixeldense" | "pocket-tts" | "pqgan" | "protomotions" | "pruna-ai" | "pxia" | "pyannote-audio" | "py-feat" | "pythae" | "quantumpeer" | "qwen3_tts" | "recurrentgemma" | "relik" | "refiners" | "renderformer" | "reverb" | "rkllm" | "robo-orchard-lab" | "routee-powertrain" | "rt-detr-hand-detector-v1" | "rwkv" | "saelens" | "sage-music" | "scail-2" | "sam2" | "sam-3d-body" | "sam-3d-objects" | "same" | "sample-factory" | "sap-case" | "sap-rpt-1-oss" | "sapiens" | "sapiens2" | "seedvr" | "self-forcing" | "sentence-transformers" | "setfit" | "shadow" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "ssr-speech" | "stable-audio-3" | "stable-audio-tools" | "monkeyocr" | "diffusion-single-file" | "seed-story" | "skala" | "soloaudio" | "songbloom" | "stable-baselines3" | "stanza" | "supertonic" | "svdtrunc" | "swarmformer" | "synthefy-migas" | "f5-tts" | "genmo" | "tencent-song-generation" | "tensorflowtts" | "tensorrt" | "tabpfn" | "terratorch" | "tic-clip" | "timesfm" | "timee-ts" | "timm" | "tirex" | "tirex-2" | "torchgeo" | "torch-pointcloud" | "transformers" | "transformers.js" | "trellis" | "trellis2" | "tunejury" | "ultralytics" | "unitree-rl" | "univa" | "uni-3dar" | "unity-sentis" | "sana" | "videoprism" | "verto-asr" | "vfi-mamba" | "vismatch" | "lvface" | "voicecraft" | "voxcpm" | "vui" | "vqweb" | "vibevoice" | "videox_fun" | "wan2.2" | "wavegen" | "wham" | "whisperkit" | "wilddet3d" | "yolov10" | "yolov26" | "zipsplat" | "zonos" | "3dtopia-xl")[];
|
|
2196
|
+
export declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("lerobot" | "aadya-neural" | "acestep" | "adapter-transformers" | "alkove" | "allennlp" | "aneforge" | "anemoi" | "araclip" | "asimov" | "aviation-ner" | "asteroid" | "audiocraft" | "audioseal" | "bagel-mot" | "basedecision" | "bboxmaskpose" | "ben2" | "bertopic" | "big_vision" | "bionemo" | "birder" | "birefnet" | "bm25s" | "boltzgen" | "cancertathomev2" | "cartesia_pytorch" | "cartesia_mlx" | "causilo" | "ccpfn" | "champ" | "chatterbox" | "chaossim" | "chat_tts" | "chexmix" | "chronos-forecasting" | "circuit-tracer" | "clara" | "clipscope" | "cloud-agents" | "collectorvision" | "colipri" | "cooperscene" | "cosyvoice" | "cotracker" | "colpali" | "comet" | "cortiq" | "cosmos" | "cxr-foundation" | "deepforest" | "depth-anything-v2" | "depth-pro" | "derm-foundation" | "describe-anything" | "dewml" | "dia-tts" | "dia2" | "diff-interpretation-tuning" | "diffree" | "diffusers" | "diffusionkit" | "docking-at-home" | "doctr" | "drinkme" | "edsnlp" | "egohand" | "elm" | "encoderfile" | "ensomi" | "espnet" | "eupe" | "fahr-face" | "fairseq" | "fastai" | "fastprint" | "fasttext" | "fixer" | "flair" | "flexray" | "flextab" | "fme" | "fse" | "gaussianformer" | "gemma.cpp" | "geometry-crafter" | "gliformer" | "gliner" | "gliner2" | "glm-tts" | "glyd" | "glyph-byt5" | "granite-library" | "grok" | "habibi-tts" | "hallo" | "minimax-h3" | "mect" | "hermes" | "holomotion" | "hezar" | "htrflow" | "hunyuan-dit" | "hunyuan3d-2" | "hunyuanworld-voyager" | "hy-worldplay" | "hy-world-2" | "image-matching-models" | "imstoucan" | "index-tts" | "infinitetalk" | "infinite-you" | "intellifold" | "ising-decoding" | "jev-style" | "keras" | "tf-keras" | "keras-hub" | "zeromodels" | "kernels" | "kimi-audio" | "kittentts" | "konfai" | "kronos" | "k2" | "lyra-2.0" | "lagernvs" | "laya" | "ltx" | "lightning-ir" | "litert" | "litert-lm" | "libreyolo" | "lightglue" | "limx-dynamics" | "lingbot-map" | "liveportrait" | "longcat-video-avatar-1.5" | "linnet-tts" | "llama-cpp-python" | "mini-omni2" | "mindspore" | "magi-1" | "magenta-realtime" | "magenta-realtime-2" | "mamba-ssm" | "manas-1" | "mars5-tts" | "matanyone" | "memra" | "mesh-anything" | "merlin" | "medvae" | "mflux" | "microduck" | "minicpm-ocr" | "mitie" | "mjlab" | "ml-agents" | "ml-sharp" | "mlx" | "mlx-image" | "mlc-llm" | "model2vec" | "mobilint" | "montreal-forced-aligner" | "moshi" | "mtvcraft" | "multimolecule" | "nemo" | "ninfer" | "nobg" | "nv-medtech" | "open-oasis" | "open_clip" | "openasr" | "opendde" | "opendecision" | "openpeerllm" | "open-sora" | "outetts" | "paddlenlp" | "PaddleOCR" | "peft" | "perception-encoder" | "phantom-wan" | "pika-h3-flex" | "piper" | "pixeldense" | "pocket-tts" | "pqgan" | "protomotions" | "pruna-ai" | "pxia" | "pyannote-audio" | "py-feat" | "pythae" | "quantumpeer" | "qwen3_tts" | "recurrentgemma" | "relik" | "refiners" | "renderformer" | "reverb" | "rkllm" | "robo-orchard-lab" | "routee-powertrain" | "rt-detr-hand-detector-v1" | "rwkv" | "saelens" | "sage-music" | "scail-2" | "sam2" | "sam-3d-body" | "sam-3d-objects" | "same" | "sample-factory" | "sap-case" | "sap-rpt-1-oss" | "sapiens" | "sapiens2" | "seedvr" | "self-forcing" | "sentence-transformers" | "setfit" | "shadow" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "ssr-speech" | "stable-audio-3" | "stable-audio-tools" | "monkeyocr" | "diffusion-single-file" | "seed-story" | "skala" | "soloaudio" | "songbloom" | "stable-baselines3" | "stanza" | "supertonic" | "svdtrunc" | "swarmformer" | "synthefy-migas" | "f5-tts" | "genmo" | "tencent-song-generation" | "tensorflowtts" | "tensorrt" | "tabpfn" | "terratorch" | "tic-clip" | "timesfm" | "timee-ts" | "timm" | "tirex" | "tirex-2" | "torchgeo" | "torch-pointcloud" | "transformers" | "transformers.js" | "trellis" | "trellis2" | "tunejury" | "ultralytics" | "unitree-rl" | "univa" | "uni-3dar" | "unity-sentis" | "sana" | "videoprism" | "verto-asr" | "vfi-mamba" | "vismatch" | "lvface" | "voicecraft" | "voxcpm" | "vui" | "vqweb" | "vibevoice" | "videox_fun" | "wan2.2" | "wavegen" | "wham" | "whisperkit" | "wilddet3d" | "yolov10" | "yolov26" | "zipsplat" | "zonos" | "3dtopia-xl")[];
|
|
2191
2197
|
//# sourceMappingURL=model-libraries.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-libraries.d.ts","sourceRoot":"","sources":["../../src/model-libraries.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEzE;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAChC;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,KA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"safetensors"`,
|
|
358
358
|
},
|
|
359
|
+
cooperscene: {
|
|
360
|
+
prettyLabel: "CooperScene",
|
|
361
|
+
repoName: "CooperScene",
|
|
362
|
+
repoUrl: "https://github.com/UCR-CISL/CooperScene",
|
|
363
|
+
filter: false,
|
|
364
|
+
},
|
|
359
365
|
cosyvoice: {
|
|
360
366
|
prettyLabel: "CosyVoice",
|
|
361
367
|
repoName: "CosyVoice",
|
package/dist/esm/hardware.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hardware.d.ts","sourceRoot":"","sources":["../../src/hardware.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,iDAAiD,QAAW,CAAC;AAC1E,eAAO,MAAM,yDAAyD,QAAW,CAAC;AAClF,eAAO,MAAM,oCAAoC,QAAU,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,+CAA+C,QAAW,CAAC;AAExE,MAAM,WAAW,YAAY;IAC5B;;;;;;;;;OASG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;;;;;;;;;;OAWG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;;;OAMG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;;OAKG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,eAAO,MAAM,sBAAsB,UAElC,CAAC;AAEF,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"hardware.d.ts","sourceRoot":"","sources":["../../src/hardware.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,iDAAiD,QAAW,CAAC;AAC1E,eAAO,MAAM,yDAAyD,QAAW,CAAC;AAClF,eAAO,MAAM,oCAAoC,QAAU,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,+CAA+C,QAAW,CAAC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;;;;;;;;;yBAJjD,SAAS,aAAa,MAAM,KAAG,MAAM;;;;;;;;;;;;;;yBAoT1B,SAAS,aAAa,MAAM,KAAG,MAAM;;;;;;;yBAM9C,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;;;;;;yBAlGtD,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;;;;;;yBAkCvC,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;;;;;;yBA2BnD,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;CAgT5C,CAAC;AAErC,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,UAAU,CAAC"}
|
package/dist/esm/local-apps.js
CHANGED
|
@@ -326,6 +326,7 @@ const snippetMlxLm = (model) => {
|
|
|
326
326
|
: []),
|
|
327
327
|
];
|
|
328
328
|
};
|
|
329
|
+
const getLocalServerPort = (model) => (isMlxModel(model) ? 8080 : 9931);
|
|
329
330
|
const getLocalServerStep = (model, filepath) => {
|
|
330
331
|
return isMlxModel(model)
|
|
331
332
|
? {
|
|
@@ -346,7 +347,7 @@ const snippetPi = (model, filepath) => {
|
|
|
346
347
|
const modelsJson = JSON.stringify({
|
|
347
348
|
providers: {
|
|
348
349
|
[isMLX ? "mlx-lm" : "llama-cpp"]: {
|
|
349
|
-
baseUrl:
|
|
350
|
+
baseUrl: `http://localhost:${getLocalServerPort(model)}/v1`,
|
|
350
351
|
api: "openai-completions",
|
|
351
352
|
apiKey: "none",
|
|
352
353
|
models: [{ id: modelId }],
|
|
@@ -381,7 +382,7 @@ const snippetHermesAgent = (model, filepath) => {
|
|
|
381
382
|
content: [
|
|
382
383
|
"# Point Hermes at the local server:",
|
|
383
384
|
"hermes config set model.provider custom",
|
|
384
|
-
|
|
385
|
+
`hermes config set model.base_url http://127.0.0.1:${getLocalServerPort(model)}/v1`,
|
|
385
386
|
`hermes config set model.default ${modelId}`,
|
|
386
387
|
].join("\n"),
|
|
387
388
|
},
|
|
@@ -405,7 +406,7 @@ const snippetOpenClaw = (model, filepath) => {
|
|
|
405
406
|
"# Register the local server and set it as the default model:",
|
|
406
407
|
"openclaw onboard --non-interactive --mode local \\",
|
|
407
408
|
" --auth-choice custom-api-key \\",
|
|
408
|
-
|
|
409
|
+
` --custom-base-url http://127.0.0.1:${getLocalServerPort(model)}/v1 \\`,
|
|
409
410
|
` --custom-model-id "${modelId}" \\`,
|
|
410
411
|
` --custom-provider-id ${providerId} \\`,
|
|
411
412
|
" --custom-compatibility openai \\",
|
|
@@ -145,6 +145,7 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \\
|
|
|
145
145
|
const snippet = snippetFunc(model);
|
|
146
146
|
expect(snippet[0].content).toContain(`llama serve -hf bartowski/Llama-3.2-3B-Instruct-GGUF:{{QUANT_TAG}}`);
|
|
147
147
|
expect(snippet[1].setup).toContain("npm install -g @earendil-works/pi-coding-agent");
|
|
148
|
+
expect(snippet[1].content).toContain('"baseUrl": "http://localhost:9931/v1"');
|
|
148
149
|
expect(snippet[1].content).toContain(`"id": "bartowski/Llama-3.2-3B-Instruct-GGUF:{{QUANT_TAG}}"`);
|
|
149
150
|
expect(snippet[2].content).toContain("pi");
|
|
150
151
|
});
|
|
@@ -180,7 +181,7 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \\
|
|
|
180
181
|
const snippet = snippetFunc(model);
|
|
181
182
|
expect(snippet[0].content).toContain(`llama serve -hf bartowski/Llama-3.2-3B-Instruct-GGUF:{{QUANT_TAG}}`);
|
|
182
183
|
expect(snippet[1].content).toContain("hermes config set model.provider custom");
|
|
183
|
-
expect(snippet[1].content).toContain("hermes config set model.base_url http://127.0.0.1:
|
|
184
|
+
expect(snippet[1].content).toContain("hermes config set model.base_url http://127.0.0.1:9931/v1");
|
|
184
185
|
expect(snippet[1].content).toContain("hermes config set model.default bartowski/Llama-3.2-3B-Instruct-GGUF:{{QUANT_TAG}}");
|
|
185
186
|
expect(snippet[2].content).toContain("hermes");
|
|
186
187
|
});
|
|
@@ -200,6 +201,7 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \\
|
|
|
200
201
|
const snippet = snippetFunc(model);
|
|
201
202
|
expect(snippet[0].setup).toContain("uv tool install mlx-lm");
|
|
202
203
|
expect(snippet[1].content).toContain("hermes config set model.provider custom");
|
|
204
|
+
expect(snippet[1].content).toContain("hermes config set model.base_url http://127.0.0.1:8080/v1");
|
|
203
205
|
expect(snippet[1].content).toContain("hermes config set model.default mlx-community/Llama-3.2-3B-Instruct-mlx");
|
|
204
206
|
expect(snippet[2].content).toContain("hermes");
|
|
205
207
|
});
|
|
@@ -216,7 +218,7 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \\
|
|
|
216
218
|
expect(snippet[1].setup).toContain("npm install -g openclaw@latest");
|
|
217
219
|
expect(snippet[1].content).toContain("openclaw onboard --non-interactive --mode local");
|
|
218
220
|
expect(snippet[1].content).toContain("--auth-choice custom-api-key");
|
|
219
|
-
expect(snippet[1].content).toContain("--custom-base-url http://127.0.0.1:
|
|
221
|
+
expect(snippet[1].content).toContain("--custom-base-url http://127.0.0.1:9931/v1");
|
|
220
222
|
expect(snippet[1].content).toContain('--custom-model-id "bartowski/Llama-3.2-3B-Instruct-GGUF:{{QUANT_TAG}}"');
|
|
221
223
|
expect(snippet[1].content).toContain("--custom-provider-id llama-cpp");
|
|
222
224
|
expect(snippet[1].content).toContain("--custom-compatibility openai");
|
|
@@ -242,6 +244,7 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \\
|
|
|
242
244
|
const snippet = snippetFunc(model);
|
|
243
245
|
expect(snippet[0].setup).toContain("uv tool install mlx-lm");
|
|
244
246
|
expect(snippet[1].content).toContain("openclaw onboard --non-interactive --mode local");
|
|
247
|
+
expect(snippet[1].content).toContain("--custom-base-url http://127.0.0.1:8080/v1");
|
|
245
248
|
expect(snippet[1].content).toContain('--custom-model-id "mlx-community/Llama-3.2-3B-Instruct-mlx"');
|
|
246
249
|
expect(snippet[1].content).toContain("--custom-provider-id mlx-lm");
|
|
247
250
|
expect(snippet[1].content).toContain("--custom-text-input");
|
|
@@ -360,6 +360,12 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
360
360
|
filter: false;
|
|
361
361
|
countDownloads: string;
|
|
362
362
|
};
|
|
363
|
+
cooperscene: {
|
|
364
|
+
prettyLabel: string;
|
|
365
|
+
repoName: string;
|
|
366
|
+
repoUrl: string;
|
|
367
|
+
filter: false;
|
|
368
|
+
};
|
|
363
369
|
cosyvoice: {
|
|
364
370
|
prettyLabel: string;
|
|
365
371
|
repoName: string;
|
|
@@ -2187,5 +2193,5 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
2187
2193
|
};
|
|
2188
2194
|
export type ModelLibraryKey = keyof typeof MODEL_LIBRARIES_UI_ELEMENTS;
|
|
2189
2195
|
export declare const ALL_MODEL_LIBRARY_KEYS: ModelLibraryKey[];
|
|
2190
|
-
export declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("lerobot" | "aadya-neural" | "acestep" | "adapter-transformers" | "alkove" | "allennlp" | "aneforge" | "anemoi" | "araclip" | "asimov" | "aviation-ner" | "asteroid" | "audiocraft" | "audioseal" | "bagel-mot" | "basedecision" | "bboxmaskpose" | "ben2" | "bertopic" | "big_vision" | "bionemo" | "birder" | "birefnet" | "bm25s" | "boltzgen" | "cancertathomev2" | "cartesia_pytorch" | "cartesia_mlx" | "causilo" | "ccpfn" | "champ" | "chatterbox" | "chaossim" | "chat_tts" | "chexmix" | "chronos-forecasting" | "circuit-tracer" | "clara" | "clipscope" | "cloud-agents" | "collectorvision" | "colipri" | "cosyvoice" | "cotracker" | "colpali" | "comet" | "cortiq" | "cosmos" | "cxr-foundation" | "deepforest" | "depth-anything-v2" | "depth-pro" | "derm-foundation" | "describe-anything" | "dewml" | "dia-tts" | "dia2" | "diff-interpretation-tuning" | "diffree" | "diffusers" | "diffusionkit" | "docking-at-home" | "doctr" | "drinkme" | "edsnlp" | "egohand" | "elm" | "encoderfile" | "ensomi" | "espnet" | "eupe" | "fahr-face" | "fairseq" | "fastai" | "fastprint" | "fasttext" | "fixer" | "flair" | "flexray" | "flextab" | "fme" | "fse" | "gaussianformer" | "gemma.cpp" | "geometry-crafter" | "gliformer" | "gliner" | "gliner2" | "glm-tts" | "glyd" | "glyph-byt5" | "granite-library" | "grok" | "habibi-tts" | "hallo" | "minimax-h3" | "mect" | "hermes" | "holomotion" | "hezar" | "htrflow" | "hunyuan-dit" | "hunyuan3d-2" | "hunyuanworld-voyager" | "hy-worldplay" | "hy-world-2" | "image-matching-models" | "imstoucan" | "index-tts" | "infinitetalk" | "infinite-you" | "intellifold" | "ising-decoding" | "jev-style" | "keras" | "tf-keras" | "keras-hub" | "zeromodels" | "kernels" | "kimi-audio" | "kittentts" | "konfai" | "kronos" | "k2" | "lyra-2.0" | "lagernvs" | "laya" | "ltx" | "lightning-ir" | "litert" | "litert-lm" | "libreyolo" | "lightglue" | "limx-dynamics" | "lingbot-map" | "liveportrait" | "longcat-video-avatar-1.5" | "linnet-tts" | "llama-cpp-python" | "mini-omni2" | "mindspore" | "magi-1" | "magenta-realtime" | "magenta-realtime-2" | "mamba-ssm" | "manas-1" | "mars5-tts" | "matanyone" | "memra" | "mesh-anything" | "merlin" | "medvae" | "mflux" | "microduck" | "minicpm-ocr" | "mitie" | "mjlab" | "ml-agents" | "ml-sharp" | "mlx" | "mlx-image" | "mlc-llm" | "model2vec" | "mobilint" | "montreal-forced-aligner" | "moshi" | "mtvcraft" | "multimolecule" | "nemo" | "ninfer" | "nobg" | "nv-medtech" | "open-oasis" | "open_clip" | "openasr" | "opendde" | "opendecision" | "openpeerllm" | "open-sora" | "outetts" | "paddlenlp" | "PaddleOCR" | "peft" | "perception-encoder" | "phantom-wan" | "pika-h3-flex" | "piper" | "pixeldense" | "pocket-tts" | "pqgan" | "protomotions" | "pruna-ai" | "pxia" | "pyannote-audio" | "py-feat" | "pythae" | "quantumpeer" | "qwen3_tts" | "recurrentgemma" | "relik" | "refiners" | "renderformer" | "reverb" | "rkllm" | "robo-orchard-lab" | "routee-powertrain" | "rt-detr-hand-detector-v1" | "rwkv" | "saelens" | "sage-music" | "scail-2" | "sam2" | "sam-3d-body" | "sam-3d-objects" | "same" | "sample-factory" | "sap-case" | "sap-rpt-1-oss" | "sapiens" | "sapiens2" | "seedvr" | "self-forcing" | "sentence-transformers" | "setfit" | "shadow" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "ssr-speech" | "stable-audio-3" | "stable-audio-tools" | "monkeyocr" | "diffusion-single-file" | "seed-story" | "skala" | "soloaudio" | "songbloom" | "stable-baselines3" | "stanza" | "supertonic" | "svdtrunc" | "swarmformer" | "synthefy-migas" | "f5-tts" | "genmo" | "tencent-song-generation" | "tensorflowtts" | "tensorrt" | "tabpfn" | "terratorch" | "tic-clip" | "timesfm" | "timee-ts" | "timm" | "tirex" | "tirex-2" | "torchgeo" | "torch-pointcloud" | "transformers" | "transformers.js" | "trellis" | "trellis2" | "tunejury" | "ultralytics" | "unitree-rl" | "univa" | "uni-3dar" | "unity-sentis" | "sana" | "videoprism" | "verto-asr" | "vfi-mamba" | "vismatch" | "lvface" | "voicecraft" | "voxcpm" | "vui" | "vqweb" | "vibevoice" | "videox_fun" | "wan2.2" | "wavegen" | "wham" | "whisperkit" | "wilddet3d" | "yolov10" | "yolov26" | "zipsplat" | "zonos" | "3dtopia-xl")[];
|
|
2196
|
+
export declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("lerobot" | "aadya-neural" | "acestep" | "adapter-transformers" | "alkove" | "allennlp" | "aneforge" | "anemoi" | "araclip" | "asimov" | "aviation-ner" | "asteroid" | "audiocraft" | "audioseal" | "bagel-mot" | "basedecision" | "bboxmaskpose" | "ben2" | "bertopic" | "big_vision" | "bionemo" | "birder" | "birefnet" | "bm25s" | "boltzgen" | "cancertathomev2" | "cartesia_pytorch" | "cartesia_mlx" | "causilo" | "ccpfn" | "champ" | "chatterbox" | "chaossim" | "chat_tts" | "chexmix" | "chronos-forecasting" | "circuit-tracer" | "clara" | "clipscope" | "cloud-agents" | "collectorvision" | "colipri" | "cooperscene" | "cosyvoice" | "cotracker" | "colpali" | "comet" | "cortiq" | "cosmos" | "cxr-foundation" | "deepforest" | "depth-anything-v2" | "depth-pro" | "derm-foundation" | "describe-anything" | "dewml" | "dia-tts" | "dia2" | "diff-interpretation-tuning" | "diffree" | "diffusers" | "diffusionkit" | "docking-at-home" | "doctr" | "drinkme" | "edsnlp" | "egohand" | "elm" | "encoderfile" | "ensomi" | "espnet" | "eupe" | "fahr-face" | "fairseq" | "fastai" | "fastprint" | "fasttext" | "fixer" | "flair" | "flexray" | "flextab" | "fme" | "fse" | "gaussianformer" | "gemma.cpp" | "geometry-crafter" | "gliformer" | "gliner" | "gliner2" | "glm-tts" | "glyd" | "glyph-byt5" | "granite-library" | "grok" | "habibi-tts" | "hallo" | "minimax-h3" | "mect" | "hermes" | "holomotion" | "hezar" | "htrflow" | "hunyuan-dit" | "hunyuan3d-2" | "hunyuanworld-voyager" | "hy-worldplay" | "hy-world-2" | "image-matching-models" | "imstoucan" | "index-tts" | "infinitetalk" | "infinite-you" | "intellifold" | "ising-decoding" | "jev-style" | "keras" | "tf-keras" | "keras-hub" | "zeromodels" | "kernels" | "kimi-audio" | "kittentts" | "konfai" | "kronos" | "k2" | "lyra-2.0" | "lagernvs" | "laya" | "ltx" | "lightning-ir" | "litert" | "litert-lm" | "libreyolo" | "lightglue" | "limx-dynamics" | "lingbot-map" | "liveportrait" | "longcat-video-avatar-1.5" | "linnet-tts" | "llama-cpp-python" | "mini-omni2" | "mindspore" | "magi-1" | "magenta-realtime" | "magenta-realtime-2" | "mamba-ssm" | "manas-1" | "mars5-tts" | "matanyone" | "memra" | "mesh-anything" | "merlin" | "medvae" | "mflux" | "microduck" | "minicpm-ocr" | "mitie" | "mjlab" | "ml-agents" | "ml-sharp" | "mlx" | "mlx-image" | "mlc-llm" | "model2vec" | "mobilint" | "montreal-forced-aligner" | "moshi" | "mtvcraft" | "multimolecule" | "nemo" | "ninfer" | "nobg" | "nv-medtech" | "open-oasis" | "open_clip" | "openasr" | "opendde" | "opendecision" | "openpeerllm" | "open-sora" | "outetts" | "paddlenlp" | "PaddleOCR" | "peft" | "perception-encoder" | "phantom-wan" | "pika-h3-flex" | "piper" | "pixeldense" | "pocket-tts" | "pqgan" | "protomotions" | "pruna-ai" | "pxia" | "pyannote-audio" | "py-feat" | "pythae" | "quantumpeer" | "qwen3_tts" | "recurrentgemma" | "relik" | "refiners" | "renderformer" | "reverb" | "rkllm" | "robo-orchard-lab" | "routee-powertrain" | "rt-detr-hand-detector-v1" | "rwkv" | "saelens" | "sage-music" | "scail-2" | "sam2" | "sam-3d-body" | "sam-3d-objects" | "same" | "sample-factory" | "sap-case" | "sap-rpt-1-oss" | "sapiens" | "sapiens2" | "seedvr" | "self-forcing" | "sentence-transformers" | "setfit" | "shadow" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "ssr-speech" | "stable-audio-3" | "stable-audio-tools" | "monkeyocr" | "diffusion-single-file" | "seed-story" | "skala" | "soloaudio" | "songbloom" | "stable-baselines3" | "stanza" | "supertonic" | "svdtrunc" | "swarmformer" | "synthefy-migas" | "f5-tts" | "genmo" | "tencent-song-generation" | "tensorflowtts" | "tensorrt" | "tabpfn" | "terratorch" | "tic-clip" | "timesfm" | "timee-ts" | "timm" | "tirex" | "tirex-2" | "torchgeo" | "torch-pointcloud" | "transformers" | "transformers.js" | "trellis" | "trellis2" | "tunejury" | "ultralytics" | "unitree-rl" | "univa" | "uni-3dar" | "unity-sentis" | "sana" | "videoprism" | "verto-asr" | "vfi-mamba" | "vismatch" | "lvface" | "voicecraft" | "voxcpm" | "vui" | "vqweb" | "vibevoice" | "videox_fun" | "wan2.2" | "wavegen" | "wham" | "whisperkit" | "wilddet3d" | "yolov10" | "yolov26" | "zipsplat" | "zonos" | "3dtopia-xl")[];
|
|
2191
2197
|
//# sourceMappingURL=model-libraries.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-libraries.d.ts","sourceRoot":"","sources":["../../src/model-libraries.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEzE;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAChC;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,MAAM,EAAE,CAAC;IAC1C;;;;;OAKG;IACH,cAAc,CAAC,EAAE,kBAAkB,CAAC;IACpC;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;;;;;;;;;;;;GAaG;AAEH,eAAO,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"model-libraries.d.ts","sourceRoot":"","sources":["../../src/model-libraries.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEzE;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAChC;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,MAAM,EAAE,CAAC;IAC1C;;;;;OAKG;IACH,cAAc,CAAC,EAAE,kBAAkB,CAAC;IACpC;;;OAGG;IACH,MAAM,CA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkmEI,CAAC;AAE7C,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,2BAA2B,CAAC;AAEvE,eAAO,MAAM,sBAAsB,EAA+C,eAAe,EAAE,CAAC;AAEpG,eAAO,MAAM,8BAA8B,+hIAQ1B,CAAC"}
|
|
@@ -320,6 +320,12 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
320
320
|
filter: false,
|
|
321
321
|
countDownloads: `path_extension:"safetensors"`,
|
|
322
322
|
},
|
|
323
|
+
cooperscene: {
|
|
324
|
+
prettyLabel: "CooperScene",
|
|
325
|
+
repoName: "CooperScene",
|
|
326
|
+
repoUrl: "https://github.com/UCR-CISL/CooperScene",
|
|
327
|
+
filter: false,
|
|
328
|
+
},
|
|
323
329
|
cosyvoice: {
|
|
324
330
|
prettyLabel: "CosyVoice",
|
|
325
331
|
repoName: "CosyVoice",
|
package/package.json
CHANGED
package/src/hardware.ts
CHANGED
|
@@ -673,6 +673,13 @@ export const SKUS = {
|
|
|
673
673
|
power: 220,
|
|
674
674
|
releaseYear: 2026,
|
|
675
675
|
},
|
|
676
|
+
"Apple M6": {
|
|
677
|
+
tflops: 6.2,
|
|
678
|
+
memory: [16, 24, 32],
|
|
679
|
+
msrp: 2_400,
|
|
680
|
+
power: 25,
|
|
681
|
+
releaseYear: 2026,
|
|
682
|
+
},
|
|
676
683
|
},
|
|
677
684
|
},
|
|
678
685
|
} satisfies Record<string, Record<string, Record<string, HardwareSpec>>>;
|
package/src/local-apps.spec.ts
CHANGED
|
@@ -162,6 +162,7 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \\
|
|
|
162
162
|
|
|
163
163
|
expect(snippet[0].content).toContain(`llama serve -hf bartowski/Llama-3.2-3B-Instruct-GGUF:{{QUANT_TAG}}`);
|
|
164
164
|
expect(snippet[1].setup).toContain("npm install -g @earendil-works/pi-coding-agent");
|
|
165
|
+
expect(snippet[1].content).toContain('"baseUrl": "http://localhost:9931/v1"');
|
|
165
166
|
expect(snippet[1].content).toContain(`"id": "bartowski/Llama-3.2-3B-Instruct-GGUF:{{QUANT_TAG}}"`);
|
|
166
167
|
expect(snippet[2].content).toContain("pi");
|
|
167
168
|
});
|
|
@@ -201,7 +202,7 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \\
|
|
|
201
202
|
|
|
202
203
|
expect(snippet[0].content).toContain(`llama serve -hf bartowski/Llama-3.2-3B-Instruct-GGUF:{{QUANT_TAG}}`);
|
|
203
204
|
expect(snippet[1].content).toContain("hermes config set model.provider custom");
|
|
204
|
-
expect(snippet[1].content).toContain("hermes config set model.base_url http://127.0.0.1:
|
|
205
|
+
expect(snippet[1].content).toContain("hermes config set model.base_url http://127.0.0.1:9931/v1");
|
|
205
206
|
expect(snippet[1].content).toContain(
|
|
206
207
|
"hermes config set model.default bartowski/Llama-3.2-3B-Instruct-GGUF:{{QUANT_TAG}}",
|
|
207
208
|
);
|
|
@@ -225,6 +226,7 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \\
|
|
|
225
226
|
|
|
226
227
|
expect(snippet[0].setup).toContain("uv tool install mlx-lm");
|
|
227
228
|
expect(snippet[1].content).toContain("hermes config set model.provider custom");
|
|
229
|
+
expect(snippet[1].content).toContain("hermes config set model.base_url http://127.0.0.1:8080/v1");
|
|
228
230
|
expect(snippet[1].content).toContain("hermes config set model.default mlx-community/Llama-3.2-3B-Instruct-mlx");
|
|
229
231
|
expect(snippet[2].content).toContain("hermes");
|
|
230
232
|
});
|
|
@@ -243,7 +245,7 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \\
|
|
|
243
245
|
expect(snippet[1].setup).toContain("npm install -g openclaw@latest");
|
|
244
246
|
expect(snippet[1].content).toContain("openclaw onboard --non-interactive --mode local");
|
|
245
247
|
expect(snippet[1].content).toContain("--auth-choice custom-api-key");
|
|
246
|
-
expect(snippet[1].content).toContain("--custom-base-url http://127.0.0.1:
|
|
248
|
+
expect(snippet[1].content).toContain("--custom-base-url http://127.0.0.1:9931/v1");
|
|
247
249
|
expect(snippet[1].content).toContain('--custom-model-id "bartowski/Llama-3.2-3B-Instruct-GGUF:{{QUANT_TAG}}"');
|
|
248
250
|
expect(snippet[1].content).toContain("--custom-provider-id llama-cpp");
|
|
249
251
|
expect(snippet[1].content).toContain("--custom-compatibility openai");
|
|
@@ -271,6 +273,7 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \\
|
|
|
271
273
|
|
|
272
274
|
expect(snippet[0].setup).toContain("uv tool install mlx-lm");
|
|
273
275
|
expect(snippet[1].content).toContain("openclaw onboard --non-interactive --mode local");
|
|
276
|
+
expect(snippet[1].content).toContain("--custom-base-url http://127.0.0.1:8080/v1");
|
|
274
277
|
expect(snippet[1].content).toContain('--custom-model-id "mlx-community/Llama-3.2-3B-Instruct-mlx"');
|
|
275
278
|
expect(snippet[1].content).toContain("--custom-provider-id mlx-lm");
|
|
276
279
|
expect(snippet[1].content).toContain("--custom-text-input");
|
package/src/local-apps.ts
CHANGED
|
@@ -435,6 +435,8 @@ const snippetMlxLm = (model: ModelData): LocalAppSnippet[] => {
|
|
|
435
435
|
];
|
|
436
436
|
};
|
|
437
437
|
|
|
438
|
+
const getLocalServerPort = (model: ModelData): number => (isMlxModel(model) ? 8080 : 9931);
|
|
439
|
+
|
|
438
440
|
const getLocalServerStep = (model: ModelData, filepath?: string): LocalAppSnippet => {
|
|
439
441
|
return isMlxModel(model)
|
|
440
442
|
? {
|
|
@@ -458,7 +460,7 @@ const snippetPi = (model: ModelData, filepath?: string): LocalAppSnippet[] => {
|
|
|
458
460
|
{
|
|
459
461
|
providers: {
|
|
460
462
|
[isMLX ? "mlx-lm" : "llama-cpp"]: {
|
|
461
|
-
baseUrl:
|
|
463
|
+
baseUrl: `http://localhost:${getLocalServerPort(model)}/v1`,
|
|
462
464
|
api: "openai-completions",
|
|
463
465
|
apiKey: "none",
|
|
464
466
|
models: [{ id: modelId }],
|
|
@@ -499,7 +501,7 @@ const snippetHermesAgent = (model: ModelData, filepath?: string): LocalAppSnippe
|
|
|
499
501
|
content: [
|
|
500
502
|
"# Point Hermes at the local server:",
|
|
501
503
|
"hermes config set model.provider custom",
|
|
502
|
-
|
|
504
|
+
`hermes config set model.base_url http://127.0.0.1:${getLocalServerPort(model)}/v1`,
|
|
503
505
|
`hermes config set model.default ${modelId}`,
|
|
504
506
|
].join("\n"),
|
|
505
507
|
},
|
|
@@ -525,7 +527,7 @@ const snippetOpenClaw = (model: ModelData, filepath?: string): LocalAppSnippet[]
|
|
|
525
527
|
"# Register the local server and set it as the default model:",
|
|
526
528
|
"openclaw onboard --non-interactive --mode local \\",
|
|
527
529
|
" --auth-choice custom-api-key \\",
|
|
528
|
-
|
|
530
|
+
` --custom-base-url http://127.0.0.1:${getLocalServerPort(model)}/v1 \\`,
|
|
529
531
|
` --custom-model-id "${modelId}" \\`,
|
|
530
532
|
` --custom-provider-id ${providerId} \\`,
|
|
531
533
|
" --custom-compatibility openai \\",
|
package/src/model-libraries.ts
CHANGED
|
@@ -364,6 +364,12 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
364
364
|
filter: false,
|
|
365
365
|
countDownloads: `path_extension:"safetensors"`,
|
|
366
366
|
},
|
|
367
|
+
cooperscene: {
|
|
368
|
+
prettyLabel: "CooperScene",
|
|
369
|
+
repoName: "CooperScene",
|
|
370
|
+
repoUrl: "https://github.com/UCR-CISL/CooperScene",
|
|
371
|
+
filter: false,
|
|
372
|
+
},
|
|
367
373
|
cosyvoice: {
|
|
368
374
|
prettyLabel: "CosyVoice",
|
|
369
375
|
repoName: "CosyVoice",
|