File size: 3,658 Bytes
80fd73c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
const categoryDemos = [
  {
    name: `ONNX Runtime`,
    description: `ONNX Runtime`,
    demos: {
      'ort-phi3': {
        name: 'phi3',
        description: `phi3 from Microsoft`,
        filename: "ort-phi3",
      },
      'ort-sam': {
        name: 'Segment Anything',
        description: `Segment Anything from https://github.com/guschmue/ort-webgpu/tree/master/segment-anything`,
        filename: "ort-sam",
        video: "ort-sam.mp4",
      },
      'ort-sdturbo': {
        name: 'Stable Diffusion Turbo',
        description: `Stable Diffusion Turbo from https://github.com/guschmue/ort-webgpu/tree/master/sd-turbo`,
        filename: "ort-sdturbo",
      },
      'ort-tinyllama': {
        name: 'Tiny Llama',
        description: `Tiny Llama from https://github.com/guschmue/ort-webgpu/tree/master/chat`,
        filename: "ort-tinyllama",
      },
      'ort-yolo': {
        name: 'Yolo',
        description: `Yolo V9 from https://github.com/guschmue/ort-webgpu/tree/master/yolov9`,
        filename: "ort-yolo",
      },
    },
  },
  {
    name: `TFLite`,
    description: `TFLite`,
    demos: {
      'tflite-gemma': {
        name: 'Gemma',
        description: `Gemma with TFLite and MediaPipe from https://github.com/googlesamples/mediapipe/tree/main/examples/llm_inference/js, <a href=https://developers.googleblog.com/2024/03/running-large-language-models-on-device-with-mediapipe-andtensorflow-lite.html>more info.</a>`,
        filename: "tflite-gemma",
      },
    },
  },
  {
    name: 'Transformers.js',
    description: 'Transformers.js',
    demos: {
      benchmark: {
        name: 'Benchmark',
        description: `Benchmark by Transformers.js`,
        filename: "https://huggingface.co/spaces/Xenova/webgpu-embedding-benchmark",
        openInNewTab: true,
      },
      'tjs-clip': {
        name: 'OpenAI Clip',
        description: `Zero-shot Image Classification with OpenAI's CLIP by Transformers.js`,
        filename: "https://huggingface.co/spaces/Xenova/webgpu-clip",
        openInNewTab: true,
        video: 'tjs-clip.mp4',
      },
      depthAnything: {
        name: 'Depth Anything',
        description: `Depth Anything by Transformers.js`,
        filename: "https://huggingface.co/spaces/Xenova/webgpu-depth-anything",
        openInNewTab: true,
      },
      removeImageBackground: {
        name: 'Remove Image Background',
        description: `Image Background Removal by Transformers.js`,
        filename: "https://huggingface.co/spaces/Xenova/remove-background-webgpu",
        openInNewTab: true,
      },
      removeVideoBackground: {
        name: 'Remove Video Background',
        description: `Video Background Removal by Transformers.js`,
        filename: "https://huggingface.co/spaces/Xenova/webgpu-video-background-removal",
        openInNewTab: true,
      },
    },
  },
  {
    name: 'TVM',
    description: 'TVM',
    demos: {
      sd: {
        name: 'Web Stable Diffusion',
        description: `Web Stable Diffusion`,
        filename: "https://websd.mlc.ai/",
        openInNewTab: true,
      },
      llm: {
        name: 'Web LLM (Gemma/LLama/Mistral/Phi)',
        description: `Web LLM`,
        filename: "https://webllm.mlc.ai/",
        openInNewTab: true,
      },
    },
  },
  {
    name: `Developer Only`,
    description: `Developer Only`,
    demos: {
      'ort-phi2-test': {
        name: 'phi2 test',
        description: `phi2 from Microsoft`,
        filename: "ort-phi2-test",
      },
      'ort-phi3-test': {
        name: 'phi3 test',
        description: `phi3 from Microsoft`,
        filename: "ort-phi3-test",
      },
    },
  },
];