Skip to content

Conversation

@WeiweiZhang1
Copy link
Contributor

No description provided.

…fp UT

Signed-off-by: Zhang, Weiwei1 <weiwei1.zhang@intel.com>
WeiweiZhang1 and others added 2 commits December 23, 2025 01:55
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enables quantization and loading support for the Qwen3-VL-MoE model by implementing expert-to-linear conversion and adding comprehensive test coverage.

Key Changes:

  • Added Qwen3-VL-MoE model handler with expert conversion logic similar to existing MoE models
  • Implemented device-aware E2M1 tensor caching to improve performance
  • Added test fixtures and test cases for both CPU and CUDA environments

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
auto_round/modelling/qwen3_vl_moe.py New module implementing LinearQwen3VLMoeTextSparseMoeBlock for expert-to-linear conversion during quantization
auto_round/special_model_handler.py Registered qwen3_vl_moe in supported models list and expert conversion mapping
test/test_cuda/test_moe_model.py Added fixture and test case for Qwen3-VL-MoE MXFP4 quantization on CUDA
test/test_cpu/test_moe_model.py Added fixture and test case for Qwen3-VL-MoE MXFP4 quantization on CPU
auto_round/experimental/qmodules/fp4_utils.py Refactored E2M1 lookup tensor to use device-aware caching mechanism
auto_round/data_type/utils.py Added trailing newline for consistency

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Signed-off-by: Zhang, Weiwei1 <weiwei1.zhang@intel.com>
Copy link
Contributor

@yiliu30 yiliu30 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Others LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants