Skip to content

Commit

Permalink
[Version] Bump to version 0.2.54 (#530)
Browse files Browse the repository at this point in the history
No breaking changes. The only diff is the following PR:

- #525
- This PR updates the engine reload() and unload() methods to allow
users to abort an uncompleted reload() by either:
    - call unload() any time before reload() completed
    - call reload() again before the previous reload() completed
- Besides, it fixes the previous issue where `device lost error` is
raised unexpectedly when user simply switches a model

### TVMjs
- To support the above PR, TVMjs is updated and compiled at
apache/tvm@1fcb620
- Difference:
  - Device error lost fix: apache/tvm#17250
  - Add AbortSignal to fetching APIs:
    - apache/tvm#17208
    - apache/tvm#17227
    - apache/tvm#17233
  • Loading branch information
CharlieFRuan committed Aug 8, 2024
1 parent ddac6d1 commit 50c5bba
Show file tree
Hide file tree
Showing 20 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion examples/abort-reload/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"url": "^0.11.3"
},
"dependencies": {
"@mlc-ai/web-llm": "file:../../lib"
"@mlc-ai/web-llm": "^0.2.54"
}
}
2 changes: 1 addition & 1 deletion examples/cache-usage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"url": "^0.11.3"
},
"dependencies": {
"@mlc-ai/web-llm": "^0.2.53"
"@mlc-ai/web-llm": "^0.2.54"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"url": "^0.11.1"
},
"dependencies": {
"@mlc-ai/web-llm": "^0.2.53",
"@mlc-ai/web-llm": "^0.2.54",
"progressbar.js": "^1.1.0"
}
}
2 changes: 1 addition & 1 deletion examples/chrome-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"url": "^0.11.1"
},
"dependencies": {
"@mlc-ai/web-llm": "^0.2.53",
"@mlc-ai/web-llm": "^0.2.54",
"progressbar.js": "^1.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"url": "^0.11.3"
},
"dependencies": {
"@mlc-ai/web-llm": "^0.2.53"
"@mlc-ai/web-llm": "^0.2.54"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"url": "^0.11.3"
},
"dependencies": {
"@mlc-ai/web-llm": "^0.2.53"
"@mlc-ai/web-llm": "^0.2.54"
}
}
2 changes: 1 addition & 1 deletion examples/get-started-web-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"url": "^0.11.3"
},
"dependencies": {
"@mlc-ai/web-llm": "^0.2.53"
"@mlc-ai/web-llm": "^0.2.54"
}
}
2 changes: 1 addition & 1 deletion examples/get-started/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"url": "^0.11.3"
},
"dependencies": {
"@mlc-ai/web-llm": "^0.2.53"
"@mlc-ai/web-llm": "^0.2.54"
}
}
2 changes: 1 addition & 1 deletion examples/json-mode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"url": "^0.11.3"
},
"dependencies": {
"@mlc-ai/web-llm": "^0.2.53"
"@mlc-ai/web-llm": "^0.2.54"
}
}
2 changes: 1 addition & 1 deletion examples/json-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"url": "^0.11.3"
},
"dependencies": {
"@mlc-ai/web-llm": "^0.2.53"
"@mlc-ai/web-llm": "^0.2.54"
}
}
2 changes: 1 addition & 1 deletion examples/logit-processor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"url": "^0.11.3"
},
"dependencies": {
"@mlc-ai/web-llm": "^0.2.53"
"@mlc-ai/web-llm": "^0.2.54"
}
}
2 changes: 1 addition & 1 deletion examples/multi-round-chat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"url": "^0.11.3"
},
"dependencies": {
"@mlc-ai/web-llm": "^0.2.53"
"@mlc-ai/web-llm": "^0.2.54"
}
}
2 changes: 1 addition & 1 deletion examples/next-simple-chat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lint": "next lint"
},
"dependencies": {
"@mlc-ai/web-llm": "^0.2.53",
"@mlc-ai/web-llm": "^0.2.54",
"@types/node": "20.3.3",
"@types/react": "18.2.14",
"@types/react-dom": "18.2.6",
Expand Down
2 changes: 1 addition & 1 deletion examples/seed-to-reproduce/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"url": "^0.11.3"
},
"dependencies": {
"@mlc-ai/web-llm": "^0.2.53"
"@mlc-ai/web-llm": "^0.2.54"
}
}
2 changes: 1 addition & 1 deletion examples/service-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"url": "^0.11.3"
},
"dependencies": {
"@mlc-ai/web-llm": "^0.2.53"
"@mlc-ai/web-llm": "^0.2.54"
}
}
2 changes: 1 addition & 1 deletion examples/simple-chat-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"url": "^0.11.3"
},
"dependencies": {
"@mlc-ai/web-llm": "^0.2.53"
"@mlc-ai/web-llm": "^0.2.54"
}
}
2 changes: 1 addition & 1 deletion examples/streaming/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"url": "^0.11.3"
},
"dependencies": {
"@mlc-ai/web-llm": "^0.2.53"
"@mlc-ai/web-llm": "^0.2.54"
}
}
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mlc-ai/web-llm",
"version": "0.2.53",
"version": "0.2.54",
"description": "Hardware accelerated language model chats on browsers",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion utils/vram_requirements/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"url": "^0.11.3"
},
"dependencies": {
"@mlc-ai/web-llm": "^0.2.53",
"@mlc-ai/web-llm": "^0.2.54",
"tvmjs": "file:./../../tvm_home/web"
}
}

0 comments on commit 50c5bba

Please sign in to comment.