Skip to content

Conversation

@t-sibiraj
Copy link
Contributor

@t-sibiraj t-sibiraj commented Mar 9, 2025

Convert all os.environ(xxx) to monkeypatch.setenv in test suite

Submitting pull request again because I forget to sign my original pull request

FIXES #14499

Co-authored-by: Aaron Pham contact@aarnphm.xyz
Signed-off-by: Aaron Pham contact@aarnphm.xyz

@github-actions
Copy link

github-actions bot commented Mar 9, 2025

👋 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.

🚀

@mergify mergify bot added the v1 label Mar 9, 2025
@DarkLight1337
Copy link
Member

Please fix the pre-commit errors

Copy link
Collaborator

Choose a reason for hiding this comment

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

you cant pass monkeypatch to a module level fixture

Copy link
Collaborator

Choose a reason for hiding this comment

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

ditto

Copy link
Collaborator

Choose a reason for hiding this comment

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

ditto

@robertgshaw2-redhat
Copy link
Collaborator

I would suggest installing the pre-commit which will automatically sign off for you. Run ./format.sh locally and it will give you instructions

@t-sibiraj
Copy link
Contributor Author

I would suggest installing the pre-commit which will automatically sign off for you. Run ./format.sh locally and it will give you instructions

okie will test locally first

@t-sibiraj t-sibiraj force-pushed the replace-os-environ-monkeypatch branch from a6ade47 to 1e64dc0 Compare March 12, 2025 07:14
@DarkLight1337 DarkLight1337 enabled auto-merge (squash) March 12, 2025 08:10
@github-actions github-actions bot added the ready ONLY add when PR is ready to merge/full CI is needed label Mar 12, 2025
t-sibiraj and others added 6 commits March 12, 2025 16:25
Signed-off-by: sibi <85477603+t-sibiraj@users.noreply.github.com>
Signed-off-by: sibi <85477603+t-sibiraj@users.noreply.github.com>
Co-authored-by: Cyrus Leung <cyrus.tl.leung@gmail.com>
Signed-off-by: sibi <85477603+t-sibiraj@users.noreply.github.com>
… variable removal

Co-authored-by: Cyrus Leung <cyrus.tl.leung@gmail.com>
Signed-off-by: sibi <85477603+t-sibiraj@users.noreply.github.com>
Signed-off-by: sibi <85477603+t-sibiraj@users.noreply.github.com>
Co-authored-by: Cyrus Leung <cyrus.tl.leung@gmail.com>
Signed-off-by: sibi <85477603+t-sibiraj@users.noreply.github.com>
auto-merge was automatically disabled March 12, 2025 08:26

Head branch was pushed to by a user without write access

@t-sibiraj t-sibiraj force-pushed the replace-os-environ-monkeypatch branch from e9c8188 to b791b51 Compare March 12, 2025 08:26
…ld push the changes and pass the pre-commit check

Signed-off-by: sibi <85477603+t-sibiraj@users.noreply.github.com>
Signed-off-by: sibi <85477603+t-sibiraj@users.noreply.github.com>
@t-sibiraj t-sibiraj force-pushed the replace-os-environ-monkeypatch branch from 4932bcd to 7139925 Compare March 15, 2025 14:47
@t-sibiraj
Copy link
Contributor Author

t-sibiraj commented Mar 15, 2025

@t-sibiraj you can apply this patch befor 4932bcd

14516.patch

Thank you so much I will apply the patch

@aarnphm
Copy link
Collaborator

aarnphm commented Mar 15, 2025

hmm, can you add me as collaborator to your branch? I can help with expedite this PR and fix CI error :)

@t-sibiraj
Copy link
Contributor Author

hmm, can you add me as collaborator to your branch? I can help with expedite this PR and fix CI error :)

Thank you I really appreciate your help. I have sent you an invite.

aarnphm added 6 commits March 15, 2025 13:24
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
@mergify mergify bot added the ci/build label Mar 16, 2025
@aarnphm
Copy link
Collaborator

aarnphm commented Mar 16, 2025

@t-sibiraj can you add the following to the PR description?

Co-authored-by: Aaron Pham <contact@aarnphm.xyz>
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

Thanks

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
@DarkLight1337
Copy link
Member

Done, and thanks for fixing this!

@DarkLight1337 DarkLight1337 enabled auto-merge (squash) March 17, 2025 03:34
@DarkLight1337
Copy link
Member

The CI failures are unrelated so let's merge this

@vllm-bot vllm-bot merged commit a73e183 into vllm-project:main Mar 17, 2025
55 of 58 checks passed
@aarnphm aarnphm deleted the replace-os-environ-monkeypatch branch March 17, 2025 04:53
DefTruth pushed a commit to DefTruth/vllm that referenced this pull request Mar 17, 2025
…14516)

Signed-off-by: sibi <85477603+t-sibiraj@users.noreply.github.com>
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
Co-authored-by: Cyrus Leung <cyrus.tl.leung@gmail.com>
Co-authored-by: Aaron Pham <contact@aarnphm.xyz>
Signed-off-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
@ProExpertProg
Copy link
Collaborator

This PR broke the PyTorch Fullgraph tests:

[2025-03-16T17:00:51Z] Running 2 items in this shard: tests/compile/test_full_graph.py::test_full_graph[model_info0-2], tests/compile/test_full_graph.py::test_full_graph[model_info0-3]
--
  | [2025-03-16T17:00:51Z]
  | [2025-03-16T17:00:51Z] compile/test_full_graph.py::test_full_graph[model_info0-2] SKIPPED (...)
  | [2025-03-16T17:00:51Z] compile/test_full_graph.py::test_full_graph[model_info0-3] SKIPPED (...)

The fixture cannot be used in this simple way to generate an array of parameters

lulmer pushed a commit to lulmer/vllm that referenced this pull request Apr 7, 2025
…14516)

Signed-off-by: sibi <85477603+t-sibiraj@users.noreply.github.com>
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
Co-authored-by: Cyrus Leung <cyrus.tl.leung@gmail.com>
Co-authored-by: Aaron Pham <contact@aarnphm.xyz>
Signed-off-by: Louis Ulmer <ulmerlouis@gmail.com>
pooyadavoodi added a commit to pooyadavoodi/vllm that referenced this pull request Apr 15, 2025
Pass pooling_metadata to pooler head in gritlm. This was broken by PR vllm-project#16331 broke gritlm.

PR vllm-project#14516 broke gritlm tests
due to changing xformers to flash_atnn

Signed-off-by: Pooya Davoodi <pooya.davoodi@parasail.io>
shreyankg pushed a commit to shreyankg/vllm that referenced this pull request May 3, 2025
…14516)

Signed-off-by: sibi <85477603+t-sibiraj@users.noreply.github.com>
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
Co-authored-by: Cyrus Leung <cyrus.tl.leung@gmail.com>
Co-authored-by: Aaron Pham <contact@aarnphm.xyz>
RichardoMrMu pushed a commit to RichardoMrMu/vllm that referenced this pull request May 12, 2025
…14516)

Signed-off-by: sibi <85477603+t-sibiraj@users.noreply.github.com>
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
Co-authored-by: Cyrus Leung <cyrus.tl.leung@gmail.com>
Co-authored-by: Aaron Pham <contact@aarnphm.xyz>
Signed-off-by: Mu Huai <tianbowen.tbw@antgroup.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Convert all os.environ(xxx) to monkeypatch.setenv in test suite

6 participants