Commit 253ba11
webui: Move static build output from repo code to HF Bucket (ggml-org#22937)
* ci: add workflow to publish webui to Hugging Face bucket
* ci: add webui release job to release workflow
* ci: test webui release job
* chore: Return to default minification strategy for build output files
* ci: extract webui build into separate workflow and job
* chore: Ignore webui static output + clean up references
* chore: Delete legacy webui static output
* chore: Ignore webui build static output
* fix: Workflow
* fix: Versioning naming
* chore: Update package name
* test: Test CI fix
* refactor: Naming
* server: implement webui build strategy with HF Bucket support
* chore: Remove test workflow
* chore: Use WebUI build workflow call in other workflows
* server: HF Buckets fallback for WebUI build
* refactor: App name variable
* refactor: Naming
* fix: Retrieve loading.html
* fix: workflow syntax
* fix: Rewrite malformed release.yml
* fix: Req param
* test: Re-add missing Playwright installation for CI tests
* refactor: Logic & security improvements
* refactor: Retrieve publishing jobs and DRY the workflows
* fix: Test workflow syntax
* fix: Upstream Release Tag for test workflow
* chore: Remove test workflow
* ci: Run WebUI jobs on `ubuntu-24.04-arm`
* refactor: Post-CR cleanup
Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
Co-authored-by: Aleksander Grygier <aleksander.grygier@gmail.com>
* refactor: CI cleanup
* refactor: Cleanup
* test: Test workflow
* refactor: use LLAMA_BUILD_NUMBER instead of LLAMA_BUILD_TAG for HF Bucket webui downloads
* server: add fallback mechanism for HF Bucket webui downloads from latest directory
* fix: Incorrect argument order in file(SHA256) calls for checksum verification
* refactor: Use cmake script for handling the HF Bucket download on build time
* feat: support local npm build for WebUI assets
* refactor: add `HF_ENABLED` flag to control WebUI build/download provisioning
* refactor: Cleanup
* chore: Remove test workflow
* fix: remove s390x from release workflow
* fix: add webui-build dependency to ubuntu-22-rocm and windows-hip
* Revert "fix: remove s390x from release workflow"
This reverts commit debcfff.
* fix: Release workflow file
* fix: Proper release tag used for HF Bucket upload
* fix: Remove duplicate steps in release workflow
---------
Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>1 parent 67b2b7f commit 253ba11
33 files changed
Lines changed: 683 additions & 13477 deletions
File tree
- .github
- workflows
- common
- grammars
- scripts
- tools/server
- public
- webui
- scripts
- src
- lib
- components/app/server
- constants
- services
- routes/(chat)/chat/[id]
- tests/stories
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | 56 | | |
65 | 57 | | |
66 | 58 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | 80 | | |
82 | 81 | | |
83 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
39 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
40 | 47 | | |
41 | 48 | | |
42 | 49 | | |
| |||
64 | 71 | | |
65 | 72 | | |
66 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
67 | 80 | | |
68 | 81 | | |
69 | 82 | | |
| |||
100 | 113 | | |
101 | 114 | | |
102 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
103 | 119 | | |
104 | 120 | | |
105 | 121 | | |
| |||
119 | 135 | | |
120 | 136 | | |
121 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
122 | 144 | | |
123 | 145 | | |
124 | 146 | | |
| |||
169 | 191 | | |
170 | 192 | | |
171 | 193 | | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
172 | 197 | | |
173 | 198 | | |
174 | 199 | | |
| |||
186 | 211 | | |
187 | 212 | | |
188 | 213 | | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
189 | 220 | | |
190 | 221 | | |
191 | 222 | | |
| |||
237 | 268 | | |
238 | 269 | | |
239 | 270 | | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
240 | 274 | | |
241 | 275 | | |
242 | 276 | | |
| |||
249 | 283 | | |
250 | 284 | | |
251 | 285 | | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
252 | 292 | | |
253 | 293 | | |
254 | 294 | | |
| |||
306 | 346 | | |
307 | 347 | | |
308 | 348 | | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
309 | 352 | | |
310 | 353 | | |
311 | 354 | | |
| |||
327 | 370 | | |
328 | 371 | | |
329 | 372 | | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
330 | 379 | | |
331 | 380 | | |
332 | 381 | | |
| |||
386 | 435 | | |
387 | 436 | | |
388 | 437 | | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
389 | 441 | | |
390 | 442 | | |
391 | 443 | | |
| |||
400 | 452 | | |
401 | 453 | | |
402 | 454 | | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
403 | 461 | | |
404 | 462 | | |
405 | 463 | | |
| |||
438 | 496 | | |
439 | 497 | | |
440 | 498 | | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
441 | 502 | | |
442 | 503 | | |
443 | 504 | | |
| |||
461 | 522 | | |
462 | 523 | | |
463 | 524 | | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
464 | 531 | | |
465 | 532 | | |
466 | 533 | | |
| |||
520 | 587 | | |
521 | 588 | | |
522 | 589 | | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
523 | 593 | | |
524 | 594 | | |
525 | 595 | | |
| |||
531 | 601 | | |
532 | 602 | | |
533 | 603 | | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
534 | 610 | | |
535 | 611 | | |
536 | 612 | | |
| |||
591 | 667 | | |
592 | 668 | | |
593 | 669 | | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
594 | 673 | | |
595 | 674 | | |
596 | 675 | | |
| |||
629 | 708 | | |
630 | 709 | | |
631 | 710 | | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
632 | 717 | | |
633 | 718 | | |
634 | 719 | | |
| |||
696 | 781 | | |
697 | 782 | | |
698 | 783 | | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
699 | 787 | | |
700 | 788 | | |
701 | 789 | | |
| |||
743 | 831 | | |
744 | 832 | | |
745 | 833 | | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
746 | 840 | | |
747 | 841 | | |
748 | 842 | | |
| |||
782 | 876 | | |
783 | 877 | | |
784 | 878 | | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
785 | 882 | | |
786 | 883 | | |
787 | 884 | | |
| |||
798 | 895 | | |
799 | 896 | | |
800 | 897 | | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
801 | 904 | | |
802 | 905 | | |
803 | 906 | | |
| |||
885 | 988 | | |
886 | 989 | | |
887 | 990 | | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
888 | 994 | | |
889 | 995 | | |
890 | 996 | | |
| |||
901 | 1007 | | |
902 | 1008 | | |
903 | 1009 | | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
904 | 1016 | | |
905 | 1017 | | |
906 | 1018 | | |
| |||
1147 | 1259 | | |
1148 | 1260 | | |
1149 | 1261 | | |
| 1262 | + | |
1150 | 1263 | | |
1151 | 1264 | | |
1152 | 1265 | | |
| |||
1162 | 1275 | | |
1163 | 1276 | | |
1164 | 1277 | | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
1165 | 1281 | | |
1166 | 1282 | | |
1167 | 1283 | | |
| |||
1287 | 1403 | | |
1288 | 1404 | | |
1289 | 1405 | | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
42 | 46 | | |
| 47 | + | |
43 | 48 | | |
44 | 49 | | |
45 | 50 | | |
| |||
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
70 | 81 | | |
71 | 82 | | |
72 | 83 | | |
| |||
0 commit comments