@huggingface/tasks 0.15.2 → 0.15.3
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 +4 -0
- package/dist/commonjs/hardware.d.ts.map +1 -1
- package/dist/commonjs/hardware.js +4 -0
- package/dist/commonjs/model-libraries.d.ts +0 -1
- package/dist/commonjs/model-libraries.d.ts.map +1 -1
- package/dist/commonjs/model-libraries.js +0 -1
- package/dist/commonjs/tasks/text-to-video/inference.d.ts +3 -3
- 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/model-libraries.d.ts +0 -1
- package/dist/esm/model-libraries.d.ts.map +1 -1
- package/dist/esm/model-libraries.js +0 -1
- package/dist/esm/tasks/text-to-video/inference.d.ts +3 -3
- package/package.json +1 -1
- package/src/hardware.ts +4 -0
- package/src/model-libraries.ts +0 -1
- package/src/tasks/text-to-video/inference.ts +3 -3
- package/src/tasks/text-to-video/spec/input.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hardware.d.ts","sourceRoot":"","sources":["../../src/hardware.ts"],"names":[],"mappings":"AAAA;;;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,UAAqD,CAAC;AAEzF,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"hardware.d.ts","sourceRoot":"","sources":["../../src/hardware.ts"],"names":[],"mappings":"AAAA;;;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,UAAqD,CAAC;AAEzF,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyeuD,CAAC;AAEzE,MAAM,MAAM,OAAO,GAAG,MAAM,OAAO,IAAI,CAAC"}
|
|
@@ -193,6 +193,10 @@ exports.SKUS = {
|
|
|
193
193
|
tflops: 8.2, // float32 (GPU does not support native float16)
|
|
194
194
|
memory: [8],
|
|
195
195
|
},
|
|
196
|
+
"GTX 1060": {
|
|
197
|
+
tflops: 3.9, // float32 (GPU does not support native float16)
|
|
198
|
+
memory: [3, 6],
|
|
199
|
+
},
|
|
196
200
|
"RTX Titan": {
|
|
197
201
|
tflops: 32.62,
|
|
198
202
|
memory: [24],
|
|
@@ -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,CAA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,MAAM,eAAe,GAAG,MAAM,OAAO,2BAA2B,CAAC;AAEvE,eAAO,MAAM,sBAAsB,EAA+C,eAAe,EAAE,CAAC;AAEpG,eAAO,MAAM,8BAA8B,0gDAQ1B,CAAC"}
|
|
@@ -167,7 +167,6 @@ exports.MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
167
167
|
repoName: "deepforest",
|
|
168
168
|
docsUrl: "https://deepforest.readthedocs.io/en/latest/",
|
|
169
169
|
repoUrl: "https://github.com/weecology/DeepForest",
|
|
170
|
-
countDownloads: `path_extension:"pt" OR path_extension:"pl"`,
|
|
171
170
|
},
|
|
172
171
|
"depth-anything-v2": {
|
|
173
172
|
prettyLabel: "DepthAnythingV2",
|
|
@@ -22,12 +22,12 @@ export interface TextToVideoInput {
|
|
|
22
22
|
*/
|
|
23
23
|
export interface TextToVideoParameters {
|
|
24
24
|
/**
|
|
25
|
-
* A higher guidance scale value encourages the model to generate
|
|
25
|
+
* A higher guidance scale value encourages the model to generate videos closely linked to
|
|
26
26
|
* the text prompt, but values too high may cause saturation and other artifacts.
|
|
27
27
|
*/
|
|
28
28
|
guidance_scale?: number;
|
|
29
29
|
/**
|
|
30
|
-
* One or several prompt to guide what NOT to include in
|
|
30
|
+
* One or several prompt to guide what NOT to include in video generation.
|
|
31
31
|
*/
|
|
32
32
|
negative_prompt?: string[];
|
|
33
33
|
/**
|
|
@@ -36,7 +36,7 @@ export interface TextToVideoParameters {
|
|
|
36
36
|
num_frames?: number;
|
|
37
37
|
/**
|
|
38
38
|
* The number of denoising steps. More denoising steps usually lead to a higher quality
|
|
39
|
-
*
|
|
39
|
+
* video at the expense of slower inference.
|
|
40
40
|
*/
|
|
41
41
|
num_inference_steps?: number;
|
|
42
42
|
/**
|
package/dist/esm/hardware.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hardware.d.ts","sourceRoot":"","sources":["../../src/hardware.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyeuD,CAAC;AAEzE,MAAM,MAAM,OAAO,GAAG,MAAM,OAAO,IAAI,CAAC"}
|
package/dist/esm/hardware.js
CHANGED
|
@@ -190,6 +190,10 @@ export const SKUS = {
|
|
|
190
190
|
tflops: 8.2, // float32 (GPU does not support native float16)
|
|
191
191
|
memory: [8],
|
|
192
192
|
},
|
|
193
|
+
"GTX 1060": {
|
|
194
|
+
tflops: 3.9, // float32 (GPU does not support native float16)
|
|
195
|
+
memory: [3, 6],
|
|
196
|
+
},
|
|
193
197
|
"RTX Titan": {
|
|
194
198
|
tflops: 32.62,
|
|
195
199
|
memory: [24],
|
|
@@ -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,2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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAq0BI,CAAC;AAE7C,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,2BAA2B,CAAC;AAEvE,eAAO,MAAM,sBAAsB,EAA+C,eAAe,EAAE,CAAC;AAEpG,eAAO,MAAM,8BAA8B,0gDAQ1B,CAAC"}
|
|
@@ -141,7 +141,6 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
141
141
|
repoName: "deepforest",
|
|
142
142
|
docsUrl: "https://deepforest.readthedocs.io/en/latest/",
|
|
143
143
|
repoUrl: "https://github.com/weecology/DeepForest",
|
|
144
|
-
countDownloads: `path_extension:"pt" OR path_extension:"pl"`,
|
|
145
144
|
},
|
|
146
145
|
"depth-anything-v2": {
|
|
147
146
|
prettyLabel: "DepthAnythingV2",
|
|
@@ -22,12 +22,12 @@ export interface TextToVideoInput {
|
|
|
22
22
|
*/
|
|
23
23
|
export interface TextToVideoParameters {
|
|
24
24
|
/**
|
|
25
|
-
* A higher guidance scale value encourages the model to generate
|
|
25
|
+
* A higher guidance scale value encourages the model to generate videos closely linked to
|
|
26
26
|
* the text prompt, but values too high may cause saturation and other artifacts.
|
|
27
27
|
*/
|
|
28
28
|
guidance_scale?: number;
|
|
29
29
|
/**
|
|
30
|
-
* One or several prompt to guide what NOT to include in
|
|
30
|
+
* One or several prompt to guide what NOT to include in video generation.
|
|
31
31
|
*/
|
|
32
32
|
negative_prompt?: string[];
|
|
33
33
|
/**
|
|
@@ -36,7 +36,7 @@ export interface TextToVideoParameters {
|
|
|
36
36
|
num_frames?: number;
|
|
37
37
|
/**
|
|
38
38
|
* The number of denoising steps. More denoising steps usually lead to a higher quality
|
|
39
|
-
*
|
|
39
|
+
* video at the expense of slower inference.
|
|
40
40
|
*/
|
|
41
41
|
num_inference_steps?: number;
|
|
42
42
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@huggingface/tasks",
|
|
3
3
|
"packageManager": "pnpm@8.10.5",
|
|
4
|
-
"version": "0.15.
|
|
4
|
+
"version": "0.15.3",
|
|
5
5
|
"description": "List of ML tasks for huggingface.co/tasks",
|
|
6
6
|
"repository": "https://github.com/huggingface/huggingface.js.git",
|
|
7
7
|
"publishConfig": {
|
package/src/hardware.ts
CHANGED
|
@@ -212,6 +212,10 @@ export const SKUS = {
|
|
|
212
212
|
tflops: 8.2, // float32 (GPU does not support native float16)
|
|
213
213
|
memory: [8],
|
|
214
214
|
},
|
|
215
|
+
"GTX 1060": {
|
|
216
|
+
tflops: 3.9, // float32 (GPU does not support native float16)
|
|
217
|
+
memory: [3, 6],
|
|
218
|
+
},
|
|
215
219
|
"RTX Titan": {
|
|
216
220
|
tflops: 32.62,
|
|
217
221
|
memory: [24],
|
package/src/model-libraries.ts
CHANGED
|
@@ -185,7 +185,6 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
185
185
|
repoName: "deepforest",
|
|
186
186
|
docsUrl: "https://deepforest.readthedocs.io/en/latest/",
|
|
187
187
|
repoUrl: "https://github.com/weecology/DeepForest",
|
|
188
|
-
countDownloads: `path_extension:"pt" OR path_extension:"pl"`,
|
|
189
188
|
},
|
|
190
189
|
"depth-anything-v2": {
|
|
191
190
|
prettyLabel: "DepthAnythingV2",
|
|
@@ -22,12 +22,12 @@ export interface TextToVideoInput {
|
|
|
22
22
|
*/
|
|
23
23
|
export interface TextToVideoParameters {
|
|
24
24
|
/**
|
|
25
|
-
* A higher guidance scale value encourages the model to generate
|
|
25
|
+
* A higher guidance scale value encourages the model to generate videos closely linked to
|
|
26
26
|
* the text prompt, but values too high may cause saturation and other artifacts.
|
|
27
27
|
*/
|
|
28
28
|
guidance_scale?: number;
|
|
29
29
|
/**
|
|
30
|
-
* One or several prompt to guide what NOT to include in
|
|
30
|
+
* One or several prompt to guide what NOT to include in video generation.
|
|
31
31
|
*/
|
|
32
32
|
negative_prompt?: string[];
|
|
33
33
|
/**
|
|
@@ -36,7 +36,7 @@ export interface TextToVideoParameters {
|
|
|
36
36
|
num_frames?: number;
|
|
37
37
|
/**
|
|
38
38
|
* The number of denoising steps. More denoising steps usually lead to a higher quality
|
|
39
|
-
*
|
|
39
|
+
* video at the expense of slower inference.
|
|
40
40
|
*/
|
|
41
41
|
num_inference_steps?: number;
|
|
42
42
|
/**
|
|
@@ -25,18 +25,18 @@
|
|
|
25
25
|
},
|
|
26
26
|
"guidance_scale": {
|
|
27
27
|
"type": "number",
|
|
28
|
-
"description": "A higher guidance scale value encourages the model to generate
|
|
28
|
+
"description": "A higher guidance scale value encourages the model to generate videos closely linked to the text prompt, but values too high may cause saturation and other artifacts."
|
|
29
29
|
},
|
|
30
30
|
"negative_prompt": {
|
|
31
31
|
"type": "array",
|
|
32
32
|
"items": {
|
|
33
33
|
"type": "string"
|
|
34
34
|
},
|
|
35
|
-
"description": "One or several prompt to guide what NOT to include in
|
|
35
|
+
"description": "One or several prompt to guide what NOT to include in video generation."
|
|
36
36
|
},
|
|
37
37
|
"num_inference_steps": {
|
|
38
38
|
"type": "integer",
|
|
39
|
-
"description": "The number of denoising steps. More denoising steps usually lead to a higher quality
|
|
39
|
+
"description": "The number of denoising steps. More denoising steps usually lead to a higher quality video at the expense of slower inference."
|
|
40
40
|
},
|
|
41
41
|
"seed": {
|
|
42
42
|
"type": "integer",
|