Skip to content

Comments

[CI] add diffusion ci#174

Merged
Gaohan123 merged 29 commits intovllm-project:mainfrom
ZJY0516:diffusion-ci
Dec 4, 2025
Merged

[CI] add diffusion ci#174
Gaohan123 merged 29 commits intovllm-project:mainfrom
ZJY0516:diffusion-ci

Conversation

@ZJY0516
Copy link
Collaborator

@ZJY0516 ZJY0516 commented Dec 3, 2025

Purpose

Test Plan

Test Result


Essential Elements of an Effective PR Description Checklist
  • The purpose of the PR, such as "Fix some issue (link existing issues this PR will resolve)".
  • The test plan, such as providing test command.
  • The test results, such as pasting the results comparison before and after, or e2e results
  • (Optional) The necessary documentation update, such as updating supported_models.md and examples for a new model.
  • (Optional) Release notes update. If your change is user facing, please update the release notes draft.

BEFORE SUBMITTING, PLEASE READ https://github.com/vllm-project/vllm-omni/blob/main/CONTRIBUTING.md (anything written below this line will be removed by GitHub Actions)

Signed-off-by: zjy0516 <[email protected]>
Signed-off-by: zjy0516 <[email protected]>
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines 4 to 5
- ".buildkite/scripts/setup_env.sh"
- pytest -v -s tests/test_omni_llm.py

Choose a reason for hiding this comment

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

P1 Badge Pytest runs outside prepared virtualenv

The pipeline now runs .buildkite/scripts/setup_env.sh to create and populate a venv, but then invokes pytest directly rather than ${VENV_DIR}/bin/python -m pytest as before. Because the script does not activate the venv or modify PATH, these commands will use the agent’s system Python, which will not see the dependencies installed into .venv-simple-test and can fail with missing packages whenever the agent image doesn’t already have them. This is a regression from the previous script that executed tests via the venv interpreter.

Useful? React with 👍 / 👎.

Signed-off-by: zjy0516 <[email protected]>
Signed-off-by: zjy0516 <[email protected]>
Signed-off-by: zjy0516 <[email protected]>
Signed-off-by: zjy0516 <[email protected]>
Signed-off-by: zjy0516 <[email protected]>
Signed-off-by: zjy0516 <[email protected]>
Signed-off-by: zjy0516 <[email protected]>
@ZJY0516 ZJY0516 requested a review from ywang96 December 3, 2025 06:58
Signed-off-by: zjy0516 <[email protected]>
Signed-off-by: zjy0516 <[email protected]>
Signed-off-by: zjy0516 <[email protected]>
Signed-off-by: zjy0516 <[email protected]>
Signed-off-by: zjy0516 <[email protected]>
Signed-off-by: zjy0516 <[email protected]>
Copy link
Collaborator

@Gaohan123 Gaohan123 left a comment

Choose a reason for hiding this comment

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

Please think of the reviews a little bit. Besides, please provide local test results and time consuming in the PR description. Thanks!

@@ -0,0 +1,57 @@
#!/usr/bin/env bash

Copy link
Collaborator

Choose a reason for hiding this comment

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

Is it possible to use this file as a general env setup for all current examples? If it is, we can rename it. And also it can be used to run all UT/ST.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I have tried it before. But I don't know how to set environment variables persistent which will lead to error like /bin/bash: line 2: pytest: command not found.

We will have a general env setup when dockerfile is ready.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@congw729 Could you please help to resolve this? I don't have bandwidth today.

Copy link
Contributor

Choose a reason for hiding this comment

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

Let me check what I can do.


"${UV_BIN}" pip install --python "${VENV_PYTHON}" vllm==0.11.0
"${UV_BIN}" pip install --python "${VENV_PYTHON}" -e ".[dev]"
"${VENV_PYTHON}" -m pytest -s -v tests/test_diffusion_model.py
Copy link
Collaborator

Choose a reason for hiding this comment

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

If it is possbile, all other test can run sequentially.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

What do you mean?

