Commit 9c2c93f
authored
feat: add metadata (#30)
* Support HF downloading models (#16)
* Add HF downloader support
Signed-off-by: kerthcet <kerthcet@gmail.com>
* add bars
Signed-off-by: kerthcet <kerthcet@gmail.com>
* fix color
Signed-off-by: kerthcet <kerthcet@gmail.com>
* fix color
Signed-off-by: kerthcet <kerthcet@gmail.com>
* add download successfully message
Signed-off-by: kerthcet <kerthcet@gmail.com>
* change the color
Signed-off-by: kerthcet <kerthcet@gmail.com>
* change the rending shape
Signed-off-by: kerthcet <kerthcet@gmail.com>
---------
Signed-off-by: kerthcet <kerthcet@gmail.com>
* Support `puma rm <model>` (#17)
* support new cache structure
Signed-off-by: kerthcet <kerthcet@gmail.com>
* support puma rm
Signed-off-by: kerthcet <kerthcet@gmail.com>
* use readable format
Signed-off-by: kerthcet <kerthcet@gmail.com>
* remove requests.rs
Signed-off-by: kerthcet <kerthcet@gmail.com>
* fix lint
Signed-off-by: kerthcet <kerthcet@gmail.com>
---------
Signed-off-by: kerthcet <kerthcet@gmail.com>
* support puma info (#18)
Signed-off-by: kerthcet <kerthcet@gmail.com>
* Reuse the model cache to avoid duplicate download (#19)
* polish the format of the ls command
Signed-off-by: kerthcet <kerthcet@gmail.com>
* Have a progress manager
Signed-off-by: kerthcet <kerthcet@gmail.com>
* Reuse caches
Signed-off-by: kerthcet <kerthcet@gmail.com>
* rename util to utils
Signed-off-by: kerthcet <kerthcet@gmail.com>
* polish the layout of the download progress
Signed-off-by: kerthcet <kerthcet@gmail.com>
* revert change
Signed-off-by: kerthcet <kerthcet@gmail.com>
* add make format
Signed-off-by: kerthcet <kerthcet@gmail.com>
---------
Signed-off-by: kerthcet <kerthcet@gmail.com>
* remove available mem (#22)
Signed-off-by: kerthcet <kerthcet@gmail.com>
* add speed at the end (#23)
* add speed at the end
Signed-off-by: kerthcet <kerthcet@gmail.com>
* fix lint
Signed-off-by: kerthcet <kerthcet@gmail.com>
---------
Signed-off-by: kerthcet <kerthcet@gmail.com>
* fix: do no register model once cached (#26)
Signed-off-by: kerthcet <kerthcet@gmail.com>
* Support GPU detect (#27)
* support GPU detect
Signed-off-by: kerthcet <kerthcet@gmail.com>
* fix lint
Signed-off-by: kerthcet <kerthcet@gmail.com>
---------
Signed-off-by: kerthcet <kerthcet@gmail.com>
* update readme.md (#28)
Signed-off-by: kerthcet <kerthcet@gmail.com>
* Support inspect command (#29)
* add support for inspect
Signed-off-by: kerthcet <kerthcet@gmail.com>
* add support for inspect
Signed-off-by: kerthcet <kerthcet@gmail.com>
* add pull progress bar
Signed-off-by: kerthcet <kerthcet@gmail.com>
* polish the download progress
Signed-off-by: kerthcet <kerthcet@gmail.com>
* reorganize the structure
Signed-off-by: kerthcet <kerthcet@gmail.com>
* optimize the structure
Signed-off-by: kerthcet <kerthcet@gmail.com>
* fix test
Signed-off-by: kerthcet <kerthcet@gmail.com>
* fix lint
Signed-off-by: kerthcet <kerthcet@gmail.com>
---------
Signed-off-by: kerthcet <kerthcet@gmail.com>
* add metadata
Signed-off-by: kerthcet <kerthcet@gmail.com>
---------
Signed-off-by: kerthcet <kerthcet@gmail.com>1 parent a0ebe7e commit 9c2c93f
3 files changed
Lines changed: 243 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
| 108 | + | |
110 | 109 | | |
111 | 110 | | |
112 | 111 | | |
| |||
116 | 115 | | |
117 | 116 | | |
118 | 117 | | |
119 | | - | |
| 118 | + | |
120 | 119 | | |
121 | 120 | | |
122 | 121 | | |
| |||
186 | 185 | | |
187 | 186 | | |
188 | 187 | | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
189 | 191 | | |
190 | 192 | | |
191 | 193 | | |
| |||
209 | 211 | | |
210 | 212 | | |
211 | 213 | | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | 214 | | |
217 | 215 | | |
218 | 216 | | |
| |||
231 | 229 | | |
232 | 230 | | |
233 | 231 | | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
| 216 | + | |
216 | 217 | | |
217 | 218 | | |
218 | 219 | | |
219 | 220 | | |
220 | 221 | | |
221 | | - | |
| 222 | + | |
| 223 | + | |
222 | 224 | | |
223 | 225 | | |
224 | 226 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
| 102 | + | |
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
| |||
148 | 149 | | |
149 | 150 | | |
150 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
151 | 158 | | |
152 | 159 | | |
153 | 160 | | |
154 | | - | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
155 | 168 | | |
156 | 169 | | |
157 | 170 | | |
| |||
211 | 224 | | |
212 | 225 | | |
213 | 226 | | |
214 | | - | |
| 227 | + | |
| 228 | + | |
215 | 229 | | |
216 | 230 | | |
217 | 231 | | |
| |||
233 | 247 | | |
234 | 248 | | |
235 | 249 | | |
236 | | - | |
| 250 | + | |
| 251 | + | |
237 | 252 | | |
238 | 253 | | |
239 | 254 | | |
| |||
255 | 270 | | |
256 | 271 | | |
257 | 272 | | |
258 | | - | |
| 273 | + | |
| 274 | + | |
259 | 275 | | |
260 | 276 | | |
261 | 277 | | |
| |||
290 | 306 | | |
291 | 307 | | |
292 | 308 | | |
293 | | - | |
| 309 | + | |
| 310 | + | |
294 | 311 | | |
295 | 312 | | |
296 | 313 | | |
| |||
302 | 319 | | |
303 | 320 | | |
304 | 321 | | |
305 | | - | |
| 322 | + | |
| 323 | + | |
306 | 324 | | |
307 | 325 | | |
308 | 326 | | |
| |||
313 | 331 | | |
314 | 332 | | |
315 | 333 | | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
316 | 338 | | |
317 | 339 | | |
318 | 340 | | |
| |||
330 | 352 | | |
331 | 353 | | |
332 | 354 | | |
333 | | - | |
| 355 | + | |
| 356 | + | |
334 | 357 | | |
335 | 358 | | |
336 | 359 | | |
| |||
369 | 392 | | |
370 | 393 | | |
371 | 394 | | |
372 | | - | |
| 395 | + | |
| 396 | + | |
373 | 397 | | |
374 | 398 | | |
375 | 399 | | |
| |||
407 | 431 | | |
408 | 432 | | |
409 | 433 | | |
410 | | - | |
| 434 | + | |
| 435 | + | |
411 | 436 | | |
412 | 437 | | |
413 | 438 | | |
| |||
0 commit comments