@huggingface/tasks 0.20.11 → 0.20.13
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/eval.d.ts +5 -0
- package/dist/commonjs/eval.d.ts.map +1 -1
- package/dist/commonjs/eval.js +5 -0
- package/dist/commonjs/gguf.d.ts +3 -1
- package/dist/commonjs/gguf.d.ts.map +1 -1
- package/dist/commonjs/gguf.js +3 -0
- package/dist/commonjs/hardware-nvidia.d.ts.map +1 -1
- package/dist/commonjs/hardware-nvidia.js +15 -5
- package/dist/commonjs/hardware.d.ts +4 -0
- package/dist/commonjs/hardware.d.ts.map +1 -1
- package/dist/commonjs/hardware.js +4 -0
- package/dist/commonjs/local-apps.d.ts.map +1 -1
- package/dist/commonjs/local-apps.js +16 -10
- package/dist/commonjs/local-apps.spec.js +15 -11
- package/dist/commonjs/model-libraries.d.ts +8 -1
- package/dist/commonjs/model-libraries.d.ts.map +1 -1
- package/dist/commonjs/model-libraries.js +7 -0
- package/dist/esm/eval.d.ts +5 -0
- package/dist/esm/eval.d.ts.map +1 -1
- package/dist/esm/eval.js +5 -0
- package/dist/esm/gguf.d.ts +3 -1
- package/dist/esm/gguf.d.ts.map +1 -1
- package/dist/esm/gguf.js +3 -0
- package/dist/esm/hardware-nvidia.d.ts.map +1 -1
- package/dist/esm/hardware-nvidia.js +15 -5
- package/dist/esm/hardware.d.ts +4 -0
- package/dist/esm/hardware.d.ts.map +1 -1
- package/dist/esm/hardware.js +4 -0
- package/dist/esm/local-apps.d.ts.map +1 -1
- package/dist/esm/local-apps.js +16 -10
- package/dist/esm/local-apps.spec.js +15 -11
- package/dist/esm/model-libraries.d.ts +8 -1
- package/dist/esm/model-libraries.d.ts.map +1 -1
- package/dist/esm/model-libraries.js +7 -0
- package/package.json +1 -1
- package/src/eval.ts +5 -0
- package/src/gguf.ts +3 -0
- package/src/hardware-nvidia.ts +15 -5
- package/src/hardware.ts +4 -0
- package/src/local-apps.spec.ts +15 -11
- package/src/local-apps.ts +18 -10
- package/src/model-libraries.ts +7 -0
package/dist/commonjs/eval.d.ts
CHANGED
|
@@ -32,6 +32,11 @@ export declare const EVALUATION_FRAMEWORKS: {
|
|
|
32
32
|
readonly description: "Archipelago is a system for running and evaluating AI agents against MCP applications.";
|
|
33
33
|
readonly url: "https://github.com/Mercor-Intelligence/archipelago";
|
|
34
34
|
};
|
|
35
|
+
readonly "apex-evals": {
|
|
36
|
+
readonly name: "apex-evals";
|
|
37
|
+
readonly description: "APEX Evals is a benchmark suite and evaluation harness for evaluating large language models.";
|
|
38
|
+
readonly url: "https://github.com/Mercor-Intelligence/apex-evals";
|
|
39
|
+
};
|
|
35
40
|
readonly "screenspot-pro": {
|
|
36
41
|
readonly name: "screenspot-pro";
|
|
37
42
|
readonly description: "ScreenSpot-Pro is a GUI grounding benchmark designed to evaluate how well AI agents can locate and identify UI elements across professional software applications in high-resolution screenshots, covering 1,585 annotated images from 26 professional tools.";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eval.d.ts","sourceRoot":"","sources":["../../src/eval.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"eval.d.ts","sourceRoot":"","sources":["../../src/eval.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsExB,CAAC"}
|
package/dist/commonjs/eval.js
CHANGED
|
@@ -35,6 +35,11 @@ exports.EVALUATION_FRAMEWORKS = {
|
|
|
35
35
|
description: "Archipelago is a system for running and evaluating AI agents against MCP applications.",
|
|
36
36
|
url: "https://github.com/Mercor-Intelligence/archipelago",
|
|
37
37
|
},
|
|
38
|
+
"apex-evals": {
|
|
39
|
+
name: "apex-evals",
|
|
40
|
+
description: "APEX Evals is a benchmark suite and evaluation harness for evaluating large language models.",
|
|
41
|
+
url: "https://github.com/Mercor-Intelligence/apex-evals",
|
|
42
|
+
},
|
|
38
43
|
"screenspot-pro": {
|
|
39
44
|
name: "screenspot-pro",
|
|
40
45
|
description: "ScreenSpot-Pro is a GUI grounding benchmark designed to evaluate how well AI agents can locate and identify UI elements across professional software applications in high-resolution screenshots, covering 1,585 annotated images from 26 professional tools.",
|
package/dist/commonjs/gguf.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ export declare enum GGMLFileQuantizationType {
|
|
|
39
39
|
TQ2_0 = 37,
|
|
40
40
|
MXFP4_MOE = 38,
|
|
41
41
|
NVFP4 = 39,
|
|
42
|
+
Q1_0 = 40,
|
|
42
43
|
Q2_K_XL = 1000,
|
|
43
44
|
Q3_K_XL = 1001,
|
|
44
45
|
Q4_K_XL = 1002,
|
|
@@ -84,6 +85,7 @@ export declare enum GGMLQuantizationType {
|
|
|
84
85
|
TQ1_0 = 34,
|
|
85
86
|
TQ2_0 = 35,
|
|
86
87
|
MXFP4 = 39,
|
|
87
|
-
NVFP4 = 40
|
|
88
|
+
NVFP4 = 40,
|
|
89
|
+
Q1_0 = 41
|
|
88
90
|
}
|
|
89
91
|
//# sourceMappingURL=gguf.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gguf.d.ts","sourceRoot":"","sources":["../../src/gguf.ts"],"names":[],"mappings":"AAGA,oBAAY,wBAAwB;IACnC,GAAG,IAAI;IACP,GAAG,IAAI;IACP,IAAI,IAAI;IACR,IAAI,IAAI;IACR,aAAa,IAAI;IACjB,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,KAAK;IACT,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,IAAI,KAAK;IACT,OAAO,KAAK;IACZ,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,OAAO,KAAK;IACZ,KAAK,KAAK;IACV,MAAM,KAAK;IACX,KAAK,KAAK;IACV,KAAK,KAAK;IACV,KAAK,KAAK;IACV,KAAK,KAAK;IACV,MAAM,KAAK;IACX,KAAK,KAAK;IACV,IAAI,KAAK;IACT,QAAQ,KAAK;IACb,QAAQ,KAAK;IACb,QAAQ,KAAK;IACb,KAAK,KAAK;IACV,KAAK,KAAK;IACV,SAAS,KAAK;IACd,KAAK,KAAK;
|
|
1
|
+
{"version":3,"file":"gguf.d.ts","sourceRoot":"","sources":["../../src/gguf.ts"],"names":[],"mappings":"AAGA,oBAAY,wBAAwB;IACnC,GAAG,IAAI;IACP,GAAG,IAAI;IACP,IAAI,IAAI;IACR,IAAI,IAAI;IACR,aAAa,IAAI;IACjB,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,KAAK;IACT,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,IAAI,KAAK;IACT,OAAO,KAAK;IACZ,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,OAAO,KAAK;IACZ,KAAK,KAAK;IACV,MAAM,KAAK;IACX,KAAK,KAAK;IACV,KAAK,KAAK;IACV,KAAK,KAAK;IACV,KAAK,KAAK;IACV,MAAM,KAAK;IACX,KAAK,KAAK;IACV,IAAI,KAAK;IACT,QAAQ,KAAK;IACb,QAAQ,KAAK;IACb,QAAQ,KAAK;IACb,KAAK,KAAK;IACV,KAAK,KAAK;IACV,SAAS,KAAK;IACd,KAAK,KAAK;IACV,IAAI,KAAK;IAIT,OAAO,OAAO;IACd,OAAO,OAAO;IACd,OAAO,OAAO;IACd,OAAO,OAAO;IACd,OAAO,OAAO;IACd,OAAO,OAAO;CACd;AAGD,eAAO,MAAM,aAAa,QAEzB,CAAC;AACF,eAAO,MAAM,oBAAoB,QAAiC,CAAC;AAEnE,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAGrE;AAKD,eAAO,MAAM,gBAAgB,EAAE,wBAAwB,EA4DtD,CAAC;AAIF,wBAAgB,oBAAoB,CACnC,KAAK,EAAE,wBAAwB,EAC/B,eAAe,EAAE,wBAAwB,EAAE,GACzC,wBAAwB,GAAG,SAAS,CAmCtC;AAGD,oBAAY,oBAAoB;IAC/B,GAAG,IAAI;IACP,GAAG,IAAI;IACP,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,OAAO,KAAK;IACZ,MAAM,KAAK;IACX,OAAO,KAAK;IACZ,KAAK,KAAK;IACV,MAAM,KAAK;IACX,KAAK,KAAK;IACV,KAAK,KAAK;IACV,MAAM,KAAK;IACX,EAAE,KAAK;IACP,GAAG,KAAK;IACR,GAAG,KAAK;IACR,GAAG,KAAK;IACR,GAAG,KAAK;IACR,KAAK,KAAK;IACV,IAAI,KAAK;IACT,KAAK,KAAK;IACV,KAAK,KAAK;IACV,KAAK,KAAK;IACV,KAAK,KAAK;IACV,IAAI,KAAK;CACT"}
|
package/dist/commonjs/gguf.js
CHANGED
|
@@ -48,6 +48,7 @@ var GGMLFileQuantizationType;
|
|
|
48
48
|
GGMLFileQuantizationType[GGMLFileQuantizationType["TQ2_0"] = 37] = "TQ2_0";
|
|
49
49
|
GGMLFileQuantizationType[GGMLFileQuantizationType["MXFP4_MOE"] = 38] = "MXFP4_MOE";
|
|
50
50
|
GGMLFileQuantizationType[GGMLFileQuantizationType["NVFP4"] = 39] = "NVFP4";
|
|
51
|
+
GGMLFileQuantizationType[GGMLFileQuantizationType["Q1_0"] = 40] = "Q1_0";
|
|
51
52
|
// custom quants used by unsloth
|
|
52
53
|
// they are not officially a scheme enum value in GGUF, but only here for naming
|
|
53
54
|
GGMLFileQuantizationType[GGMLFileQuantizationType["Q2_K_XL"] = 1000] = "Q2_K_XL";
|
|
@@ -120,6 +121,7 @@ exports.GGUF_QUANT_ORDER = [
|
|
|
120
121
|
GGMLFileQuantizationType.IQ1_M,
|
|
121
122
|
GGMLFileQuantizationType.TQ1_0,
|
|
122
123
|
GGMLFileQuantizationType.TQ2_0,
|
|
124
|
+
GGMLFileQuantizationType.Q1_0,
|
|
123
125
|
];
|
|
124
126
|
// This function finds the nearest quantization type that is less than or equal to the given quantization type.
|
|
125
127
|
// It returns undefined if no such quantization type is found.
|
|
@@ -190,4 +192,5 @@ var GGMLQuantizationType;
|
|
|
190
192
|
GGMLQuantizationType[GGMLQuantizationType["TQ2_0"] = 35] = "TQ2_0";
|
|
191
193
|
GGMLQuantizationType[GGMLQuantizationType["MXFP4"] = 39] = "MXFP4";
|
|
192
194
|
GGMLQuantizationType[GGMLQuantizationType["NVFP4"] = 40] = "NVFP4";
|
|
195
|
+
GGMLQuantizationType[GGMLQuantizationType["Q1_0"] = 41] = "Q1_0";
|
|
193
196
|
})(GGMLQuantizationType || (exports.GGMLQuantizationType = GGMLQuantizationType = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hardware-nvidia.d.ts","sourceRoot":"","sources":["../../src/hardware-nvidia.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,MAAM,WAAW,kBAAmB,SAAQ,YAAY;IACvD;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;CAC1B;AAED,oBAAY,yBAAyB;IACpC,eAAe,OAAO;IACtB,aAAa,KAAO;IACpB,SAAS,KAAO;IAChB,MAAM,IAAM;IACZ,YAAY,MAAM;IAClB,IAAI,MAAM;IACV,UAAU,MAAM;IAChB,MAAM,IAAM;IACZ,MAAM,MAAM;IACZ,MAAM,MAAM;IACZ,KAAK,IAAM;IACX,YAAY,MAAM;IAClB,MAAM,MAAM;IACZ,iBAAiB,IAAM;IACvB,OAAO,MAAM;CACb;AAED,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"hardware-nvidia.d.ts","sourceRoot":"","sources":["../../src/hardware-nvidia.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,MAAM,WAAW,kBAAmB,SAAQ,YAAY;IACvD;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;CAC1B;AAED,oBAAY,yBAAyB;IACpC,eAAe,OAAO;IACtB,aAAa,KAAO;IACpB,SAAS,KAAO;IAChB,MAAM,IAAM;IACZ,YAAY,MAAM;IAClB,IAAI,MAAM;IACV,UAAU,MAAM;IAChB,MAAM,IAAM;IACZ,MAAM,MAAM;IACZ,MAAM,MAAM;IACZ,KAAK,IAAM;IACX,YAAY,MAAM;IAClB,MAAM,MAAM;IACZ,iBAAiB,IAAM;IACvB,OAAO,MAAM;CACb;AAED,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAwhB1D,CAAC"}
|
|
@@ -186,7 +186,7 @@ exports.NVIDIA_SKUS = {
|
|
|
186
186
|
computeCapability: 8.6,
|
|
187
187
|
},
|
|
188
188
|
A2: {
|
|
189
|
-
tflops: 4.531,
|
|
189
|
+
tflops: 4.531,
|
|
190
190
|
memory: [16],
|
|
191
191
|
computeCapability: 8.6,
|
|
192
192
|
},
|
|
@@ -211,7 +211,7 @@ exports.NVIDIA_SKUS = {
|
|
|
211
211
|
computeCapability: 12.0,
|
|
212
212
|
},
|
|
213
213
|
"RTX 5080 Mobile": {
|
|
214
|
-
tflops:
|
|
214
|
+
tflops: 23.04,
|
|
215
215
|
memory: [16],
|
|
216
216
|
computeCapability: 12.0,
|
|
217
217
|
},
|
|
@@ -221,7 +221,7 @@ exports.NVIDIA_SKUS = {
|
|
|
221
221
|
computeCapability: 12.0,
|
|
222
222
|
},
|
|
223
223
|
"RTX 5070 Mobile": {
|
|
224
|
-
tflops:
|
|
224
|
+
tflops: 13.13,
|
|
225
225
|
memory: [8],
|
|
226
226
|
computeCapability: 12.0,
|
|
227
227
|
},
|
|
@@ -230,13 +230,23 @@ exports.NVIDIA_SKUS = {
|
|
|
230
230
|
memory: [16],
|
|
231
231
|
computeCapability: 12.0,
|
|
232
232
|
},
|
|
233
|
+
"RTX 5070 Ti Mobile": {
|
|
234
|
+
tflops: 17.04,
|
|
235
|
+
memory: [12],
|
|
236
|
+
computeCapability: 12.0,
|
|
237
|
+
},
|
|
233
238
|
"RTX 5060 Ti": {
|
|
234
|
-
tflops: 23.7,
|
|
239
|
+
tflops: 23.7,
|
|
235
240
|
memory: [16, 8],
|
|
236
241
|
computeCapability: 12.0,
|
|
237
242
|
},
|
|
238
243
|
"RTX 5060": {
|
|
239
|
-
tflops: 19.18,
|
|
244
|
+
tflops: 19.18,
|
|
245
|
+
memory: [8],
|
|
246
|
+
computeCapability: 12.0,
|
|
247
|
+
},
|
|
248
|
+
"RTX 5060 Mobile": {
|
|
249
|
+
tflops: 9.684,
|
|
240
250
|
memory: [8],
|
|
241
251
|
computeCapability: 12.0,
|
|
242
252
|
},
|
|
@@ -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;CAClB;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;AAExE,MAAM,WAAW,YAAY;IAC5B;;;;;;;;;OASG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,eAAO,MAAM,sBAAsB,UAElC,CAAC;AAEF,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkSuD,CAAC;AAEzE,MAAM,MAAM,OAAO,GAAG,MAAM,OAAO,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-apps.d.ts","sourceRoot":"","sources":["../../src/local-apps.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB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BAnaS,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;;;;;;yBAiDzC,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;;;;;;yBA2F3D,SAAS,KAAG,eAAe,EAAE;;;;;;oCAiT3B,SAAS;yBA3PT,SAAS,KAAG,eAAe,EAAE;;;;;;;yBAoF9B,SAAS,KAAG,eAAe,EAAE;;;;;;;yBA7B/B,SAAS,KAAG,eAAe,EAAE;;;;;;;;;;;;;;yBApIzB,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAtDjD,SAAS,aAAa,MAAM,KAAG,MAAM;;;;;;;yBAIpC,SAAS,KAAG,eAAe,EAAE;;;;;;;yBAqSnB,SAAS,aAAa,MAAM,KAAG,MAAM;;;;;;;yBAM9C,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;;;;;;yBArDtD,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;CAuStC,CAAC;AAErC,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,UAAU,CAAC"}
|
|
@@ -134,15 +134,21 @@ const snippetOllama = (model, filepath) => {
|
|
|
134
134
|
};
|
|
135
135
|
const snippetUnsloth = (model) => {
|
|
136
136
|
const isGguf = isLlamaCppGgufModel(model);
|
|
137
|
+
const studio_content = [
|
|
138
|
+
"# Run unsloth studio",
|
|
139
|
+
"unsloth studio -H 0.0.0.0 -p 8888",
|
|
140
|
+
"# Then open http://localhost:8888 in your browser",
|
|
141
|
+
"# Search for " + model.id + " to start chatting",
|
|
142
|
+
].join("\n");
|
|
137
143
|
const studio_instructions = {
|
|
138
|
-
title: "
|
|
139
|
-
setup:
|
|
140
|
-
content:
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
144
|
+
title: "Install Unsloth Studio (macOS, Linux, WSL)",
|
|
145
|
+
setup: "curl -fsSL https://unsloth.ai/install.sh | sh",
|
|
146
|
+
content: studio_content,
|
|
147
|
+
};
|
|
148
|
+
const studio_instructions_windows = {
|
|
149
|
+
title: "Install Unsloth Studio (Windows)",
|
|
150
|
+
setup: "irm https://unsloth.ai/install.ps1 | iex",
|
|
151
|
+
content: studio_content,
|
|
146
152
|
};
|
|
147
153
|
const hf_spaces_instructions = {
|
|
148
154
|
title: "Using HuggingFace Spaces for Unsloth",
|
|
@@ -163,10 +169,10 @@ const snippetUnsloth = (model) => {
|
|
|
163
169
|
].join("\n"),
|
|
164
170
|
};
|
|
165
171
|
if (isGguf) {
|
|
166
|
-
return [studio_instructions, hf_spaces_instructions];
|
|
172
|
+
return [studio_instructions, studio_instructions_windows, hf_spaces_instructions];
|
|
167
173
|
}
|
|
168
174
|
else {
|
|
169
|
-
return [studio_instructions, hf_spaces_instructions, fastmodel_instructions];
|
|
175
|
+
return [studio_instructions, studio_instructions_windows, hf_spaces_instructions, fastmodel_instructions];
|
|
170
176
|
}
|
|
171
177
|
};
|
|
172
178
|
const snippetLocalAI = (model, filepath) => {
|
|
@@ -167,12 +167,14 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \\
|
|
|
167
167
|
};
|
|
168
168
|
(0, vitest_1.expect)(displayOnModelPage(model)).toBe(true);
|
|
169
169
|
const snippet = snippetFunc(model);
|
|
170
|
-
(0, vitest_1.expect)(snippet[0].setup).toBe("
|
|
171
|
-
(0, vitest_1.expect)(snippet[0].content).toBe("# Run unsloth studio\nunsloth studio -H 0.0.0.0 -p
|
|
172
|
-
(0, vitest_1.expect)(snippet[1].setup).toBe("
|
|
173
|
-
(0, vitest_1.expect)(snippet[1].content).toBe(
|
|
174
|
-
(0, vitest_1.expect)(snippet[2].setup).toBe("
|
|
175
|
-
(0, vitest_1.expect)(snippet[2].content).toBe(
|
|
170
|
+
(0, vitest_1.expect)(snippet[0].setup).toBe("curl -fsSL https://unsloth.ai/install.sh | sh");
|
|
171
|
+
(0, vitest_1.expect)(snippet[0].content).toBe("# Run unsloth studio\nunsloth studio -H 0.0.0.0 -p 8888\n# Then open http://localhost:8888 in your browser\n# Search for some-user/my-unsloth-finetune to start chatting");
|
|
172
|
+
(0, vitest_1.expect)(snippet[1].setup).toBe("irm https://unsloth.ai/install.ps1 | iex");
|
|
173
|
+
(0, vitest_1.expect)(snippet[1].content).toBe(snippet[0].content);
|
|
174
|
+
(0, vitest_1.expect)(snippet[2].setup).toBe("# No setup required");
|
|
175
|
+
(0, vitest_1.expect)(snippet[2].content).toBe("# Open https://huggingface.co/spaces/unsloth/studio in your browser\n# Search for some-user/my-unsloth-finetune to start chatting");
|
|
176
|
+
(0, vitest_1.expect)(snippet[3].setup).toBe("pip install unsloth");
|
|
177
|
+
(0, vitest_1.expect)(snippet[3].content).toBe('from unsloth import FastModel\nmodel, tokenizer = FastModel.from_pretrained(\n model_name="some-user/my-unsloth-finetune",\n max_seq_length=2048,\n)');
|
|
176
178
|
});
|
|
177
179
|
(0, vitest_1.it)("unsloth namespace gguf model", async () => {
|
|
178
180
|
const { displayOnModelPage, snippet: snippetFunc } = local_apps_js_1.LOCAL_APPS.unsloth;
|
|
@@ -184,11 +186,13 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \\
|
|
|
184
186
|
};
|
|
185
187
|
(0, vitest_1.expect)(displayOnModelPage(model)).toBe(true);
|
|
186
188
|
const snippet = snippetFunc(model);
|
|
187
|
-
(0, vitest_1.expect)(snippet[0].setup).toBe("
|
|
188
|
-
(0, vitest_1.expect)(snippet[0].content).toBe("# Run unsloth studio\nunsloth studio -H 0.0.0.0 -p
|
|
189
|
-
(0, vitest_1.expect)(snippet[1].setup).toBe("
|
|
190
|
-
(0, vitest_1.expect)(snippet[1].content).toBe(
|
|
191
|
-
(0, vitest_1.expect)(snippet).
|
|
189
|
+
(0, vitest_1.expect)(snippet[0].setup).toBe("curl -fsSL https://unsloth.ai/install.sh | sh");
|
|
190
|
+
(0, vitest_1.expect)(snippet[0].content).toBe("# Run unsloth studio\nunsloth studio -H 0.0.0.0 -p 8888\n# Then open http://localhost:8888 in your browser\n# Search for unsloth/Llama-3.2-3B-Instruct-GGUF to start chatting");
|
|
191
|
+
(0, vitest_1.expect)(snippet[1].setup).toBe("irm https://unsloth.ai/install.ps1 | iex");
|
|
192
|
+
(0, vitest_1.expect)(snippet[1].content).toBe(snippet[0].content);
|
|
193
|
+
(0, vitest_1.expect)(snippet[2].setup).toBe("# No setup required");
|
|
194
|
+
(0, vitest_1.expect)(snippet[2].content).toBe("# Open https://huggingface.co/spaces/unsloth/studio in your browser\n# Search for unsloth/Llama-3.2-3B-Instruct-GGUF to start chatting");
|
|
195
|
+
(0, vitest_1.expect)(snippet).toHaveLength(3); // GGUF models only get 3 snippets
|
|
192
196
|
});
|
|
193
197
|
(0, vitest_1.it)("non unsloth namespace gguf model", async () => {
|
|
194
198
|
const { displayOnModelPage } = local_apps_js_1.LOCAL_APPS.unsloth;
|
|
@@ -437,6 +437,13 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
437
437
|
snippets: (model: ModelData) => string[];
|
|
438
438
|
filter: true;
|
|
439
439
|
};
|
|
440
|
+
eupe: {
|
|
441
|
+
prettyLabel: string;
|
|
442
|
+
repoName: string;
|
|
443
|
+
repoUrl: string;
|
|
444
|
+
filter: false;
|
|
445
|
+
countDownloads: string;
|
|
446
|
+
};
|
|
440
447
|
fairseq: {
|
|
441
448
|
prettyLabel: string;
|
|
442
449
|
repoName: string;
|
|
@@ -1568,5 +1575,5 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
1568
1575
|
};
|
|
1569
1576
|
export type ModelLibraryKey = keyof typeof MODEL_LIBRARIES_UI_ELEMENTS;
|
|
1570
1577
|
export declare const ALL_MODEL_LIBRARY_KEYS: ModelLibraryKey[];
|
|
1571
|
-
export declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("acestep" | "adapter-transformers" | "allennlp" | "anemoi" | "araclip" | "aviation-ner" | "asteroid" | "audiocraft" | "audioseal" | "bagel-mot" | "bboxmaskpose" | "ben2" | "bertopic" | "big_vision" | "bionemo" | "birder" | "birefnet" | "bm25s" | "boltzgen" | "cancertathomev2" | "cartesia_pytorch" | "cartesia_mlx" | "champ" | "chatterbox" | "chaossim" | "chat_tts" | "chronos-forecasting" | "clara" | "clipscope" | "cloud-agents" | "colipri" | "cosyvoice" | "cotracker" | "colpali" | "comet" | "cosmos" | "cxr-foundation" | "deepforest" | "depth-anything-v2" | "depth-pro" | "derm-foundation" | "describe-anything" | "dia-tts" | "dia2" | "diff-interpretation-tuning" | "diffree" | "diffusers" | "diffusionkit" | "docking-at-home" | "doctr" | "edsnlp" | "elm" | "espnet" | "fairseq" | "fastai" | "fastprint" | "fasttext" | "fixer" | "flair" | "fme" | "gemma.cpp" | "geometry-crafter" | "gliner" | "gliner2" | "glm-tts" | "glyph-byt5" | "granite-library" | "grok" | "habibi-tts" | "hallo" | "hermes" | "hezar" | "htrflow" | "hunyuan-dit" | "hunyuan3d-2" | "hunyuanworld-voyager" | "hy-worldplay" | "image-matching-models" | "imstoucan" | "index-tts" | "infinitetalk" | "infinite-you" | "intellifold" | "keras" | "tf-keras" | "keras-hub" | "kernels" | "kimi-audio" | "kittentts" | "kronos" | "k2" | "lagernvs" | "lightning-ir" | "litert" | "litert-lm" | "lerobot" | "lightglue" | "liveportrait" | "llama-cpp-python" | "mini-omni2" | "mindspore" | "magi-1" | "magenta-realtime" | "mamba-ssm" | "manas-1" | "mars5-tts" | "matanyone" | "mesh-anything" | "merlin" | "medvae" | "mitie" | "ml-agents" | "ml-sharp" | "mlx" | "mlx-image" | "mlc-llm" | "model2vec" | "moshi" | "mtvcraft" | "nemo" | "nv-medtech" | "open-oasis" | "open_clip" | "openpeerllm" | "open-sora" | "outetts" | "paddlenlp" | "PaddleOCR" | "peft" | "perception-encoder" | "phantom-wan" | "pocket-tts" | "pruna-ai" | "pxia" | "pyannote-audio" | "py-feat" | "pythae" | "quantumpeer" | "qwen3_tts" | "recurrentgemma" | "relik" | "refiners" | "renderformer" | "reverb" | "rkllm" | "saelens" | "sam2" | "sam-3d-body" | "sam-3d-objects" | "same" | "sample-factory" | "sap-rpt-1-oss" | "sapiens" | "seedvr" | "self-forcing" | "sentence-transformers" | "setfit" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "ssr-speech" | "stable-audio-tools" | "monkeyocr" | "diffusion-single-file" | "seed-story" | "soloaudio" | "songbloom" | "stable-baselines3" | "stanza" | "supertonic" | "swarmformer" | "synthefy-migas" | "f5-tts" | "genmo" | "tencent-song-generation" | "tensorflowtts" | "tensorrt" | "tabpfn" | "terratorch" | "tic-clip" | "timesfm" | "timm" | "tirex" | "torchgeo" | "transformers" | "transformers.js" | "trellis" | "ultralytics" | "univa" | "uni-3dar" | "unity-sentis" | "sana" | "videoprism" | "vfi-mamba" | "vismatch" | "lvface" | "voicecraft" | "voxcpm" | "vui" | "vibevoice" | "videox_fun" | "wan2.2" | "wham" | "whisperkit" | "yolov10" | "yolov26" | "zonos" | "3dtopia-xl")[];
|
|
1578
|
+
export declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("acestep" | "adapter-transformers" | "allennlp" | "anemoi" | "araclip" | "aviation-ner" | "asteroid" | "audiocraft" | "audioseal" | "bagel-mot" | "bboxmaskpose" | "ben2" | "bertopic" | "big_vision" | "bionemo" | "birder" | "birefnet" | "bm25s" | "boltzgen" | "cancertathomev2" | "cartesia_pytorch" | "cartesia_mlx" | "champ" | "chatterbox" | "chaossim" | "chat_tts" | "chronos-forecasting" | "clara" | "clipscope" | "cloud-agents" | "colipri" | "cosyvoice" | "cotracker" | "colpali" | "comet" | "cosmos" | "cxr-foundation" | "deepforest" | "depth-anything-v2" | "depth-pro" | "derm-foundation" | "describe-anything" | "dia-tts" | "dia2" | "diff-interpretation-tuning" | "diffree" | "diffusers" | "diffusionkit" | "docking-at-home" | "doctr" | "edsnlp" | "elm" | "espnet" | "eupe" | "fairseq" | "fastai" | "fastprint" | "fasttext" | "fixer" | "flair" | "fme" | "gemma.cpp" | "geometry-crafter" | "gliner" | "gliner2" | "glm-tts" | "glyph-byt5" | "granite-library" | "grok" | "habibi-tts" | "hallo" | "hermes" | "hezar" | "htrflow" | "hunyuan-dit" | "hunyuan3d-2" | "hunyuanworld-voyager" | "hy-worldplay" | "image-matching-models" | "imstoucan" | "index-tts" | "infinitetalk" | "infinite-you" | "intellifold" | "keras" | "tf-keras" | "keras-hub" | "kernels" | "kimi-audio" | "kittentts" | "kronos" | "k2" | "lagernvs" | "lightning-ir" | "litert" | "litert-lm" | "lerobot" | "lightglue" | "liveportrait" | "llama-cpp-python" | "mini-omni2" | "mindspore" | "magi-1" | "magenta-realtime" | "mamba-ssm" | "manas-1" | "mars5-tts" | "matanyone" | "mesh-anything" | "merlin" | "medvae" | "mitie" | "ml-agents" | "ml-sharp" | "mlx" | "mlx-image" | "mlc-llm" | "model2vec" | "moshi" | "mtvcraft" | "nemo" | "nv-medtech" | "open-oasis" | "open_clip" | "openpeerllm" | "open-sora" | "outetts" | "paddlenlp" | "PaddleOCR" | "peft" | "perception-encoder" | "phantom-wan" | "pocket-tts" | "pruna-ai" | "pxia" | "pyannote-audio" | "py-feat" | "pythae" | "quantumpeer" | "qwen3_tts" | "recurrentgemma" | "relik" | "refiners" | "renderformer" | "reverb" | "rkllm" | "saelens" | "sam2" | "sam-3d-body" | "sam-3d-objects" | "same" | "sample-factory" | "sap-rpt-1-oss" | "sapiens" | "seedvr" | "self-forcing" | "sentence-transformers" | "setfit" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "ssr-speech" | "stable-audio-tools" | "monkeyocr" | "diffusion-single-file" | "seed-story" | "soloaudio" | "songbloom" | "stable-baselines3" | "stanza" | "supertonic" | "swarmformer" | "synthefy-migas" | "f5-tts" | "genmo" | "tencent-song-generation" | "tensorflowtts" | "tensorrt" | "tabpfn" | "terratorch" | "tic-clip" | "timesfm" | "timm" | "tirex" | "torchgeo" | "transformers" | "transformers.js" | "trellis" | "ultralytics" | "univa" | "uni-3dar" | "unity-sentis" | "sana" | "videoprism" | "vfi-mamba" | "vismatch" | "lvface" | "voicecraft" | "voxcpm" | "vui" | "vibevoice" | "videox_fun" | "wan2.2" | "wham" | "whisperkit" | "yolov10" | "yolov26" | "zonos" | "3dtopia-xl")[];
|
|
1572
1579
|
//# 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,E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|
436
436
|
},
|
|
437
|
+
eupe: {
|
|
438
|
+
prettyLabel: "EUPE",
|
|
439
|
+
repoName: "EUPE",
|
|
440
|
+
repoUrl: "https://github.com/facebookresearch/EUPE",
|
|
441
|
+
filter: false,
|
|
442
|
+
countDownloads: `path_extension:"pt"`,
|
|
443
|
+
},
|
|
437
444
|
fairseq: {
|
|
438
445
|
prettyLabel: "Fairseq",
|
|
439
446
|
repoName: "fairseq",
|
package/dist/esm/eval.d.ts
CHANGED
|
@@ -32,6 +32,11 @@ export declare const EVALUATION_FRAMEWORKS: {
|
|
|
32
32
|
readonly description: "Archipelago is a system for running and evaluating AI agents against MCP applications.";
|
|
33
33
|
readonly url: "https://github.com/Mercor-Intelligence/archipelago";
|
|
34
34
|
};
|
|
35
|
+
readonly "apex-evals": {
|
|
36
|
+
readonly name: "apex-evals";
|
|
37
|
+
readonly description: "APEX Evals is a benchmark suite and evaluation harness for evaluating large language models.";
|
|
38
|
+
readonly url: "https://github.com/Mercor-Intelligence/apex-evals";
|
|
39
|
+
};
|
|
35
40
|
readonly "screenspot-pro": {
|
|
36
41
|
readonly name: "screenspot-pro";
|
|
37
42
|
readonly description: "ScreenSpot-Pro is a GUI grounding benchmark designed to evaluate how well AI agents can locate and identify UI elements across professional software applications in high-resolution screenshots, covering 1,585 annotated images from 26 professional tools.";
|
package/dist/esm/eval.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eval.d.ts","sourceRoot":"","sources":["../../src/eval.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"eval.d.ts","sourceRoot":"","sources":["../../src/eval.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsExB,CAAC"}
|
package/dist/esm/eval.js
CHANGED
|
@@ -32,6 +32,11 @@ export const EVALUATION_FRAMEWORKS = {
|
|
|
32
32
|
description: "Archipelago is a system for running and evaluating AI agents against MCP applications.",
|
|
33
33
|
url: "https://github.com/Mercor-Intelligence/archipelago",
|
|
34
34
|
},
|
|
35
|
+
"apex-evals": {
|
|
36
|
+
name: "apex-evals",
|
|
37
|
+
description: "APEX Evals is a benchmark suite and evaluation harness for evaluating large language models.",
|
|
38
|
+
url: "https://github.com/Mercor-Intelligence/apex-evals",
|
|
39
|
+
},
|
|
35
40
|
"screenspot-pro": {
|
|
36
41
|
name: "screenspot-pro",
|
|
37
42
|
description: "ScreenSpot-Pro is a GUI grounding benchmark designed to evaluate how well AI agents can locate and identify UI elements across professional software applications in high-resolution screenshots, covering 1,585 annotated images from 26 professional tools.",
|
package/dist/esm/gguf.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ export declare enum GGMLFileQuantizationType {
|
|
|
39
39
|
TQ2_0 = 37,
|
|
40
40
|
MXFP4_MOE = 38,
|
|
41
41
|
NVFP4 = 39,
|
|
42
|
+
Q1_0 = 40,
|
|
42
43
|
Q2_K_XL = 1000,
|
|
43
44
|
Q3_K_XL = 1001,
|
|
44
45
|
Q4_K_XL = 1002,
|
|
@@ -84,6 +85,7 @@ export declare enum GGMLQuantizationType {
|
|
|
84
85
|
TQ1_0 = 34,
|
|
85
86
|
TQ2_0 = 35,
|
|
86
87
|
MXFP4 = 39,
|
|
87
|
-
NVFP4 = 40
|
|
88
|
+
NVFP4 = 40,
|
|
89
|
+
Q1_0 = 41
|
|
88
90
|
}
|
|
89
91
|
//# sourceMappingURL=gguf.d.ts.map
|
package/dist/esm/gguf.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gguf.d.ts","sourceRoot":"","sources":["../../src/gguf.ts"],"names":[],"mappings":"AAGA,oBAAY,wBAAwB;IACnC,GAAG,IAAI;IACP,GAAG,IAAI;IACP,IAAI,IAAI;IACR,IAAI,IAAI;IACR,aAAa,IAAI;IACjB,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,KAAK;IACT,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,IAAI,KAAK;IACT,OAAO,KAAK;IACZ,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,OAAO,KAAK;IACZ,KAAK,KAAK;IACV,MAAM,KAAK;IACX,KAAK,KAAK;IACV,KAAK,KAAK;IACV,KAAK,KAAK;IACV,KAAK,KAAK;IACV,MAAM,KAAK;IACX,KAAK,KAAK;IACV,IAAI,KAAK;IACT,QAAQ,KAAK;IACb,QAAQ,KAAK;IACb,QAAQ,KAAK;IACb,KAAK,KAAK;IACV,KAAK,KAAK;IACV,SAAS,KAAK;IACd,KAAK,KAAK;
|
|
1
|
+
{"version":3,"file":"gguf.d.ts","sourceRoot":"","sources":["../../src/gguf.ts"],"names":[],"mappings":"AAGA,oBAAY,wBAAwB;IACnC,GAAG,IAAI;IACP,GAAG,IAAI;IACP,IAAI,IAAI;IACR,IAAI,IAAI;IACR,aAAa,IAAI;IACjB,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,KAAK;IACT,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,IAAI,KAAK;IACT,OAAO,KAAK;IACZ,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,OAAO,KAAK;IACZ,KAAK,KAAK;IACV,MAAM,KAAK;IACX,KAAK,KAAK;IACV,KAAK,KAAK;IACV,KAAK,KAAK;IACV,KAAK,KAAK;IACV,MAAM,KAAK;IACX,K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ED
|
@@ -43,6 +43,7 @@ export var GGMLFileQuantizationType;
|
|
|
43
43
|
GGMLFileQuantizationType[GGMLFileQuantizationType["TQ2_0"] = 37] = "TQ2_0";
|
|
44
44
|
GGMLFileQuantizationType[GGMLFileQuantizationType["MXFP4_MOE"] = 38] = "MXFP4_MOE";
|
|
45
45
|
GGMLFileQuantizationType[GGMLFileQuantizationType["NVFP4"] = 39] = "NVFP4";
|
|
46
|
+
GGMLFileQuantizationType[GGMLFileQuantizationType["Q1_0"] = 40] = "Q1_0";
|
|
46
47
|
// custom quants used by unsloth
|
|
47
48
|
// they are not officially a scheme enum value in GGUF, but only here for naming
|
|
48
49
|
GGMLFileQuantizationType[GGMLFileQuantizationType["Q2_K_XL"] = 1000] = "Q2_K_XL";
|
|
@@ -115,6 +116,7 @@ export const GGUF_QUANT_ORDER = [
|
|
|
115
116
|
GGMLFileQuantizationType.IQ1_M,
|
|
116
117
|
GGMLFileQuantizationType.TQ1_0,
|
|
117
118
|
GGMLFileQuantizationType.TQ2_0,
|
|
119
|
+
GGMLFileQuantizationType.Q1_0,
|
|
118
120
|
];
|
|
119
121
|
// This function finds the nearest quantization type that is less than or equal to the given quantization type.
|
|
120
122
|
// It returns undefined if no such quantization type is found.
|
|
@@ -185,4 +187,5 @@ export var GGMLQuantizationType;
|
|
|
185
187
|
GGMLQuantizationType[GGMLQuantizationType["TQ2_0"] = 35] = "TQ2_0";
|
|
186
188
|
GGMLQuantizationType[GGMLQuantizationType["MXFP4"] = 39] = "MXFP4";
|
|
187
189
|
GGMLQuantizationType[GGMLQuantizationType["NVFP4"] = 40] = "NVFP4";
|
|
190
|
+
GGMLQuantizationType[GGMLQuantizationType["Q1_0"] = 41] = "Q1_0";
|
|
188
191
|
})(GGMLQuantizationType || (GGMLQuantizationType = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hardware-nvidia.d.ts","sourceRoot":"","sources":["../../src/hardware-nvidia.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,MAAM,WAAW,kBAAmB,SAAQ,YAAY;IACvD;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;CAC1B;AAED,oBAAY,yBAAyB;IACpC,eAAe,OAAO;IACtB,aAAa,KAAO;IACpB,SAAS,KAAO;IAChB,MAAM,IAAM;IACZ,YAAY,MAAM;IAClB,IAAI,MAAM;IACV,UAAU,MAAM;IAChB,MAAM,IAAM;IACZ,MAAM,MAAM;IACZ,MAAM,MAAM;IACZ,KAAK,IAAM;IACX,YAAY,MAAM;IAClB,MAAM,MAAM;IACZ,iBAAiB,IAAM;IACvB,OAAO,MAAM;CACb;AAED,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"hardware-nvidia.d.ts","sourceRoot":"","sources":["../../src/hardware-nvidia.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,MAAM,WAAW,kBAAmB,SAAQ,YAAY;IACvD;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;CAC1B;AAED,oBAAY,yBAAyB;IACpC,eAAe,OAAO;IACtB,aAAa,KAAO;IACpB,SAAS,KAAO;IAChB,MAAM,IAAM;IACZ,YAAY,MAAM;IAClB,IAAI,MAAM;IACV,UAAU,MAAM;IAChB,MAAM,IAAM;IACZ,MAAM,MAAM;IACZ,MAAM,MAAM;IACZ,KAAK,IAAM;IACX,YAAY,MAAM;IAClB,MAAM,MAAM;IACZ,iBAAiB,IAAM;IACvB,OAAO,MAAM;CACb;AAED,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAwhB1D,CAAC"}
|
|
@@ -183,7 +183,7 @@ export const NVIDIA_SKUS = {
|
|
|
183
183
|
computeCapability: 8.6,
|
|
184
184
|
},
|
|
185
185
|
A2: {
|
|
186
|
-
tflops: 4.531,
|
|
186
|
+
tflops: 4.531,
|
|
187
187
|
memory: [16],
|
|
188
188
|
computeCapability: 8.6,
|
|
189
189
|
},
|
|
@@ -208,7 +208,7 @@ export const NVIDIA_SKUS = {
|
|
|
208
208
|
computeCapability: 12.0,
|
|
209
209
|
},
|
|
210
210
|
"RTX 5080 Mobile": {
|
|
211
|
-
tflops:
|
|
211
|
+
tflops: 23.04,
|
|
212
212
|
memory: [16],
|
|
213
213
|
computeCapability: 12.0,
|
|
214
214
|
},
|
|
@@ -218,7 +218,7 @@ export const NVIDIA_SKUS = {
|
|
|
218
218
|
computeCapability: 12.0,
|
|
219
219
|
},
|
|
220
220
|
"RTX 5070 Mobile": {
|
|
221
|
-
tflops:
|
|
221
|
+
tflops: 13.13,
|
|
222
222
|
memory: [8],
|
|
223
223
|
computeCapability: 12.0,
|
|
224
224
|
},
|
|
@@ -227,13 +227,23 @@ export const NVIDIA_SKUS = {
|
|
|
227
227
|
memory: [16],
|
|
228
228
|
computeCapability: 12.0,
|
|
229
229
|
},
|
|
230
|
+
"RTX 5070 Ti Mobile": {
|
|
231
|
+
tflops: 17.04,
|
|
232
|
+
memory: [12],
|
|
233
|
+
computeCapability: 12.0,
|
|
234
|
+
},
|
|
230
235
|
"RTX 5060 Ti": {
|
|
231
|
-
tflops: 23.7,
|
|
236
|
+
tflops: 23.7,
|
|
232
237
|
memory: [16, 8],
|
|
233
238
|
computeCapability: 12.0,
|
|
234
239
|
},
|
|
235
240
|
"RTX 5060": {
|
|
236
|
-
tflops: 19.18,
|
|
241
|
+
tflops: 19.18,
|
|
242
|
+
memory: [8],
|
|
243
|
+
computeCapability: 12.0,
|
|
244
|
+
},
|
|
245
|
+
"RTX 5060 Mobile": {
|
|
246
|
+
tflops: 9.684,
|
|
237
247
|
memory: [8],
|
|
238
248
|
computeCapability: 12.0,
|
|
239
249
|
},
|
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;CAClB;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;AAExE,MAAM,WAAW,YAAY;IAC5B;;;;;;;;;OASG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,eAAO,MAAM,sBAAsB,UAElC,CAAC;AAEF,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkS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G,OAAO,CAE7C;AAED,iBAAS,mBAAmB,CAAC,KAAK,EAAE,SAAS,WAE5C;AAED,iBAAS,WAAW,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAU9C;AAED,iBAAS,wBAAwB,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAE3D;AA0BD,iBAAS,cAAc,CAAC,KAAK,EAAE,SAAS,WAEvC;AAqaD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,UAAU;;;;;;yBAnaS,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;;;;;;yBAiDzC,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;;;;;;yBA2F3D,SAAS,KAAG,eAAe,EAAE;;;;;;oCAiT3B,SAAS;yBA3PT,SAAS,KAAG,eAAe,EAAE;;;;;;;yBAoF9B,SAAS,KAAG,eAAe,EAAE;;;;;;;yBA7B/B,SAAS,KAAG,eAAe,EAAE;;;;;;;;;;;;;;yBApIzB,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAtDjD,SAAS,aAAa,MAAM,KAAG,MAAM;;;;;;;yBAIpC,SAAS,KAAG,eAAe,EAAE;;;;;;;yBAqSnB,SAAS,aAAa,MAAM,KAAG,MAAM;;;;;;;yBAM9C,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;;;;;;yBArDtD,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;CAuStC,CAAC;AAErC,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,UAAU,CAAC"}
|
package/dist/esm/local-apps.js
CHANGED
|
@@ -131,15 +131,21 @@ const snippetOllama = (model, filepath) => {
|
|
|
131
131
|
};
|
|
132
132
|
const snippetUnsloth = (model) => {
|
|
133
133
|
const isGguf = isLlamaCppGgufModel(model);
|
|
134
|
+
const studio_content = [
|
|
135
|
+
"# Run unsloth studio",
|
|
136
|
+
"unsloth studio -H 0.0.0.0 -p 8888",
|
|
137
|
+
"# Then open http://localhost:8888 in your browser",
|
|
138
|
+
"# Search for " + model.id + " to start chatting",
|
|
139
|
+
].join("\n");
|
|
134
140
|
const studio_instructions = {
|
|
135
|
-
title: "
|
|
136
|
-
setup:
|
|
137
|
-
content:
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
141
|
+
title: "Install Unsloth Studio (macOS, Linux, WSL)",
|
|
142
|
+
setup: "curl -fsSL https://unsloth.ai/install.sh | sh",
|
|
143
|
+
content: studio_content,
|
|
144
|
+
};
|
|
145
|
+
const studio_instructions_windows = {
|
|
146
|
+
title: "Install Unsloth Studio (Windows)",
|
|
147
|
+
setup: "irm https://unsloth.ai/install.ps1 | iex",
|
|
148
|
+
content: studio_content,
|
|
143
149
|
};
|
|
144
150
|
const hf_spaces_instructions = {
|
|
145
151
|
title: "Using HuggingFace Spaces for Unsloth",
|
|
@@ -160,10 +166,10 @@ const snippetUnsloth = (model) => {
|
|
|
160
166
|
].join("\n"),
|
|
161
167
|
};
|
|
162
168
|
if (isGguf) {
|
|
163
|
-
return [studio_instructions, hf_spaces_instructions];
|
|
169
|
+
return [studio_instructions, studio_instructions_windows, hf_spaces_instructions];
|
|
164
170
|
}
|
|
165
171
|
else {
|
|
166
|
-
return [studio_instructions, hf_spaces_instructions, fastmodel_instructions];
|
|
172
|
+
return [studio_instructions, studio_instructions_windows, hf_spaces_instructions, fastmodel_instructions];
|
|
167
173
|
}
|
|
168
174
|
};
|
|
169
175
|
const snippetLocalAI = (model, filepath) => {
|
|
@@ -165,12 +165,14 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \\
|
|
|
165
165
|
};
|
|
166
166
|
expect(displayOnModelPage(model)).toBe(true);
|
|
167
167
|
const snippet = snippetFunc(model);
|
|
168
|
-
expect(snippet[0].setup).toBe("
|
|
169
|
-
expect(snippet[0].content).toBe("# Run unsloth studio\nunsloth studio -H 0.0.0.0 -p
|
|
170
|
-
expect(snippet[1].setup).toBe("
|
|
171
|
-
expect(snippet[1].content).toBe(
|
|
172
|
-
expect(snippet[2].setup).toBe("
|
|
173
|
-
expect(snippet[2].content).toBe(
|
|
168
|
+
expect(snippet[0].setup).toBe("curl -fsSL https://unsloth.ai/install.sh | sh");
|
|
169
|
+
expect(snippet[0].content).toBe("# Run unsloth studio\nunsloth studio -H 0.0.0.0 -p 8888\n# Then open http://localhost:8888 in your browser\n# Search for some-user/my-unsloth-finetune to start chatting");
|
|
170
|
+
expect(snippet[1].setup).toBe("irm https://unsloth.ai/install.ps1 | iex");
|
|
171
|
+
expect(snippet[1].content).toBe(snippet[0].content);
|
|
172
|
+
expect(snippet[2].setup).toBe("# No setup required");
|
|
173
|
+
expect(snippet[2].content).toBe("# Open https://huggingface.co/spaces/unsloth/studio in your browser\n# Search for some-user/my-unsloth-finetune to start chatting");
|
|
174
|
+
expect(snippet[3].setup).toBe("pip install unsloth");
|
|
175
|
+
expect(snippet[3].content).toBe('from unsloth import FastModel\nmodel, tokenizer = FastModel.from_pretrained(\n model_name="some-user/my-unsloth-finetune",\n max_seq_length=2048,\n)');
|
|
174
176
|
});
|
|
175
177
|
it("unsloth namespace gguf model", async () => {
|
|
176
178
|
const { displayOnModelPage, snippet: snippetFunc } = LOCAL_APPS.unsloth;
|
|
@@ -182,11 +184,13 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \\
|
|
|
182
184
|
};
|
|
183
185
|
expect(displayOnModelPage(model)).toBe(true);
|
|
184
186
|
const snippet = snippetFunc(model);
|
|
185
|
-
expect(snippet[0].setup).toBe("
|
|
186
|
-
expect(snippet[0].content).toBe("# Run unsloth studio\nunsloth studio -H 0.0.0.0 -p
|
|
187
|
-
expect(snippet[1].setup).toBe("
|
|
188
|
-
expect(snippet[1].content).toBe(
|
|
189
|
-
expect(snippet).
|
|
187
|
+
expect(snippet[0].setup).toBe("curl -fsSL https://unsloth.ai/install.sh | sh");
|
|
188
|
+
expect(snippet[0].content).toBe("# Run unsloth studio\nunsloth studio -H 0.0.0.0 -p 8888\n# Then open http://localhost:8888 in your browser\n# Search for unsloth/Llama-3.2-3B-Instruct-GGUF to start chatting");
|
|
189
|
+
expect(snippet[1].setup).toBe("irm https://unsloth.ai/install.ps1 | iex");
|
|
190
|
+
expect(snippet[1].content).toBe(snippet[0].content);
|
|
191
|
+
expect(snippet[2].setup).toBe("# No setup required");
|
|
192
|
+
expect(snippet[2].content).toBe("# Open https://huggingface.co/spaces/unsloth/studio in your browser\n# Search for unsloth/Llama-3.2-3B-Instruct-GGUF to start chatting");
|
|
193
|
+
expect(snippet).toHaveLength(3); // GGUF models only get 3 snippets
|
|
190
194
|
});
|
|
191
195
|
it("non unsloth namespace gguf model", async () => {
|
|
192
196
|
const { displayOnModelPage } = LOCAL_APPS.unsloth;
|
|
@@ -437,6 +437,13 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
437
437
|
snippets: (model: ModelData) => string[];
|
|
438
438
|
filter: true;
|
|
439
439
|
};
|
|
440
|
+
eupe: {
|
|
441
|
+
prettyLabel: string;
|
|
442
|
+
repoName: string;
|
|
443
|
+
repoUrl: string;
|
|
444
|
+
filter: false;
|
|
445
|
+
countDownloads: string;
|
|
446
|
+
};
|
|
440
447
|
fairseq: {
|
|
441
448
|
prettyLabel: string;
|
|
442
449
|
repoName: string;
|
|
@@ -1568,5 +1575,5 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
1568
1575
|
};
|
|
1569
1576
|
export type ModelLibraryKey = keyof typeof MODEL_LIBRARIES_UI_ELEMENTS;
|
|
1570
1577
|
export declare const ALL_MODEL_LIBRARY_KEYS: ModelLibraryKey[];
|
|
1571
|
-
export declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("acestep" | "adapter-transformers" | "allennlp" | "anemoi" | "araclip" | "aviation-ner" | "asteroid" | "audiocraft" | "audioseal" | "bagel-mot" | "bboxmaskpose" | "ben2" | "bertopic" | "big_vision" | "bionemo" | "birder" | "birefnet" | "bm25s" | "boltzgen" | "cancertathomev2" | "cartesia_pytorch" | "cartesia_mlx" | "champ" | "chatterbox" | "chaossim" | "chat_tts" | "chronos-forecasting" | "clara" | "clipscope" | "cloud-agents" | "colipri" | "cosyvoice" | "cotracker" | "colpali" | "comet" | "cosmos" | "cxr-foundation" | "deepforest" | "depth-anything-v2" | "depth-pro" | "derm-foundation" | "describe-anything" | "dia-tts" | "dia2" | "diff-interpretation-tuning" | "diffree" | "diffusers" | "diffusionkit" | "docking-at-home" | "doctr" | "edsnlp" | "elm" | "espnet" | "fairseq" | "fastai" | "fastprint" | "fasttext" | "fixer" | "flair" | "fme" | "gemma.cpp" | "geometry-crafter" | "gliner" | "gliner2" | "glm-tts" | "glyph-byt5" | "granite-library" | "grok" | "habibi-tts" | "hallo" | "hermes" | "hezar" | "htrflow" | "hunyuan-dit" | "hunyuan3d-2" | "hunyuanworld-voyager" | "hy-worldplay" | "image-matching-models" | "imstoucan" | "index-tts" | "infinitetalk" | "infinite-you" | "intellifold" | "keras" | "tf-keras" | "keras-hub" | "kernels" | "kimi-audio" | "kittentts" | "kronos" | "k2" | "lagernvs" | "lightning-ir" | "litert" | "litert-lm" | "lerobot" | "lightglue" | "liveportrait" | "llama-cpp-python" | "mini-omni2" | "mindspore" | "magi-1" | "magenta-realtime" | "mamba-ssm" | "manas-1" | "mars5-tts" | "matanyone" | "mesh-anything" | "merlin" | "medvae" | "mitie" | "ml-agents" | "ml-sharp" | "mlx" | "mlx-image" | "mlc-llm" | "model2vec" | "moshi" | "mtvcraft" | "nemo" | "nv-medtech" | "open-oasis" | "open_clip" | "openpeerllm" | "open-sora" | "outetts" | "paddlenlp" | "PaddleOCR" | "peft" | "perception-encoder" | "phantom-wan" | "pocket-tts" | "pruna-ai" | "pxia" | "pyannote-audio" | "py-feat" | "pythae" | "quantumpeer" | "qwen3_tts" | "recurrentgemma" | "relik" | "refiners" | "renderformer" | "reverb" | "rkllm" | "saelens" | "sam2" | "sam-3d-body" | "sam-3d-objects" | "same" | "sample-factory" | "sap-rpt-1-oss" | "sapiens" | "seedvr" | "self-forcing" | "sentence-transformers" | "setfit" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "ssr-speech" | "stable-audio-tools" | "monkeyocr" | "diffusion-single-file" | "seed-story" | "soloaudio" | "songbloom" | "stable-baselines3" | "stanza" | "supertonic" | "swarmformer" | "synthefy-migas" | "f5-tts" | "genmo" | "tencent-song-generation" | "tensorflowtts" | "tensorrt" | "tabpfn" | "terratorch" | "tic-clip" | "timesfm" | "timm" | "tirex" | "torchgeo" | "transformers" | "transformers.js" | "trellis" | "ultralytics" | "univa" | "uni-3dar" | "unity-sentis" | "sana" | "videoprism" | "vfi-mamba" | "vismatch" | "lvface" | "voicecraft" | "voxcpm" | "vui" | "vibevoice" | "videox_fun" | "wan2.2" | "wham" | "whisperkit" | "yolov10" | "yolov26" | "zonos" | "3dtopia-xl")[];
|
|
1578
|
+
export declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("acestep" | "adapter-transformers" | "allennlp" | "anemoi" | "araclip" | "aviation-ner" | "asteroid" | "audiocraft" | "audioseal" | "bagel-mot" | "bboxmaskpose" | "ben2" | "bertopic" | "big_vision" | "bionemo" | "birder" | "birefnet" | "bm25s" | "boltzgen" | "cancertathomev2" | "cartesia_pytorch" | "cartesia_mlx" | "champ" | "chatterbox" | "chaossim" | "chat_tts" | "chronos-forecasting" | "clara" | "clipscope" | "cloud-agents" | "colipri" | "cosyvoice" | "cotracker" | "colpali" | "comet" | "cosmos" | "cxr-foundation" | "deepforest" | "depth-anything-v2" | "depth-pro" | "derm-foundation" | "describe-anything" | "dia-tts" | "dia2" | "diff-interpretation-tuning" | "diffree" | "diffusers" | "diffusionkit" | "docking-at-home" | "doctr" | "edsnlp" | "elm" | "espnet" | "eupe" | "fairseq" | "fastai" | "fastprint" | "fasttext" | "fixer" | "flair" | "fme" | "gemma.cpp" | "geometry-crafter" | "gliner" | "gliner2" | "glm-tts" | "glyph-byt5" | "granite-library" | "grok" | "habibi-tts" | "hallo" | "hermes" | "hezar" | "htrflow" | "hunyuan-dit" | "hunyuan3d-2" | "hunyuanworld-voyager" | "hy-worldplay" | "image-matching-models" | "imstoucan" | "index-tts" | "infinitetalk" | "infinite-you" | "intellifold" | "keras" | "tf-keras" | "keras-hub" | "kernels" | "kimi-audio" | "kittentts" | "kronos" | "k2" | "lagernvs" | "lightning-ir" | "litert" | "litert-lm" | "lerobot" | "lightglue" | "liveportrait" | "llama-cpp-python" | "mini-omni2" | "mindspore" | "magi-1" | "magenta-realtime" | "mamba-ssm" | "manas-1" | "mars5-tts" | "matanyone" | "mesh-anything" | "merlin" | "medvae" | "mitie" | "ml-agents" | "ml-sharp" | "mlx" | "mlx-image" | "mlc-llm" | "model2vec" | "moshi" | "mtvcraft" | "nemo" | "nv-medtech" | "open-oasis" | "open_clip" | "openpeerllm" | "open-sora" | "outetts" | "paddlenlp" | "PaddleOCR" | "peft" | "perception-encoder" | "phantom-wan" | "pocket-tts" | "pruna-ai" | "pxia" | "pyannote-audio" | "py-feat" | "pythae" | "quantumpeer" | "qwen3_tts" | "recurrentgemma" | "relik" | "refiners" | "renderformer" | "reverb" | "rkllm" | "saelens" | "sam2" | "sam-3d-body" | "sam-3d-objects" | "same" | "sample-factory" | "sap-rpt-1-oss" | "sapiens" | "seedvr" | "self-forcing" | "sentence-transformers" | "setfit" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "ssr-speech" | "stable-audio-tools" | "monkeyocr" | "diffusion-single-file" | "seed-story" | "soloaudio" | "songbloom" | "stable-baselines3" | "stanza" | "supertonic" | "swarmformer" | "synthefy-migas" | "f5-tts" | "genmo" | "tencent-song-generation" | "tensorflowtts" | "tensorrt" | "tabpfn" | "terratorch" | "tic-clip" | "timesfm" | "timm" | "tirex" | "torchgeo" | "transformers" | "transformers.js" | "trellis" | "ultralytics" | "univa" | "uni-3dar" | "unity-sentis" | "sana" | "videoprism" | "vfi-mamba" | "vismatch" | "lvface" | "voicecraft" | "voxcpm" | "vui" | "vibevoice" | "videox_fun" | "wan2.2" | "wham" | "whisperkit" | "yolov10" | "yolov26" | "zonos" | "3dtopia-xl")[];
|
|
1572
1579
|
//# 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;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|
|
403
|
+
repoName: "EUPE",
|
|
404
|
+
repoUrl: "https://github.com/facebookresearch/EUPE",
|
|
405
|
+
filter: false,
|
|
406
|
+
countDownloads: `path_extension:"pt"`,
|
|
407
|
+
},
|
|
401
408
|
fairseq: {
|
|
402
409
|
prettyLabel: "Fairseq",
|
|
403
410
|
repoName: "fairseq",
|
package/package.json
CHANGED
package/src/eval.ts
CHANGED
|
@@ -32,6 +32,11 @@ export const EVALUATION_FRAMEWORKS = {
|
|
|
32
32
|
description: "Archipelago is a system for running and evaluating AI agents against MCP applications.",
|
|
33
33
|
url: "https://github.com/Mercor-Intelligence/archipelago",
|
|
34
34
|
},
|
|
35
|
+
"apex-evals": {
|
|
36
|
+
name: "apex-evals",
|
|
37
|
+
description: "APEX Evals is a benchmark suite and evaluation harness for evaluating large language models.",
|
|
38
|
+
url: "https://github.com/Mercor-Intelligence/apex-evals",
|
|
39
|
+
},
|
|
35
40
|
"screenspot-pro": {
|
|
36
41
|
name: "screenspot-pro",
|
|
37
42
|
description:
|
package/src/gguf.ts
CHANGED
|
@@ -42,6 +42,7 @@ export enum GGMLFileQuantizationType {
|
|
|
42
42
|
TQ2_0 = 37,
|
|
43
43
|
MXFP4_MOE = 38,
|
|
44
44
|
NVFP4 = 39,
|
|
45
|
+
Q1_0 = 40,
|
|
45
46
|
|
|
46
47
|
// custom quants used by unsloth
|
|
47
48
|
// they are not officially a scheme enum value in GGUF, but only here for naming
|
|
@@ -126,6 +127,7 @@ export const GGUF_QUANT_ORDER: GGMLFileQuantizationType[] = [
|
|
|
126
127
|
GGMLFileQuantizationType.IQ1_M,
|
|
127
128
|
GGMLFileQuantizationType.TQ1_0,
|
|
128
129
|
GGMLFileQuantizationType.TQ2_0,
|
|
130
|
+
GGMLFileQuantizationType.Q1_0,
|
|
129
131
|
];
|
|
130
132
|
|
|
131
133
|
// This function finds the nearest quantization type that is less than or equal to the given quantization type.
|
|
@@ -205,4 +207,5 @@ export enum GGMLQuantizationType {
|
|
|
205
207
|
TQ2_0 = 35,
|
|
206
208
|
MXFP4 = 39,
|
|
207
209
|
NVFP4 = 40,
|
|
210
|
+
Q1_0 = 41,
|
|
208
211
|
}
|
package/src/hardware-nvidia.ts
CHANGED
|
@@ -194,7 +194,7 @@ export const NVIDIA_SKUS: Record<string, NvidiaHardwareSpec> = {
|
|
|
194
194
|
computeCapability: 8.6,
|
|
195
195
|
},
|
|
196
196
|
A2: {
|
|
197
|
-
tflops: 4.531,
|
|
197
|
+
tflops: 4.531,
|
|
198
198
|
memory: [16],
|
|
199
199
|
computeCapability: 8.6,
|
|
200
200
|
},
|
|
@@ -219,7 +219,7 @@ export const NVIDIA_SKUS: Record<string, NvidiaHardwareSpec> = {
|
|
|
219
219
|
computeCapability: 12.0,
|
|
220
220
|
},
|
|
221
221
|
"RTX 5080 Mobile": {
|
|
222
|
-
tflops:
|
|
222
|
+
tflops: 23.04,
|
|
223
223
|
memory: [16],
|
|
224
224
|
computeCapability: 12.0,
|
|
225
225
|
},
|
|
@@ -229,7 +229,7 @@ export const NVIDIA_SKUS: Record<string, NvidiaHardwareSpec> = {
|
|
|
229
229
|
computeCapability: 12.0,
|
|
230
230
|
},
|
|
231
231
|
"RTX 5070 Mobile": {
|
|
232
|
-
tflops:
|
|
232
|
+
tflops: 13.13,
|
|
233
233
|
memory: [8],
|
|
234
234
|
computeCapability: 12.0,
|
|
235
235
|
},
|
|
@@ -238,13 +238,23 @@ export const NVIDIA_SKUS: Record<string, NvidiaHardwareSpec> = {
|
|
|
238
238
|
memory: [16],
|
|
239
239
|
computeCapability: 12.0,
|
|
240
240
|
},
|
|
241
|
+
"RTX 5070 Ti Mobile": {
|
|
242
|
+
tflops: 17.04,
|
|
243
|
+
memory: [12],
|
|
244
|
+
computeCapability: 12.0,
|
|
245
|
+
},
|
|
241
246
|
"RTX 5060 Ti": {
|
|
242
|
-
tflops: 23.7,
|
|
247
|
+
tflops: 23.7,
|
|
243
248
|
memory: [16, 8],
|
|
244
249
|
computeCapability: 12.0,
|
|
245
250
|
},
|
|
246
251
|
"RTX 5060": {
|
|
247
|
-
tflops: 19.18,
|
|
252
|
+
tflops: 19.18,
|
|
253
|
+
memory: [8],
|
|
254
|
+
computeCapability: 12.0,
|
|
255
|
+
},
|
|
256
|
+
"RTX 5060 Mobile": {
|
|
257
|
+
tflops: 9.684,
|
|
248
258
|
memory: [8],
|
|
249
259
|
computeCapability: 12.0,
|
|
250
260
|
},
|
package/src/hardware.ts
CHANGED
package/src/local-apps.spec.ts
CHANGED
|
@@ -184,16 +184,18 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \\
|
|
|
184
184
|
|
|
185
185
|
expect(displayOnModelPage(model)).toBe(true);
|
|
186
186
|
const snippet = snippetFunc(model);
|
|
187
|
-
expect(snippet[0].setup).toBe("
|
|
187
|
+
expect(snippet[0].setup).toBe("curl -fsSL https://unsloth.ai/install.sh | sh");
|
|
188
188
|
expect(snippet[0].content).toBe(
|
|
189
|
-
"# Run unsloth studio\nunsloth studio -H 0.0.0.0 -p
|
|
189
|
+
"# Run unsloth studio\nunsloth studio -H 0.0.0.0 -p 8888\n# Then open http://localhost:8888 in your browser\n# Search for some-user/my-unsloth-finetune to start chatting",
|
|
190
190
|
);
|
|
191
|
-
expect(snippet[1].setup).toBe("
|
|
192
|
-
expect(snippet[1].content).toBe(
|
|
191
|
+
expect(snippet[1].setup).toBe("irm https://unsloth.ai/install.ps1 | iex");
|
|
192
|
+
expect(snippet[1].content).toBe(snippet[0].content);
|
|
193
|
+
expect(snippet[2].setup).toBe("# No setup required");
|
|
194
|
+
expect(snippet[2].content).toBe(
|
|
193
195
|
"# Open https://huggingface.co/spaces/unsloth/studio in your browser\n# Search for some-user/my-unsloth-finetune to start chatting",
|
|
194
196
|
);
|
|
195
|
-
expect(snippet[
|
|
196
|
-
expect(snippet[
|
|
197
|
+
expect(snippet[3].setup).toBe("pip install unsloth");
|
|
198
|
+
expect(snippet[3].content).toBe(
|
|
197
199
|
'from unsloth import FastModel\nmodel, tokenizer = FastModel.from_pretrained(\n model_name="some-user/my-unsloth-finetune",\n max_seq_length=2048,\n)',
|
|
198
200
|
);
|
|
199
201
|
});
|
|
@@ -209,15 +211,17 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \\
|
|
|
209
211
|
|
|
210
212
|
expect(displayOnModelPage(model)).toBe(true);
|
|
211
213
|
const snippet = snippetFunc(model);
|
|
212
|
-
expect(snippet[0].setup).toBe("
|
|
214
|
+
expect(snippet[0].setup).toBe("curl -fsSL https://unsloth.ai/install.sh | sh");
|
|
213
215
|
expect(snippet[0].content).toBe(
|
|
214
|
-
"# Run unsloth studio\nunsloth studio -H 0.0.0.0 -p
|
|
216
|
+
"# Run unsloth studio\nunsloth studio -H 0.0.0.0 -p 8888\n# Then open http://localhost:8888 in your browser\n# Search for unsloth/Llama-3.2-3B-Instruct-GGUF to start chatting",
|
|
215
217
|
);
|
|
216
|
-
expect(snippet[1].setup).toBe("
|
|
217
|
-
expect(snippet[1].content).toBe(
|
|
218
|
+
expect(snippet[1].setup).toBe("irm https://unsloth.ai/install.ps1 | iex");
|
|
219
|
+
expect(snippet[1].content).toBe(snippet[0].content);
|
|
220
|
+
expect(snippet[2].setup).toBe("# No setup required");
|
|
221
|
+
expect(snippet[2].content).toBe(
|
|
218
222
|
"# Open https://huggingface.co/spaces/unsloth/studio in your browser\n# Search for unsloth/Llama-3.2-3B-Instruct-GGUF to start chatting",
|
|
219
223
|
);
|
|
220
|
-
expect(snippet).toHaveLength(
|
|
224
|
+
expect(snippet).toHaveLength(3); // GGUF models only get 3 snippets
|
|
221
225
|
});
|
|
222
226
|
|
|
223
227
|
it("non unsloth namespace gguf model", async () => {
|
package/src/local-apps.ts
CHANGED
|
@@ -216,15 +216,23 @@ const snippetOllama = (model: ModelData, filepath?: string): string => {
|
|
|
216
216
|
const snippetUnsloth = (model: ModelData): LocalAppSnippet[] => {
|
|
217
217
|
const isGguf = isLlamaCppGgufModel(model);
|
|
218
218
|
|
|
219
|
+
const studio_content = [
|
|
220
|
+
"# Run unsloth studio",
|
|
221
|
+
"unsloth studio -H 0.0.0.0 -p 8888",
|
|
222
|
+
"# Then open http://localhost:8888 in your browser",
|
|
223
|
+
"# Search for " + model.id + " to start chatting",
|
|
224
|
+
].join("\n");
|
|
225
|
+
|
|
219
226
|
const studio_instructions: LocalAppSnippet = {
|
|
220
|
-
title: "
|
|
221
|
-
setup:
|
|
222
|
-
content:
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
227
|
+
title: "Install Unsloth Studio (macOS, Linux, WSL)",
|
|
228
|
+
setup: "curl -fsSL https://unsloth.ai/install.sh | sh",
|
|
229
|
+
content: studio_content,
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
const studio_instructions_windows: LocalAppSnippet = {
|
|
233
|
+
title: "Install Unsloth Studio (Windows)",
|
|
234
|
+
setup: "irm https://unsloth.ai/install.ps1 | iex",
|
|
235
|
+
content: studio_content,
|
|
228
236
|
};
|
|
229
237
|
|
|
230
238
|
const hf_spaces_instructions: LocalAppSnippet = {
|
|
@@ -249,9 +257,9 @@ const snippetUnsloth = (model: ModelData): LocalAppSnippet[] => {
|
|
|
249
257
|
};
|
|
250
258
|
|
|
251
259
|
if (isGguf) {
|
|
252
|
-
return [studio_instructions, hf_spaces_instructions];
|
|
260
|
+
return [studio_instructions, studio_instructions_windows, hf_spaces_instructions];
|
|
253
261
|
} else {
|
|
254
|
-
return [studio_instructions, hf_spaces_instructions, fastmodel_instructions];
|
|
262
|
+
return [studio_instructions, studio_instructions_windows, hf_spaces_instructions, fastmodel_instructions];
|
|
255
263
|
}
|
|
256
264
|
};
|
|
257
265
|
|
package/src/model-libraries.ts
CHANGED
|
@@ -442,6 +442,13 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
442
442
|
snippets: snippets.espnet,
|
|
443
443
|
filter: true,
|
|
444
444
|
},
|
|
445
|
+
eupe: {
|
|
446
|
+
prettyLabel: "EUPE",
|
|
447
|
+
repoName: "EUPE",
|
|
448
|
+
repoUrl: "https://github.com/facebookresearch/EUPE",
|
|
449
|
+
filter: false,
|
|
450
|
+
countDownloads: `path_extension:"pt"`,
|
|
451
|
+
},
|
|
445
452
|
fairseq: {
|
|
446
453
|
prettyLabel: "Fairseq",
|
|
447
454
|
repoName: "fairseq",
|