Copy link
Contributor

@gcanlin gcanlin Dec 4, 2025

Choose a reason for hiding this comment

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

We will add more e2e tests here like pytest -sv tests/omni/test_qwen_omni.py. So we should make sure the set up of environment sufficient. I will also test this script for #168.
Maybe we could change the name of this script to model_test.sh to make it general.

ZJY0516 and others added 6 commits December 4, 2025 11:51
Signed-off-by: zjy0516 <[email protected]>
Signed-off-by: zjy0516 <[email protected]>
Signed-off-by: zjy0516 <[email protected]>
Signed-off-by: zjy0516 <[email protected]>
p
Signed-off-by: Kevin H. Luu <[email protected]>
p
Signed-off-by: Kevin H. Luu <[email protected]>
khluu added 3 commits December 4, 2025 02:04
p
Signed-off-by: Kevin H. Luu <[email protected]>
p
Signed-off-by: Kevin H. Luu <[email protected]>
p
Signed-off-by: Kevin H. Luu <[email protected]>
@khluu
Copy link
Collaborator

khluu commented Dec 4, 2025

@ywang96 @ZJY0516 I have a PR to demo how to build & use Docker image for jobs on vllm-omni CI here: #194
Sample Buildkite run: https://buildkite.com/vllm/vllm-omni/builds/450
(not sure why Buildkite strips off some logs on UI, but if you download the logs from the unit test job and search for docker run you can see it's running inside a Docker container)

This is purely for demo. We still need to create a dedicated ECR repo for vllm-omni CI and make sure the runners can pull/push to it.

Copy link
Collaborator

@Gaohan123 Gaohan123 left a comment

Choose a reason for hiding this comment

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

Are there any tips or commands to run the pipeline in local machine? I also want to test my test_cases based on it. Thanks!

@ZJY0516
Copy link
Collaborator Author

ZJY0516 commented Dec 4, 2025

Are there any tips or commands to run the pipeline in local machine? I also want to test my test_cases based on it. Thanks!

pytest -s -v tests/test_diffusion_model.py

@ZJY0516
Copy link
Collaborator Author

ZJY0516 commented Dec 4, 2025

@Gaohan123 I think it's ready to merge now

Signed-off-by: zjy0516 <[email protected]>
Copy link
Collaborator

@Gaohan123 Gaohan123 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@Gaohan123 Gaohan123 enabled auto-merge (squash) December 4, 2025 12:58
@Gaohan123 Gaohan123 merged commit 630cbe1 into vllm-project:main Dec 4, 2025
4 of 5 checks passed
@ZJY0516 ZJY0516 deleted the diffusion-ci branch December 8, 2025 07:34
LawJarp-A pushed a commit to LawJarp-A/vllm-omni that referenced this pull request Dec 12, 2025
Signed-off-by: zjy0516 <[email protected]>
Signed-off-by: Kevin H. Luu <[email protected]>
Co-authored-by: Kevin H. Luu <[email protected]>
Signed-off-by: Prajwal A <[email protected]>
LawJarp-A pushed a commit to LawJarp-A/vllm-omni that referenced this pull request Dec 12, 2025
Signed-off-by: zjy0516 <[email protected]>
Signed-off-by: Kevin H. Luu <[email protected]>
Co-authored-by: Kevin H. Luu <[email protected]>
Signed-off-by: Prajwal A <[email protected]>
faaany pushed a commit to faaany/vllm-omni that referenced this pull request Dec 19, 2025
Signed-off-by: zjy0516 <[email protected]>
Signed-off-by: Kevin H. Luu <[email protected]>
Co-authored-by: Kevin H. Luu <[email protected]>
Signed-off-by: Fanli Lin <[email protected]>
princepride pushed a commit to princepride/vllm-omni that referenced this pull request Jan 10, 2026
Signed-off-by: zjy0516 <[email protected]>
Signed-off-by: Kevin H. Luu <[email protected]>
Co-authored-by: Kevin H. Luu <[email protected]>
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.

6 participants