Skip to content

feat: support Qwen3.8 Flash Next - #1691

Open
sufubao wants to merge 2 commits into
ModelTC:mainfrom
sufubao:support/qwen38-flash-next-upstream-clean
Open

sufubao wants to merge 2 commits into
ModelTC:mainfrom
sufubao:support/qwen38-flash-next-upstream-clean

Conversation

@sufubao

@sufubao sufubao commented Nov 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

Add LightLLM support for Qwen3.8 Flash Next, including the Qwen4-Exp model path, gated residual and n-gram embedding components, QSA kernels, pinned/row-sharded embeddings, multimodal handling, request-slot accounting, and focused regression coverage.

This branch is based directly on upstream/main and keeps the feature plus its formatter cleanup in a minimal two-commit history.

Validation

  • python -m compileall -q lightllm unit_tests test
  • git diff --check
  • pre-commit run --files <all changed files> (Black and Flake8)
  • pytest -q unit_tests/models/qwen4_exp/test_batch.py unit_tests/models/qwen4_exp/test_lexical_cache.py unit_tests/models/qwen4_exp/test_attention_state.py unit_tests/common/ngram_embedding/test_hash.py unit_tests/common/qsa/test_topk_compatibility.py (74 passed)

GPU model execution and H100 benchmark claims require the corresponding CUDA/dependency environment and are not asserted by this local validation.

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.

1 participant