Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ Some samples for this repository are based on modifications of examples from [Tr
| [Image to text](./samples/image_to_text/) | [Transformers.js](https://github.com/xenova/transformers.js/tree/main/examples/demo-site) | [ViT-GPT2](https://huggingface.co/nlpconnect/vit-gpt2-image-captioning) | Apache-2.0 |
| [Question Answering](./samples/question_answering/) | [Transformers.js](https://github.com/xenova/transformers.js/tree/main/examples/demo-site) | [DistilBERT](https://huggingface.co/distilbert/distilbert-base-cased-distilled-squad) | Apache-2.0 |
| [Summarization](./samples/summarization/) | [Transformers.js](https://github.com/xenova/transformers.js/tree/main/examples/demo-site) | [DistilBART CNN](https://huggingface.co/sshleifer/distilbart-cnn-6-6) | Apache-2.0 |
| [Phi3 WebGPU](./samples/phi3-webgpu/) | [Transformers.js](https://github.com/xenova/transformers.js/tree/v3/examples/webgpu-chat) | [Phi-3-mini-4k](https://huggingface.co/microsoft/Phi-3-mini-4k-instruct-onnx) | [MIT](https://huggingface.co/microsoft/Phi-3-mini-4k-instruct-onnx/blob/main/LICENSE) |
| [LLM Gemma](./samples/llm_gemma/) | [MediaPipe](https://github.com/google-ai-edge/mediapipe) | [Gemma-2B](https://www.kaggle.com/models/google/gemma/tfLite/) | [Gemma](https://ai.google.dev/gemma/terms) |
| [SD Turbo](./samples/stable_diffusion/) | [guschmue/ort-webgpu](https://github.com/guschmue/ort-webgpu/tree/master/sd-turbo) | [SD Turbo](https://huggingface.co/schmuell/sd-turbo-ort-web/) | [STABILITY AI COMMUNITY LICENSE AGREEMENT](https://huggingface.co/stabilityai/sd-turbo/blob/main/LICENSE.md) |
| [DeepSeek R1 WebGPU (local model)](./samples/deepseek-r1-webgpu-local/) | [Transformers.js](https://github.com/huggingface/transformers.js-samples/tree/main/deepseek-r1-webgpu-local) | [DeepSeek-R1](https://huggingface.co/onnx-community/DeepSeek-R1-Distill-Qwen-1.5B-ONNX) | [MIT](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B/blob/main/LICENSE) |
Expand Down
8 changes: 1 addition & 7 deletions build_scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@ const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);

function buildSubProjects(args) {
const PROJECT_ARRAY = [
"phi3-webgpu",
"deepseek-r1-webgpu",
"deepseek-r1-webgpu-local"
];
const PROJECT_ARRAY = ["deepseek-r1-webgpu", "deepseek-r1-webgpu-local"];
const buildCmd =
args === "--github"
? "build:github"
Expand All @@ -49,8 +45,6 @@ function copyResourcesIntoDist(args) {
];

const REMOTE_DEMOS_DIST = {
"samples/phi3-webgpu/dist/assets": "/assets",
"samples/phi3-webgpu/dist/index.html": "samples/phi3-webgpu/",
"samples/deepseek-r1-webgpu/dist/assets": "/assets",
"samples/deepseek-r1-webgpu/dist/index.html": "samples/deepseek-r1-webgpu/",
"samples/deepseek-r1-webgpu-local/dist/assets": "/assets",
Expand Down
2 changes: 0 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ export default [
ignores: [
"node_modules",
"dist",
"samples/phi3-webgpu/node_modules",
"samples/phi3-webgpu/dist",
"samples/deepseek-r1-webgpu/node_modules",
"samples/deepseek-r1-webgpu/dist",
"samples/deepseek-r1-webgpu-local/node_modules",
Expand Down
12 changes: 0 additions & 12 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,18 +215,6 @@ let SAMPLES = [
devices: [DEVICES.GPU],
update: "2024-06-10"
},
{
id: "webgpu_phi3_mini",
title: "Phi-3",
desc: "Language model released in Apr 2024 by Microsoft",
sampleUrl: "./samples/phi3-webgpu/index.html",
models: ["Phi 3 Mini 4k Instruct"],
tasks: "Text Generation",
webApis: [BACKENDS.WEBGPU],
framework: "Transformers.js",
devices: [DEVICES.GPU],
update: "2024-06-09"
},
{
id: "webgpu_phi35_mini",
title: "Phi-3.5",
Expand Down
Loading