Skip to content

Conversation

@Isotr0py
Copy link
Member

@Isotr0py Isotr0py commented May 18, 2025

Isotr0py added 3 commits May 17, 2025 23:00
Signed-off-by: isotr0py <2037008807@qq.com>
Signed-off-by: isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
@github-actions
Copy link

👋 Hi! Thank you for contributing to the vLLM project.

💬 Join our developer Slack at https://slack.vllm.ai to discuss your PR in #pr-reviews, coordinate on features in #feat- channels, or join special interest groups in #sig- channels.

Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run fastcheck CI which starts running only a small and essential subset of CI tests to quickly catch errors. You can run other CI tests on top of those by going to your fastcheck build on Buildkite UI (linked in the PR checks section) and unblock them. If you do not have permission to unblock, ping simon-mo or khluu to add you in our Buildkite org.

Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging.

To run CI, PR reviewers can either: Add ready label to the PR or enable auto-merge.

🚀

Isotr0py added 5 commits May 18, 2025 23:32
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
@Isotr0py Isotr0py marked this pull request as ready for review May 19, 2025 14:34
@Isotr0py Isotr0py requested review from DarkLight1337 and mgoin May 19, 2025 14:34
@DarkLight1337
Copy link
Member

cc @noooop can you help test this?

@noooop
Copy link
Collaborator

noooop commented May 24, 2025

Sorry, I'm going outside currently and can only go back for testing on the 27th

@DarkLight1337
Copy link
Member

Since this model already has a test in CI, I'll just unblock it and see if it passes

@noooop
Copy link
Collaborator

noooop commented May 24, 2025

https://huggingface.co/Alibaba-NLP/gte-Qwen2-1.5B-instruct/discussions/37

Fix: Respect is_causal=False config in forward to enable bidirectional attention

The test failure is related to this, and after a year, it has finally been fixed.

Signed-off-by: Isotr0py <2037008807@qq.com>
@Isotr0py Isotr0py requested a review from ywang96 as a code owner May 24, 2025 15:28
@mergify
Copy link

mergify bot commented May 26, 2025

This pull request has merge conflicts that must be resolved before it can be
merged. Please rebase the PR, @Isotr0py.

https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork

@mergify mergify bot added the needs-rebase label May 26, 2025
@noooop
Copy link
Collaborator

noooop commented May 28, 2025

sorry for late response

language-models-test-extended has verified the model's results on mteb/STS12

I tested a larger mteb/T2Reranking dataset.
There can still be significant speed improvements without kernel tuning.

Supporting long context requires #18755

# https://github.com/noooop/snippet/blob/main/benchmarks/test_mteb/test_speed.py

python -m benchmarks.test_mteb.test_speed nomic-ai/nomic-embed-text-v2-moe float16 512
python -m benchmarks.test_mteb.test_speed nomic-ai/nomic-embed-text-v2-moe float32 512

# https://github.com/noooop/snippet/blob/main/benchmarks/test_mteb/test_speed_long.py

python -m benchmarks.test_mteb.test_speed_long nomic-ai/nomic-embed-text-v2-moe float16
python -m benchmarks.test_mteb.test_speed_long nomic-ai/nomic-embed-text-v2-moe float32

main:
512
float32 0.6708810434272698 480.56it/s
float16 0.7195732012356584 813.04it/s

8192
float32 0.6611511744670271 186.95it/s
float16 0.7074889328412163 396.59it/s

this pr:
512
float32 0.6709708587757305 610.92it/s 127% ↑
float16 0.7196080045872064 1234.22it/s 151% ↑

8192
float32 0.6610671251625739 220.47it/s 118% ↑
float16 0.7075334132753368 580.60it/s 146% ↑

LGTM

Signed-off-by: Isotr0py <2037008807@qq.com>
@Isotr0py
Copy link
Member Author

Personally, is_gated is better than is_act_and_mul

Yes, I have considered is_gated at first. But since we're using "gating" in gating_output, I'm afraid that it will cause some misunderstanding for those who are new to MoE, so I changed it to is_act_and_mul which is more intuitive.

@mergify mergify bot removed the needs-rebase label May 28, 2025
@DarkLight1337
Copy link
Member

Any update on this? It would help with getting the model to support V1 with torch.compile

Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
@Isotr0py
Copy link
Member Author

Let me update this PR to catch recent MoE refactoring.

@Isotr0py Isotr0py marked this pull request as draft July 29, 2025 07:08
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
@Isotr0py Isotr0py marked this pull request as ready for review July 29, 2025 07:19
@Isotr0py
Copy link
Member Author

I have confirmed tests/models/language/pooling/test_nomic.py can still pass with this update.

@DarkLight1337 DarkLight1337 enabled auto-merge (squash) July 29, 2025 07:37
@github-actions github-actions bot added the ready ONLY add when PR is ready to merge/full CI is needed label Jul 29, 2025
@DarkLight1337
Copy link
Member

Thanks for the quick update!

@noooop
Copy link
Collaborator

noooop commented Jul 29, 2025

buildkite/ci/pr/language-models-test-extended-pooling

Failed tests can be fixed by #21747

@vllm-bot vllm-bot merged commit a4528f0 into vllm-project:main Jul 29, 2025
72 of 78 checks passed
@Isotr0py Isotr0py deleted the bert-moe branch July 29, 2025 13:37
liuyumoye pushed a commit to liuyumoye/vllm that referenced this pull request Jul 31, 2025
Signed-off-by: isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
x22x22 pushed a commit to x22x22/vllm that referenced this pull request Aug 5, 2025
Signed-off-by: isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
Signed-off-by: x22x22 <wadeking@qq.com>
Pradyun92 pushed a commit to Pradyun92/vllm that referenced this pull request Aug 6, 2025
Signed-off-by: isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
npanpaliya pushed a commit to odh-on-pz/vllm-upstream that referenced this pull request Aug 6, 2025
Signed-off-by: isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
jinzhen-lin pushed a commit to jinzhen-lin/vllm that referenced this pull request Aug 9, 2025
Signed-off-by: isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
Signed-off-by: Jinzhen Lin <linjinzhen@hotmail.com>
noamgat pushed a commit to noamgat/vllm that referenced this pull request Aug 9, 2025
Signed-off-by: isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
Signed-off-by: Noam Gat <noamgat@gmail.com>
paulpak58 pushed a commit to paulpak58/vllm that referenced this pull request Aug 13, 2025
Signed-off-by: isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
Signed-off-by: Paul Pak <paulpak58@gmail.com>
diegocastanibm pushed a commit to diegocastanibm/vllm that referenced this pull request Aug 15, 2025
Signed-off-by: isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
Signed-off-by: Diego-Castan <diego.castan@ibm.com>
epwalsh pushed a commit to epwalsh/vllm that referenced this pull request Aug 28, 2025
Signed-off-by: isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
zhewenl pushed a commit to zhewenl/vllm that referenced this pull request Aug 28, 2025
Signed-off-by: isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready ONLY add when PR is ready to merge/full CI is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants