Skip to content

Commit

Permalink
[Version] Bump version to 0.2.76 (#637)
Browse files Browse the repository at this point in the history
### Change

- #635
  - Integrate with `web-xgrammar`
- Support `ResponseFormat.type == "grammar"`, where you specify an EBNF
grammar string
- Add `grammar_init_ms` and `grammar_per_token_ms` to
`CompletionUsage.extra` when using grammar
- Add `time_to_first_token_s` (TTFT) and `time_per_output_token_s`
(TPOT), `e2e_latency_s` to `CompletionUsage.extra`
  - Add `ignore_eos` to `Completion` and `ChatCompletion` requests
- #632
  - Fixes of vram requirement for Qwen2.5-Coder-1.5B-Instruct model

### TVMjs
- No change, version `0.18.0-dev2` just like 0.2.71
  • Loading branch information
CharlieFRuan authored Nov 22, 2024
1 parent c6b1b4e commit 082f04e
Show file tree
Hide file tree
Showing 25 changed files with 196 additions and 321 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ npm install
npm run build
```

Then, to test the effects of your code change in an example, inside `examples/get-started/package.json`, change from `"@mlc-ai/web-llm": "^0.2.75"` to `"@mlc-ai/web-llm": ../..`.
Then, to test the effects of your code change in an example, inside `examples/get-started/package.json`, change from `"@mlc-ai/web-llm": "^0.2.76"` to `"@mlc-ai/web-llm": ../..`.

Then run:

Expand Down
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": "^0.2.75"
"@mlc-ai/web-llm": "^0.2.76"
}
}
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.75"
"@mlc-ai/web-llm": "^0.2.76"
}
}
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.75",
"@mlc-ai/web-llm": "^0.2.76",
"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.75",
"@mlc-ai/web-llm": "^0.2.76",
"progressbar.js": "^1.1.0"
}
}
2 changes: 1 addition & 1 deletion examples/embeddings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"url": "^0.11.3"
},
"dependencies": {
"@mlc-ai/web-llm": "^0.2.75",
"@mlc-ai/web-llm": "^0.2.76",
"langchain": "0.2.15"
}
}
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.75"
"@mlc-ai/web-llm": "^0.2.76"
}
}
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.75"
"@mlc-ai/web-llm": "^0.2.76"
}
}
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.75"
"@mlc-ai/web-llm": "^0.2.76"
}
}
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.75"
"@mlc-ai/web-llm": "^0.2.76"
}
}
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.75"
"@mlc-ai/web-llm": "^0.2.76"
}
}
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.75"
"@mlc-ai/web-llm": "^0.2.76"
}
}
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.75"
"@mlc-ai/web-llm": "^0.2.76"
}
}
2 changes: 1 addition & 1 deletion examples/multi-models/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.75"
"@mlc-ai/web-llm": "^0.2.76"
}
}
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.75"
"@mlc-ai/web-llm": "^0.2.76"
}
}
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.75",
"@mlc-ai/web-llm": "^0.2.76",
"@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.75"
"@mlc-ai/web-llm": "^0.2.76"
}
}
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.75"
"@mlc-ai/web-llm": "^0.2.76"
}
}
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.75"
"@mlc-ai/web-llm": "^0.2.76"
}
}
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.75"
"@mlc-ai/web-llm": "^0.2.76"
}
}
2 changes: 1 addition & 1 deletion examples/text-completion/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.75"
"@mlc-ai/web-llm": "^0.2.76"
}
}
2 changes: 1 addition & 1 deletion examples/vision-model/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.75"
"@mlc-ai/web-llm": "^0.2.76"
}
}
Loading

0 comments on commit 082f04e

Please sign in to comment.