@huggingface/tasks 0.19.82 → 0.19.84
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 +36 -0
- package/dist/commonjs/hardware.d.ts.map +1 -1
- package/dist/commonjs/hardware.js +40 -4
- package/dist/commonjs/local-apps.d.ts +4 -2
- package/dist/commonjs/local-apps.d.ts.map +1 -1
- package/dist/commonjs/local-apps.js +74 -51
- package/dist/commonjs/local-apps.spec.js +7 -6
- package/dist/commonjs/model-libraries-snippets.d.ts +2 -0
- package/dist/commonjs/model-libraries-snippets.d.ts.map +1 -1
- package/dist/commonjs/model-libraries-snippets.js +91 -18
- package/dist/commonjs/model-libraries.d.ts +23 -1
- package/dist/commonjs/model-libraries.d.ts.map +1 -1
- package/dist/commonjs/model-libraries.js +22 -0
- package/dist/esm/hardware.d.ts +36 -0
- package/dist/esm/hardware.d.ts.map +1 -1
- package/dist/esm/hardware.js +40 -4
- package/dist/esm/local-apps.d.ts +4 -2
- package/dist/esm/local-apps.d.ts.map +1 -1
- package/dist/esm/local-apps.js +74 -51
- package/dist/esm/local-apps.spec.js +7 -6
- package/dist/esm/model-libraries-snippets.d.ts +2 -0
- package/dist/esm/model-libraries-snippets.d.ts.map +1 -1
- package/dist/esm/model-libraries-snippets.js +88 -17
- package/dist/esm/model-libraries.d.ts +23 -1
- package/dist/esm/model-libraries.d.ts.map +1 -1
- package/dist/esm/model-libraries.js +22 -0
- package/package.json +1 -1
- package/src/hardware.ts +40 -4
- package/src/local-apps.spec.ts +7 -6
- package/src/local-apps.ts +85 -56
- package/src/model-libraries-snippets.ts +92 -17
- package/src/model-libraries.ts +22 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.perception_encoder = exports.paddleocr = exports.paddlenlp = exports.open_clip = exports.mesh_anything = exports.matanyone = exports.mars5_tts = exports.mamba_ssm = exports.tf_keras = exports.lerobot = exports.llama_cpp_python = exports.lightning_ir = exports.kittentts = exports.kimi_audio = exports.kernels = exports.keras_hub = exports.keras = exports.htrflow = exports.indextts = exports.gliner2 = exports.gliner = exports.flair = exports.fairseq = exports.espnet = exports.espnetASR = exports.espnetTTS = exports.edsnlp = exports.cartesia_mlx = exports.cartesia_pytorch = exports.diffusionkit = exports.diffusers = exports.describe_anything = exports.dia2 = exports.dia = exports.derm_foundation = exports.depth_pro = exports.depth_anything_v2 = exports.cxr_foundation = exports.sap_rpt_one_oss = exports.colipri = exports.chronos_forecasting = exports.chatterbox = exports.bm25s = exports.bertopic = exports.ben2 = exports.audioseal = exports.asteroid = exports.araclip = exports.allennlp = exports.adapters = void 0;
|
|
4
4
|
exports.nemo = exports.pruna = exports.model2vec = exports.mlx = exports.mlxim = exports.univa = exports.swarmformer = exports.supertonic = exports.birefnet = exports.ultralytics = exports.chattts = exports.vui = exports.voxcpm = exports.voicecraft = exports.lvface = exports.vfimamba = exports.videoprism = exports.vibevoice = exports.sana = exports.sentis = exports.mlAgents = exports.stableBaselines3 = exports.fasttext = exports.peft = exports.transformersJS = exports.transformers = exports.terratorch = exports.speechbrain = exports.stanza = exports.span_marker = exports.spacy = exports.setfit = exports.sentenceTransformers = exports.sampleFactory = exports.sam_3d_body = exports.sam_3d_objects = exports.sam2 = exports.fastai = exports.stable_audio_tools = exports.sklearn = exports.seed_story = exports.saelens = exports.timm = exports.tensorflowtts = exports.renderformer = exports.relik = exports.pyannote_audio = exports.pyannote_audio_pipeline = exports.pocket_tts = exports.phantom_wan = void 0;
|
|
5
|
-
exports.zonos = exports.hezar = exports.threedtopia_xl = exports.whisperkit = exports.audiocraft = exports.anemoi = exports.pythae = exports.pxia = exports.outetts = void 0;
|
|
5
|
+
exports.moshi = exports.zonos = exports.hezar = exports.threedtopia_xl = exports.whisperkit = exports.audiocraft = exports.anemoi = exports.qwen3_tts = exports.pythae = exports.pxia = exports.outetts = void 0;
|
|
6
6
|
const library_to_tasks_js_1 = require("./library-to-tasks.js");
|
|
7
7
|
const inputs_js_1 = require("./snippets/inputs.js");
|
|
8
8
|
const common_js_1 = require("./snippets/common.js");
|
|
@@ -60,14 +60,14 @@ from audioseal import AudioSeal
|
|
|
60
60
|
model = AudioSeal.load_generator("${model.id}")
|
|
61
61
|
# pass a tensor (tensor_wav) of shape (batch, channels, samples) and a sample rate
|
|
62
62
|
wav, sr = tensor_wav, 16000
|
|
63
|
-
|
|
63
|
+
|
|
64
64
|
watermark = model.get_watermark(wav, sr)
|
|
65
65
|
watermarked_audio = wav + watermark`;
|
|
66
66
|
const detectorSnippet = `# Watermark Detector
|
|
67
67
|
from audioseal import AudioSeal
|
|
68
68
|
|
|
69
69
|
detector = AudioSeal.load_detector("${model.id}")
|
|
70
|
-
|
|
70
|
+
|
|
71
71
|
result, message = detector.detect_watermark(watermarked_audio, sr)`;
|
|
72
72
|
return [watermarkSnippet, detectorSnippet];
|
|
73
73
|
};
|
|
@@ -627,7 +627,7 @@ const cartesia_mlx = (model) => [
|
|
|
627
627
|
import cartesia_mlx as cmx
|
|
628
628
|
|
|
629
629
|
model = cmx.from_pretrained("${model.id}")
|
|
630
|
-
model.set_dtype(mx.float32)
|
|
630
|
+
model.set_dtype(mx.float32)
|
|
631
631
|
|
|
632
632
|
prompt = "Rene Descartes was"
|
|
633
633
|
|
|
@@ -762,7 +762,7 @@ const keras = (model) => [
|
|
|
762
762
|
`# Available backend options are: "jax", "torch", "tensorflow".
|
|
763
763
|
import os
|
|
764
764
|
os.environ["KERAS_BACKEND"] = "jax"
|
|
765
|
-
|
|
765
|
+
|
|
766
766
|
import keras
|
|
767
767
|
|
|
768
768
|
model = keras.saving.load_model("hf://${model.id}")
|
|
@@ -936,7 +936,7 @@ model.score("query", ["doc1", "doc2", "doc3"])`,
|
|
|
936
936
|
from lightning_ir import BiEncoderModule, CrossEncoderModule
|
|
937
937
|
|
|
938
938
|
# depending on the model type, use either BiEncoderModule or CrossEncoderModule
|
|
939
|
-
model = BiEncoderModule("${model.id}")
|
|
939
|
+
model = BiEncoderModule("${model.id}")
|
|
940
940
|
# model = CrossEncoderModule("${model.id}")
|
|
941
941
|
|
|
942
942
|
model.score("query", ["doc1", "doc2", "doc3"])`,
|
|
@@ -984,7 +984,7 @@ pip install -e .[smolvla]`,
|
|
|
984
984
|
`# Launch finetuning on your dataset
|
|
985
985
|
python lerobot/scripts/train.py \\
|
|
986
986
|
--policy.path=${model.id} \\
|
|
987
|
-
--dataset.repo_id=lerobot/svla_so101_pickplace \\
|
|
987
|
+
--dataset.repo_id=lerobot/svla_so101_pickplace \\
|
|
988
988
|
--batch_size=64 \\
|
|
989
989
|
--steps=20000 \\
|
|
990
990
|
--output_dir=outputs/train/my_smolvla \\
|
|
@@ -994,7 +994,7 @@ python lerobot/scripts/train.py \\
|
|
|
994
994
|
];
|
|
995
995
|
if (model.id !== "lerobot/smolvla_base") {
|
|
996
996
|
// Inference snippet (only if not base model)
|
|
997
|
-
smolvlaSnippets.push(`# Run the policy using the record function
|
|
997
|
+
smolvlaSnippets.push(`# Run the policy using the record function
|
|
998
998
|
python -m lerobot.record \\
|
|
999
999
|
--robot.type=so101_follower \\
|
|
1000
1000
|
--robot.port=/dev/ttyACM0 \\ # <- Use your port
|
|
@@ -1117,11 +1117,13 @@ for res in output:
|
|
|
1117
1117
|
];
|
|
1118
1118
|
}
|
|
1119
1119
|
if (model.tags.includes("document-parse")) {
|
|
1120
|
+
const rawVersion = model.id.replace("PaddlePaddle/PaddleOCR-VL-", "v");
|
|
1121
|
+
const version = rawVersion === "PaddlePaddle/PaddleOCR-VL" ? "v1" : rawVersion;
|
|
1120
1122
|
return [
|
|
1121
1123
|
`# See https://www.paddleocr.ai/latest/version3.x/pipeline_usage/PaddleOCR-VL.html to installation
|
|
1122
1124
|
|
|
1123
1125
|
from paddleocr import PaddleOCRVL
|
|
1124
|
-
pipeline = PaddleOCRVL()
|
|
1126
|
+
pipeline = PaddleOCRVL(pipeline_version="${version}")
|
|
1125
1127
|
output = pipeline.predict("path/to/document_image.png")
|
|
1126
1128
|
for res in output:
|
|
1127
1129
|
res.print()
|
|
@@ -1147,7 +1149,7 @@ for res in output:
|
|
|
1147
1149
|
}
|
|
1148
1150
|
}
|
|
1149
1151
|
return [
|
|
1150
|
-
`# Please refer to the document for information on how to use the model.
|
|
1152
|
+
`# Please refer to the document for information on how to use the model.
|
|
1151
1153
|
# https://paddlepaddle.github.io/PaddleOCR/latest/en/version3.x/module_usage/module_overview.html`,
|
|
1152
1154
|
];
|
|
1153
1155
|
};
|
|
@@ -1196,7 +1198,7 @@ scipy.io.wavfile.write("output.wav", tts_model.sample_rate, audio.numpy())`,
|
|
|
1196
1198
|
exports.pocket_tts = pocket_tts;
|
|
1197
1199
|
const pyannote_audio_pipeline = (model) => [
|
|
1198
1200
|
`from pyannote.audio import Pipeline
|
|
1199
|
-
|
|
1201
|
+
|
|
1200
1202
|
pipeline = Pipeline.from_pretrained("${model.id}")
|
|
1201
1203
|
|
|
1202
1204
|
# inference on the whole file
|
|
@@ -1234,7 +1236,7 @@ const pyannote_audio = (model) => {
|
|
|
1234
1236
|
exports.pyannote_audio = pyannote_audio;
|
|
1235
1237
|
const relik = (model) => [
|
|
1236
1238
|
`from relik import Relik
|
|
1237
|
-
|
|
1239
|
+
|
|
1238
1240
|
relik = Relik.from_pretrained("${model.id}")`,
|
|
1239
1241
|
];
|
|
1240
1242
|
exports.relik = relik;
|
|
@@ -1414,7 +1416,7 @@ with torch.inference_mode(), torch.autocast("cuda", dtype=torch.bfloat16):
|
|
|
1414
1416
|
const video_predictor = `# Use SAM2 with videos
|
|
1415
1417
|
import torch
|
|
1416
1418
|
from sam2.sam2_video_predictor import SAM2VideoPredictor
|
|
1417
|
-
|
|
1419
|
+
|
|
1418
1420
|
predictor = SAM2VideoPredictor.from_pretrained(${model.id})
|
|
1419
1421
|
|
|
1420
1422
|
with torch.inference_mode(), torch.autocast("cuda", dtype=torch.bfloat16):
|
|
@@ -2113,11 +2115,11 @@ const outetts = (model) => {
|
|
|
2113
2115
|
return [
|
|
2114
2116
|
`
|
|
2115
2117
|
import outetts
|
|
2116
|
-
|
|
2118
|
+
|
|
2117
2119
|
enum = outetts.Models("${model.id}".split("/", 1)[1]) # VERSION_1_0_SIZE_1B
|
|
2118
2120
|
cfg = outetts.ModelConfig.auto_config(enum, outetts.Backend.HF)
|
|
2119
2121
|
tts = outetts.Interface(cfg)
|
|
2120
|
-
|
|
2122
|
+
|
|
2121
2123
|
speaker = tts.load_default_speaker("EN-FEMALE-1-NEUTRAL")
|
|
2122
2124
|
tts.generate(
|
|
2123
2125
|
outetts.GenerationConfig(
|
|
@@ -2141,6 +2143,29 @@ const pythae = (model) => [
|
|
|
2141
2143
|
model = AutoModel.load_from_hf_hub("${model.id}")`,
|
|
2142
2144
|
];
|
|
2143
2145
|
exports.pythae = pythae;
|
|
2146
|
+
const qwen3_tts = (model) => [
|
|
2147
|
+
`# pip install qwen-tts
|
|
2148
|
+
import torch
|
|
2149
|
+
import soundfile as sf
|
|
2150
|
+
from qwen_tts import Qwen3TTSModel
|
|
2151
|
+
|
|
2152
|
+
model = Qwen3TTSModel.from_pretrained(
|
|
2153
|
+
"${model.id}",
|
|
2154
|
+
device_map="cuda:0",
|
|
2155
|
+
dtype=torch.bfloat16,
|
|
2156
|
+
attn_implementation="flash_attention_2",
|
|
2157
|
+
)
|
|
2158
|
+
|
|
2159
|
+
wavs, sr = model.generate_custom_voice(
|
|
2160
|
+
text="Your text here.",
|
|
2161
|
+
language="English",
|
|
2162
|
+
speaker="Ryan",
|
|
2163
|
+
instruct="Speak in a natural tone.",
|
|
2164
|
+
)
|
|
2165
|
+
|
|
2166
|
+
sf.write("output.wav", wavs[0], sr)`,
|
|
2167
|
+
];
|
|
2168
|
+
exports.qwen3_tts = qwen3_tts;
|
|
2144
2169
|
const musicgen = (model) => [
|
|
2145
2170
|
`from audiocraft.models import MusicGen
|
|
2146
2171
|
|
|
@@ -2151,7 +2176,7 @@ wav = model.generate(descriptions) # generates 3 samples.`,
|
|
|
2151
2176
|
];
|
|
2152
2177
|
const magnet = (model) => [
|
|
2153
2178
|
`from audiocraft.models import MAGNeT
|
|
2154
|
-
|
|
2179
|
+
|
|
2155
2180
|
model = MAGNeT.get_pretrained("${model.id}")
|
|
2156
2181
|
|
|
2157
2182
|
descriptions = ['disco beat', 'energetic EDM', 'funky groove']
|
|
@@ -2159,7 +2184,7 @@ wav = model.generate(descriptions) # generates 3 samples.`,
|
|
|
2159
2184
|
];
|
|
2160
2185
|
const audiogen = (model) => [
|
|
2161
2186
|
`from audiocraft.models import AudioGen
|
|
2162
|
-
|
|
2187
|
+
|
|
2163
2188
|
model = AudioGen.get_pretrained("${model.id}")
|
|
2164
2189
|
model.set_generation_params(duration=5) # generate 5 seconds.
|
|
2165
2190
|
descriptions = ['dog barking', 'sirene of an emergency vehicle', 'footsteps in a corridor']
|
|
@@ -2195,7 +2220,7 @@ brew install whisperkit-cli
|
|
|
2195
2220
|
|
|
2196
2221
|
# View all available inference options
|
|
2197
2222
|
whisperkit-cli transcribe --help
|
|
2198
|
-
|
|
2223
|
+
|
|
2199
2224
|
# Download and run inference using whisper base model
|
|
2200
2225
|
whisperkit-cli transcribe --audio-path /path/to/audio.mp3
|
|
2201
2226
|
|
|
@@ -2235,4 +2260,52 @@ torchaudio.save("sample.wav", audio, model.autoencoder.sampling_rate)
|
|
|
2235
2260
|
`,
|
|
2236
2261
|
];
|
|
2237
2262
|
exports.zonos = zonos;
|
|
2263
|
+
const moshi = (model) => {
|
|
2264
|
+
// Detect backend from model name (no distinguishing tags available)
|
|
2265
|
+
if (model.id.includes("-mlx")) {
|
|
2266
|
+
// MLX backend (macOS Apple Silicon)
|
|
2267
|
+
// -q flag only accepts 4 or 8, bf16 models don't use it
|
|
2268
|
+
const quantFlag = model.id.includes("-q4") ? " -q 4" : model.id.includes("-q8") ? " -q 8" : "";
|
|
2269
|
+
return [
|
|
2270
|
+
`# pip install moshi_mlx
|
|
2271
|
+
# Run local inference (macOS Apple Silicon)
|
|
2272
|
+
python -m moshi_mlx.local${quantFlag} --hf-repo "${model.id}"
|
|
2273
|
+
|
|
2274
|
+
# Or run with web UI
|
|
2275
|
+
python -m moshi_mlx.local_web${quantFlag} --hf-repo "${model.id}"`,
|
|
2276
|
+
];
|
|
2277
|
+
}
|
|
2278
|
+
if (model.id.includes("-candle")) {
|
|
2279
|
+
// Rust/Candle backend
|
|
2280
|
+
return [
|
|
2281
|
+
`# pip install rustymimi
|
|
2282
|
+
# Candle backend - see https://github.com/kyutai-labs/moshi
|
|
2283
|
+
# for Rust installation instructions`,
|
|
2284
|
+
];
|
|
2285
|
+
}
|
|
2286
|
+
// PyTorch backend (default)
|
|
2287
|
+
return [
|
|
2288
|
+
`# pip install moshi
|
|
2289
|
+
# Run the interactive web server
|
|
2290
|
+
python -m moshi.server --hf-repo "${model.id}"
|
|
2291
|
+
# Then open https://localhost:8998 in your browser`,
|
|
2292
|
+
`# pip install moshi
|
|
2293
|
+
import torch
|
|
2294
|
+
from moshi.models import loaders
|
|
2295
|
+
|
|
2296
|
+
# Load checkpoint info from HuggingFace
|
|
2297
|
+
checkpoint = loaders.CheckpointInfo.from_hf_repo("${model.id}")
|
|
2298
|
+
|
|
2299
|
+
# Load the Mimi audio codec
|
|
2300
|
+
mimi = checkpoint.get_mimi(device="cuda")
|
|
2301
|
+
mimi.set_num_codebooks(8)
|
|
2302
|
+
|
|
2303
|
+
# Encode audio (24kHz, mono)
|
|
2304
|
+
wav = torch.randn(1, 1, 24000 * 10) # [batch, channels, samples]
|
|
2305
|
+
with torch.no_grad():
|
|
2306
|
+
codes = mimi.encode(wav.cuda())
|
|
2307
|
+
decoded = mimi.decode(codes)`,
|
|
2308
|
+
];
|
|
2309
|
+
};
|
|
2310
|
+
exports.moshi = moshi;
|
|
2238
2311
|
//#endregion
|
|
@@ -624,6 +624,13 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
624
624
|
filter: false;
|
|
625
625
|
countDownloads: string;
|
|
626
626
|
};
|
|
627
|
+
intellifold: {
|
|
628
|
+
prettyLabel: string;
|
|
629
|
+
repoName: string;
|
|
630
|
+
repoUrl: string;
|
|
631
|
+
filter: false;
|
|
632
|
+
countDownloads: string;
|
|
633
|
+
};
|
|
627
634
|
keras: {
|
|
628
635
|
prettyLabel: string;
|
|
629
636
|
repoName: string;
|
|
@@ -854,6 +861,7 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
854
861
|
prettyLabel: string;
|
|
855
862
|
repoName: string;
|
|
856
863
|
repoUrl: string;
|
|
864
|
+
snippets: (model: ModelData) => string[];
|
|
857
865
|
filter: false;
|
|
858
866
|
countDownloads: string;
|
|
859
867
|
};
|
|
@@ -1000,6 +1008,13 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
1000
1008
|
filter: false;
|
|
1001
1009
|
countDownloads: string;
|
|
1002
1010
|
};
|
|
1011
|
+
qwen3_tts: {
|
|
1012
|
+
prettyLabel: string;
|
|
1013
|
+
repoName: string;
|
|
1014
|
+
repoUrl: string;
|
|
1015
|
+
snippets: (model: ModelData) => string[];
|
|
1016
|
+
filter: false;
|
|
1017
|
+
};
|
|
1003
1018
|
recurrentgemma: {
|
|
1004
1019
|
prettyLabel: string;
|
|
1005
1020
|
repoName: string;
|
|
@@ -1408,6 +1423,13 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
1408
1423
|
countDownloads: string;
|
|
1409
1424
|
snippets: (model: ModelData) => string[];
|
|
1410
1425
|
};
|
|
1426
|
+
vismatch: {
|
|
1427
|
+
prettyLabel: string;
|
|
1428
|
+
repoName: string;
|
|
1429
|
+
repoUrl: string;
|
|
1430
|
+
filter: false;
|
|
1431
|
+
countDownloads: string;
|
|
1432
|
+
};
|
|
1411
1433
|
lvface: {
|
|
1412
1434
|
prettyLabel: string;
|
|
1413
1435
|
repoName: string;
|
|
@@ -1505,5 +1527,5 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
1505
1527
|
};
|
|
1506
1528
|
export type ModelLibraryKey = keyof typeof MODEL_LIBRARIES_UI_ELEMENTS;
|
|
1507
1529
|
export declare const ALL_MODEL_LIBRARY_KEYS: ModelLibraryKey[];
|
|
1508
|
-
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" | "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" | "grok" | "habibi-tts" | "hallo" | "hermes" | "hezar" | "htrflow" | "hunyuan-dit" | "hunyuan3d-2" | "hunyuanworld-voyager" | "hy-worldplay" | "image-matching-models" | "imstoucan" | "index-tts" | "infinitetalk" | "infinite-you" | "keras" | "tf-keras" | "keras-hub" | "kernels" | "kimi-audio" | "kittentts" | "kronos" | "k2" | "lightning-ir" | "litert" | "litert-lm" | "lerobot" | "lightglue" | "liveportrait" | "llama-cpp-python" | "mini-omni2" | "mindspore" | "magi-1" | "magenta-realtime" | "mamba-ssm" | "mars5-tts" | "matanyone" | "mesh-anything" | "merlin" | "medvae" | "mitie" | "ml-agents" | "ml-sharp" | "mlx" | "mlx-image" | "mlc-llm" | "model2vec" | "moshi" | "mtvcraft" | "nemo" | "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" | "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" | "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" | "lvface" | "voicecraft" | "voxcpm" | "vui" | "vibevoice" | "videox_fun" | "wan2.2" | "wham" | "whisperkit" | "yolov10" | "yolov26" | "zonos" | "3dtopia-xl")[];
|
|
1530
|
+
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" | "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" | "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" | "lightning-ir" | "litert" | "litert-lm" | "lerobot" | "lightglue" | "liveportrait" | "llama-cpp-python" | "mini-omni2" | "mindspore" | "magi-1" | "magenta-realtime" | "mamba-ssm" | "mars5-tts" | "matanyone" | "mesh-anything" | "merlin" | "medvae" | "mitie" | "ml-agents" | "ml-sharp" | "mlx" | "mlx-image" | "mlc-llm" | "model2vec" | "moshi" | "mtvcraft" | "nemo" | "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" | "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")[];
|
|
1509
1531
|
//# 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;AAE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
|
621
621
|
filter: false,
|
|
622
622
|
countDownloads: `path:"infu_flux_v1.0/sim_stage1/image_proj_model.bin" OR path:"infu_flux_v1.0/aes_stage2/image_proj_model.bin"`,
|
|
623
623
|
},
|
|
624
|
+
intellifold: {
|
|
625
|
+
prettyLabel: "IntelliFold",
|
|
626
|
+
repoName: "IntelliFold",
|
|
627
|
+
repoUrl: "https://github.com/IntelliGen-AI/IntelliFold",
|
|
628
|
+
filter: false,
|
|
629
|
+
countDownloads: `path_extension:"pt"`,
|
|
630
|
+
},
|
|
624
631
|
keras: {
|
|
625
632
|
prettyLabel: "Keras",
|
|
626
633
|
repoName: "Keras",
|
|
@@ -852,6 +859,7 @@ exports.MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
852
859
|
prettyLabel: "Moshi",
|
|
853
860
|
repoName: "Moshi",
|
|
854
861
|
repoUrl: "https://github.com/kyutai-labs/moshi",
|
|
862
|
+
snippets: snippets.moshi,
|
|
855
863
|
filter: false,
|
|
856
864
|
countDownloads: `path:"tokenizer-e351c8d8-checkpoint125.safetensors"`,
|
|
857
865
|
},
|
|
@@ -1001,6 +1009,13 @@ exports.MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
1001
1009
|
filter: false,
|
|
1002
1010
|
countDownloads: `path_extension:"setup.py"`,
|
|
1003
1011
|
},
|
|
1012
|
+
qwen3_tts: {
|
|
1013
|
+
prettyLabel: "Qwen3-TTS",
|
|
1014
|
+
repoName: "Qwen3-TTS",
|
|
1015
|
+
repoUrl: "https://github.com/QwenLM/Qwen3-TTS",
|
|
1016
|
+
snippets: snippets.qwen3_tts,
|
|
1017
|
+
filter: false,
|
|
1018
|
+
},
|
|
1004
1019
|
recurrentgemma: {
|
|
1005
1020
|
prettyLabel: "RecurrentGemma",
|
|
1006
1021
|
repoName: "recurrentgemma",
|
|
@@ -1409,6 +1424,13 @@ exports.MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
1409
1424
|
countDownloads: `path_extension:"pkl"`,
|
|
1410
1425
|
snippets: snippets.vfimamba,
|
|
1411
1426
|
},
|
|
1427
|
+
vismatch: {
|
|
1428
|
+
prettyLabel: "VisMatch",
|
|
1429
|
+
repoName: "VisMatch",
|
|
1430
|
+
repoUrl: "https://github.com/gmberton/vismatch",
|
|
1431
|
+
filter: false,
|
|
1432
|
+
countDownloads: `path:"vismatch.yaml"`,
|
|
1433
|
+
},
|
|
1412
1434
|
lvface: {
|
|
1413
1435
|
prettyLabel: "LVFace",
|
|
1414
1436
|
repoName: "LVFace",
|
package/dist/esm/hardware.d.ts
CHANGED
|
@@ -108,14 +108,46 @@ export declare const SKUS: {
|
|
|
108
108
|
tflops: number;
|
|
109
109
|
memory: number[];
|
|
110
110
|
};
|
|
111
|
+
"RTX A5000 Max-Q": {
|
|
112
|
+
tflops: number;
|
|
113
|
+
memory: number[];
|
|
114
|
+
};
|
|
115
|
+
"RTX A5000 Mobile": {
|
|
116
|
+
tflops: number;
|
|
117
|
+
memory: number[];
|
|
118
|
+
};
|
|
111
119
|
"RTX A4000": {
|
|
112
120
|
tflops: number;
|
|
113
121
|
memory: number[];
|
|
114
122
|
};
|
|
123
|
+
"RTX A4000 Max-Q": {
|
|
124
|
+
tflops: number;
|
|
125
|
+
memory: number[];
|
|
126
|
+
};
|
|
127
|
+
"RTX A4000 Mobile": {
|
|
128
|
+
tflops: number;
|
|
129
|
+
memory: number[];
|
|
130
|
+
};
|
|
131
|
+
"RTX A3000 Mobile": {
|
|
132
|
+
tflops: number;
|
|
133
|
+
memory: number[];
|
|
134
|
+
};
|
|
115
135
|
"RTX A2000": {
|
|
116
136
|
tflops: number;
|
|
117
137
|
memory: number[];
|
|
118
138
|
};
|
|
139
|
+
"RTX A2000 Embedded": {
|
|
140
|
+
tflops: number;
|
|
141
|
+
memory: number[];
|
|
142
|
+
};
|
|
143
|
+
"RTX A2000 Max-Q": {
|
|
144
|
+
tflops: number;
|
|
145
|
+
memory: number[];
|
|
146
|
+
};
|
|
147
|
+
"RTX A2000 Mobile": {
|
|
148
|
+
tflops: number;
|
|
149
|
+
memory: number[];
|
|
150
|
+
};
|
|
119
151
|
A100: {
|
|
120
152
|
tflops: number;
|
|
121
153
|
memory: number[];
|
|
@@ -124,6 +156,10 @@ export declare const SKUS: {
|
|
|
124
156
|
tflops: number;
|
|
125
157
|
memory: number[];
|
|
126
158
|
};
|
|
159
|
+
A30: {
|
|
160
|
+
tflops: number;
|
|
161
|
+
memory: number[];
|
|
162
|
+
};
|
|
127
163
|
A10: {
|
|
128
164
|
tflops: number;
|
|
129
165
|
memory: number[];
|
|
@@ -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,UAElC,CAAC;AAEF,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,eAA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27.77,
|
|
93
|
+
memory: [8, 12, 24],
|
|
94
|
+
},
|
|
95
|
+
"RTX A5000 Max-Q": {
|
|
96
|
+
tflops: 16.59,
|
|
97
|
+
memory: [16],
|
|
98
|
+
},
|
|
99
|
+
"RTX A5000 Mobile": {
|
|
100
|
+
tflops: 19.35,
|
|
101
|
+
memory: [16],
|
|
94
102
|
},
|
|
95
103
|
"RTX A4000": {
|
|
96
|
-
tflops: 19.
|
|
104
|
+
tflops: 19.17,
|
|
97
105
|
memory: [16],
|
|
98
106
|
},
|
|
107
|
+
"RTX A4000 Max-Q": {
|
|
108
|
+
tflops: 14.28,
|
|
109
|
+
memory: [8],
|
|
110
|
+
},
|
|
111
|
+
"RTX A4000 Mobile": {
|
|
112
|
+
tflops: 17.2,
|
|
113
|
+
memory: [8],
|
|
114
|
+
},
|
|
115
|
+
"RTX A3000 Mobile": {
|
|
116
|
+
tflops: 10.9,
|
|
117
|
+
memory: [6, 12],
|
|
118
|
+
},
|
|
99
119
|
"RTX A2000": {
|
|
100
120
|
tflops: 7.987,
|
|
101
|
-
memory: [
|
|
121
|
+
memory: [6, 12],
|
|
122
|
+
},
|
|
123
|
+
"RTX A2000 Embedded": {
|
|
124
|
+
tflops: 6.026,
|
|
125
|
+
memory: [4],
|
|
126
|
+
},
|
|
127
|
+
"RTX A2000 Max-Q": {
|
|
128
|
+
tflops: 6.1,
|
|
129
|
+
memory: [4, 8],
|
|
130
|
+
},
|
|
131
|
+
"RTX A2000 Mobile": {
|
|
132
|
+
tflops: 8.4,
|
|
133
|
+
memory: [4, 8],
|
|
102
134
|
},
|
|
103
135
|
A100: {
|
|
104
136
|
tflops: 77.97,
|
|
@@ -108,6 +140,10 @@ export const SKUS = {
|
|
|
108
140
|
tflops: 37.42,
|
|
109
141
|
memory: [48],
|
|
110
142
|
},
|
|
143
|
+
A30: {
|
|
144
|
+
tflops: 10.32,
|
|
145
|
+
memory: [24],
|
|
146
|
+
},
|
|
111
147
|
A10: {
|
|
112
148
|
tflops: 31.24,
|
|
113
149
|
memory: [24],
|
package/dist/esm/local-apps.d.ts
CHANGED
|
@@ -54,6 +54,8 @@ export type LocalApp = {
|
|
|
54
54
|
});
|
|
55
55
|
declare function isTgiModel(model: ModelData): boolean;
|
|
56
56
|
declare function isLlamaCppGgufModel(model: ModelData): boolean;
|
|
57
|
+
declare function isVllmModel(model: ModelData): boolean;
|
|
58
|
+
declare function isDockerModelRunnerModel(model: ModelData): boolean;
|
|
57
59
|
/**
|
|
58
60
|
* Add your new local app here.
|
|
59
61
|
*
|
|
@@ -84,7 +86,7 @@ export declare const LOCAL_APPS: {
|
|
|
84
86
|
prettyLabel: string;
|
|
85
87
|
docsUrl: string;
|
|
86
88
|
mainTask: "text-generation";
|
|
87
|
-
displayOnModelPage:
|
|
89
|
+
displayOnModelPage: typeof isVllmModel;
|
|
88
90
|
snippet: (model: ModelData) => LocalAppSnippet[];
|
|
89
91
|
};
|
|
90
92
|
sglang: {
|
|
@@ -200,7 +202,7 @@ export declare const LOCAL_APPS: {
|
|
|
200
202
|
prettyLabel: string;
|
|
201
203
|
docsUrl: string;
|
|
202
204
|
mainTask: "text-generation";
|
|
203
|
-
displayOnModelPage: typeof
|
|
205
|
+
displayOnModelPage: typeof isDockerModelRunnerModel;
|
|
204
206
|
snippet: (model: ModelData, filepath?: string) => string;
|
|
205
207
|
};
|
|
206
208
|
lemonade: {
|
|
@@ -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,CAAC;AAKnD,MAAM,WAAW,eAAe;IAC/B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,MAAM,E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