Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds the newly release Phi3.5-mini, adding the following
model_id
s to our prebuilt model list:Phi-3.5-mini-instruct-q4f16_1-MLC
(4k KVCache)Phi-3.5-mini-instruct-q4f32_1-MLC
(4k KVCache)Phi-3.5-mini-instruct-q4f16_1-MLC-1k
(1k KVCache)Phi-3.5-mini-instruct-q4f16_1-MLC-1k
(1k KVCache)See mlc-ai/binary-mlc-llm-libs#136 for on which commits of TVM and MLC-LLM this is compiled with.
Note that Phi-3.5-mini comes with support up to 128K context (unlike Phi-3-mini which only has 4k) thanks to rope scaling which MLC-LLM supports, which you can take advantage of in WebLLM by increasing
ModelRecord.overrides.context_window_size
or specifying it inChatOptions
when loading a model, as long as there is enough VRAM.