Closed
Conversation
Owner
|
Closing for now. Qwen 3.5 uses a hybrid Gated DeltaNet architecture that TVM/MLC cannot compile yet, so these model IDs likely do not exist in the current @mlc-ai/web-llm prebuilt list. Selecting them from the dropdown would fail at runtime. We will revisit this when Qwen 3.5 becomes available in WebLLM. Thanks for the contribution! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What does this PR do?
This pull request adds support for several new Qwen model variants to the model loader, including their configuration, context sizes, and metadata. These additions expand the available models, especially for users needing efficient models with lower VRAM requirements or improved reasoning capabilities.
New model support and configuration:
F16_TO_F32_MODEL_MAPfor automatic mapping between quantization formats:Qwen2.5-3B-Instruct-q4f16_1-MLC,Qwen3.5-4B-Instruct-q4f16_1-MLC, andQwen3.5-35B-A3B-q4f16_1-MLC.MODEL_CONTEXT_SIZES.Model metadata and capabilities:
ModelLoaderclass:Qwen3.5-35B-A3B-q4f16_1-MLC: Large MoE model with high reasoning quality and low VRAM usage, marked as recommended.Qwen3.5-4B-Instruct-q4f16_1-MLC: Balanced model for agentic tasks.Qwen2.5-3B-Instruct-q4f16_1-MLC: Reliable small model for structured tasks.Type
How to test
Screenshots (if UI changes)