Skip to content

Add ColQwen3.5 and BiQwen3.5 model support#400

Merged
ManuelFay merged 7 commits intoilluin-tech:mainfrom
athrael-soju:feat/add-colqwen3_5-support
Mar 17, 2026
Merged

Add ColQwen3.5 and BiQwen3.5 model support#400
ManuelFay merged 7 commits intoilluin-tech:mainfrom
athrael-soju:feat/add-colqwen3_5-support

Conversation

@athrael-soju
Copy link
Copy Markdown
Contributor

@athrael-soju athrael-soju commented Mar 10, 2026

This pull request adds support for the new ColQwen3.5 and BiQwen3.5 models, including their model and processor implementations, integration into the codebase, a training script, and comprehensive tests. These changes enable document retrieval using the latest Qwen3.5 backbone and provide both single-vector (BiQwen3.5) and multi-vector (ColQwen3.5) retrieval capabilities.

Model and Processor Additions:

  • Added ColQwen3_5 and BiQwen3_5 model classes, along with their respective processor classes (ColQwen3_5Processor, BiQwen3_5Processor), implementing document and vision-language retrieval based on the Qwen3.5 backbone. [1] [2] [3] [4] [5] [6] [7]
  • Registered the new models and processors in the main __init__.py file for easy import and usage.

Training and Configuration:

  • Added a training script train_colqwen3_5_model.py under scripts/configs/qwen3_5/, allowing users to train ColQwen3.5 models with configurable arguments for optimizer, loss, PEFT, and datasets.

Testing:

  • Introduced comprehensive tests for the new ColQwen3_5 model, including model loading, forward pass with images and queries, and integration with retrieval tasks.

Documentation:

  • Updated the CHANGELOG.md to document the addition of ColQwen3.5 and BiQwen3.5 support, including a reference to the pretrained checkpoint.

A pretrained checkpoint is available at athrael-soju/colqwen3.5-v1 (4.5B params, Apache 2.0)

Comment thread colpali_engine/models/qwen3_5/biqwen3_5/modeling_biqwen3_5.py
Comment thread colpali_engine/models/qwen3_5/biqwen3_5/modeling_biqwen3_5.py Outdated
Comment thread colpali_engine/models/qwen3_5/biqwen3_5/modeling_biqwen3_5.py
Comment thread scripts/configs/qwen3_5/train_colqwen3_5_model.py Outdated
Comment thread scripts/configs/qwen3_5/train_colqwen3_5_model.py Outdated
Comment thread CHANGELOG.md
@athrael-soju
Copy link
Copy Markdown
Contributor Author

@ManuelFay feedback addressed!

@athrael-soju athrael-soju requested a review from ManuelFay March 11, 2026 17:38
Comment thread colpali_engine/models/qwen3_5/biqwen3_5/modeling_biqwen3_5.py
Comment thread colpali_engine/models/qwen3_5/colqwen3_5/modeling_colqwen3_5.py Outdated
@ManuelFay
Copy link
Copy Markdown
Collaborator

I'm super sorry, I had reviewed but didn't press submit :/ main thing is the 320 dim comment which I feel should probably not be the hqrdcoded standard. rest LGTM

@ManuelFay
Copy link
Copy Markdown
Collaborator

great ! Are you sure your model load correctly with this new way of injecting the config ? If so, I 'll merge

@athrael-soju
Copy link
Copy Markdown
Contributor Author

athrael-soju commented Mar 16, 2026

great ! Are you sure your model load correctly with this new way of injecting the config ? If so, I 'll merge

We're gonna find out soon enough: https://buildkite.com/vllm/ci/builds/56432/steps/canvas

If you want, let's wait until it's merged on vLLM first.

EDIT: Also updated to point to the latest checkpoint.

@ManuelFay
Copy link
Copy Markdown
Collaborator

That's awesome ! All right, let's wait and when we have full confidence, just indicate it here and I'll merge it in. Thanks again for the contribution !

@athrael-soju
Copy link
Copy Markdown
Contributor Author

athrael-soju commented Mar 16, 2026

That's awesome ! All right, let's wait and when we have full confidence, just indicate it here and I'll merge it in. Thanks again for the contribution !

@ManuelFay It's ready to go!

@ManuelFay
Copy link
Copy Markdown
Collaborator

Great, merging now!

@ManuelFay ManuelFay merged commit 9be8f19 into illuin-tech:main Mar 17, 2026
6 checks passed
@ManuelFay
Copy link
Copy Markdown
Collaborator

Congrats on PR #400 @athrael-soju , nice milestone !

@athrael-soju
Copy link
Copy Markdown
Contributor Author

Congrats on PR #400 @athrael-soju , nice milestone !

Haha nice one!

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.

2 participants