@@ -717,168 +717,114 @@ export const prebuiltAppConfig: AppConfig = {
717
717
sliding_window_size : - 1 ,
718
718
} ,
719
719
} ,
720
- // SmolLM
720
+ // SmolLM2
721
721
{
722
- model : "https://huggingface.co/mlc-ai/SmolLM -1.7B-Instruct-q0f16 -MLC" ,
723
- model_id : "SmolLM -1.7B-Instruct-q0f16 -MLC" ,
722
+ model : "https://huggingface.co/mlc-ai/SmolLM2 -1.7B-Instruct-q4f16_1 -MLC" ,
723
+ model_id : "SmolLM2 -1.7B-Instruct-q4f16_1 -MLC" ,
724
724
model_lib :
725
725
modelLibURLPrefix +
726
726
modelVersion +
727
- "/SmolLM -1.7B-Instruct-q0f16-ctx2k_cs1k -webgpu.wasm" ,
728
- vram_required_MB : 3736 .19,
727
+ "/SmolLM2 -1.7B-Instruct-q4f16_1-ctx4k_cs1k -webgpu.wasm" ,
728
+ vram_required_MB : 1774 .19,
729
729
low_resource_required : true ,
730
730
required_features : [ "shader-f16" ] ,
731
731
overrides : {
732
- context_window_size : 2048 ,
733
- } ,
734
- } ,
735
- {
736
- model : "https://huggingface.co/mlc-ai/SmolLM-1.7B-Instruct-q0f32-MLC" ,
737
- model_id : "SmolLM-1.7B-Instruct-q0f32-MLC" ,
738
- model_lib :
739
- modelLibURLPrefix +
740
- modelVersion +
741
- "/SmolLM-1.7B-Instruct-q0f32-ctx2k_cs1k-webgpu.wasm" ,
742
- vram_required_MB : 7432.38 ,
743
- low_resource_required : false ,
744
- overrides : {
745
- context_window_size : 2048 ,
746
- } ,
747
- } ,
748
- {
749
- model : "https://huggingface.co/mlc-ai/SmolLM-1.7B-Instruct-q4f16_1-MLC" ,
750
- model_id : "SmolLM-1.7B-Instruct-q4f16_1-MLC" ,
751
- model_lib :
752
- modelLibURLPrefix +
753
- modelVersion +
754
- "/SmolLM-1.7B-Instruct-q4f16_1-ctx2k_cs1k-webgpu.wasm" ,
755
- vram_required_MB : 1390.19 ,
756
- low_resource_required : true ,
757
- required_features : [ "shader-f16" ] ,
758
- overrides : {
759
- context_window_size : 2048 ,
732
+ context_window_size : 4096 ,
760
733
} ,
761
734
} ,
762
735
{
763
- model : "https://huggingface.co/mlc-ai/SmolLM -1.7B-Instruct-q4f32_1-MLC" ,
764
- model_id : "SmolLM -1.7B-Instruct-q4f32_1-MLC" ,
736
+ model : "https://huggingface.co/mlc-ai/SmolLM2 -1.7B-Instruct-q4f32_1-MLC" ,
737
+ model_id : "SmolLM2 -1.7B-Instruct-q4f32_1-MLC" ,
765
738
model_lib :
766
739
modelLibURLPrefix +
767
740
modelVersion +
768
- "/SmolLM -1.7B-Instruct-q4f32_1-ctx2k_cs1k -webgpu.wasm" ,
769
- vram_required_MB : 1924 .38,
741
+ "/SmolLM2 -1.7B-Instruct-q4f32_1-ctx4k_cs1k -webgpu.wasm" ,
742
+ vram_required_MB : 2692 .38,
770
743
low_resource_required : true ,
771
744
overrides : {
772
- context_window_size : 2048 ,
745
+ context_window_size : 4096 ,
773
746
} ,
774
747
} ,
775
748
776
749
{
777
- model : "https://huggingface.co/mlc-ai/SmolLM-360M-Instruct-q0f16-MLC" ,
778
- model_id : "SmolLM-360M-Instruct-q0f16-MLC" ,
779
- model_lib :
780
- modelLibURLPrefix +
781
- modelVersion +
782
- "/SmolLM-360M-Instruct-q0f16-ctx2k_cs1k-webgpu.wasm" ,
783
- vram_required_MB : 791.99 ,
784
- low_resource_required : true ,
785
- required_features : [ "shader-f16" ] ,
786
- overrides : {
787
- context_window_size : 2048 ,
788
- } ,
789
- } ,
790
- {
791
- model : "https://huggingface.co/mlc-ai/SmolLM-360M-Instruct-q0f32-MLC" ,
792
- model_id : "SmolLM-360M-Instruct-q0f32-MLC" ,
750
+ model : "https://huggingface.co/mlc-ai/SmolLM2-360M-Instruct-q0f16-MLC" ,
751
+ model_id : "SmolLM2-360M-Instruct-q0f16-MLC" ,
793
752
model_lib :
794
753
modelLibURLPrefix +
795
754
modelVersion +
796
- "/SmolLM-360M-Instruct-q0f32-ctx2k_cs1k-webgpu.wasm" ,
797
- vram_required_MB : 1583.99 ,
798
- low_resource_required : true ,
799
- overrides : {
800
- context_window_size : 2048 ,
801
- } ,
802
- } ,
803
- {
804
- model : "https://huggingface.co/mlc-ai/SmolLM-360M-Instruct-q4f16_1-MLC" ,
805
- model_id : "SmolLM-360M-Instruct-q4f16_1-MLC" ,
806
- model_lib :
807
- modelLibURLPrefix +
808
- modelVersion +
809
- "/SmolLM-360M-Instruct-q4f16_1-ctx2k_cs1k-webgpu.wasm" ,
810
- vram_required_MB : 296.06 ,
755
+ "/SmolLM2-360M-Instruct-q0f16-ctx4k_cs1k-webgpu.wasm" ,
756
+ vram_required_MB : 871.99 ,
811
757
low_resource_required : true ,
812
758
required_features : [ "shader-f16" ] ,
813
759
overrides : {
814
- context_window_size : 2048 ,
760
+ context_window_size : 4096 ,
815
761
} ,
816
762
} ,
817
763
{
818
- model : "https://huggingface.co/mlc-ai/SmolLM -360M-Instruct-q4f32_1 -MLC" ,
819
- model_id : "SmolLM -360M-Instruct-q4f32_1 -MLC" ,
764
+ model : "https://huggingface.co/mlc-ai/SmolLM2 -360M-Instruct-q0f32 -MLC" ,
765
+ model_id : "SmolLM2 -360M-Instruct-q0f32 -MLC" ,
820
766
model_lib :
821
767
modelLibURLPrefix +
822
768
modelVersion +
823
- "/SmolLM -360M-Instruct-q4f32_1-ctx2k_cs1k -webgpu.wasm" ,
824
- vram_required_MB : 419.61 ,
769
+ "/SmolLM2 -360M-Instruct-q0f32-ctx4k_cs1k -webgpu.wasm" ,
770
+ vram_required_MB : 1743.99 ,
825
771
low_resource_required : true ,
826
772
overrides : {
827
- context_window_size : 2048 ,
773
+ context_window_size : 4096 ,
828
774
} ,
829
775
} ,
830
776
{
831
- model : "https://huggingface.co/mlc-ai/SmolLM-135M -Instruct-q0f16 -MLC" ,
832
- model_id : "SmolLM-135M -Instruct-q0f16 -MLC" ,
777
+ model : "https://huggingface.co/mlc-ai/SmolLM2-360M -Instruct-q4f16_1 -MLC" ,
778
+ model_id : "SmolLM2-360M -Instruct-q4f16_1 -MLC" ,
833
779
model_lib :
834
780
modelLibURLPrefix +
835
781
modelVersion +
836
- "/SmolLM-135M -Instruct-q0f16-ctx2k_cs1k -webgpu.wasm" ,
837
- vram_required_MB : 314.69 ,
782
+ "/SmolLM2-360M -Instruct-q4f16_1-ctx4k_cs1k -webgpu.wasm" ,
783
+ vram_required_MB : 376.06 ,
838
784
low_resource_required : true ,
839
785
required_features : [ "shader-f16" ] ,
840
786
overrides : {
841
- context_window_size : 2048 ,
787
+ context_window_size : 4096 ,
842
788
} ,
843
789
} ,
844
790
{
845
- model : "https://huggingface.co/mlc-ai/SmolLM-135M -Instruct-q0f32 -MLC" ,
846
- model_id : "SmolLM-135M -Instruct-q0f32 -MLC" ,
791
+ model : "https://huggingface.co/mlc-ai/SmolLM2-360M -Instruct-q4f32_1 -MLC" ,
792
+ model_id : "SmolLM2-360M -Instruct-q4f32_1 -MLC" ,
847
793
model_lib :
848
794
modelLibURLPrefix +
849
795
modelVersion +
850
- "/SmolLM-135M -Instruct-q0f32-ctx2k_cs1k -webgpu.wasm" ,
851
- vram_required_MB : 629.38 ,
796
+ "/SmolLM2-360M -Instruct-q4f32_1-ctx4k_cs1k -webgpu.wasm" ,
797
+ vram_required_MB : 579.61 ,
852
798
low_resource_required : true ,
853
799
overrides : {
854
- context_window_size : 2048 ,
800
+ context_window_size : 4096 ,
855
801
} ,
856
802
} ,
857
803
{
858
- model : "https://huggingface.co/mlc-ai/SmolLM -135M-Instruct-q4f16_1 -MLC" ,
859
- model_id : "SmolLM -135M-Instruct-q4f16_1 -MLC" ,
804
+ model : "https://huggingface.co/mlc-ai/SmolLM2 -135M-Instruct-q0f16 -MLC" ,
805
+ model_id : "SmolLM2 -135M-Instruct-q0f16 -MLC" ,
860
806
model_lib :
861
807
modelLibURLPrefix +
862
808
modelVersion +
863
- "/SmolLM -135M-Instruct-q4f16_1-ctx2k_cs1k -webgpu.wasm" ,
864
- vram_required_MB : 130.33 ,
809
+ "/SmolLM2 -135M-Instruct-q0f16-ctx4k_cs1k -webgpu.wasm" ,
810
+ vram_required_MB : 359.69 ,
865
811
low_resource_required : true ,
866
812
required_features : [ "shader-f16" ] ,
867
813
overrides : {
868
- context_window_size : 2048 ,
814
+ context_window_size : 4096 ,
869
815
} ,
870
816
} ,
871
817
{
872
- model : "https://huggingface.co/mlc-ai/SmolLM -135M-Instruct-q4f32_1 -MLC" ,
873
- model_id : "SmolLM -135M-Instruct-q4f32_1 -MLC" ,
818
+ model : "https://huggingface.co/mlc-ai/SmolLM2 -135M-Instruct-q0f32 -MLC" ,
819
+ model_id : "SmolLM2 -135M-Instruct-q0f32 -MLC" ,
874
820
model_lib :
875
821
modelLibURLPrefix +
876
822
modelVersion +
877
- "/SmolLM -135M-Instruct-q4f32_1-ctx2k_cs1k -webgpu.wasm" ,
878
- vram_required_MB : 196.54 ,
823
+ "/SmolLM2 -135M-Instruct-q0f32-ctx4k_cs1k -webgpu.wasm" ,
824
+ vram_required_MB : 719.38 ,
879
825
low_resource_required : true ,
880
826
overrides : {
881
- context_window_size : 2048 ,
827
+ context_window_size : 4096 ,
882
828
} ,
883
829
} ,
884
830
// Gemma2
0 commit comments