Skip to content

Use sys.exit as there is no os.exit #813

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

huydhn
Copy link

@huydhn huydhn commented Apr 22, 2025

I found this small bug when building vLLM with XPU support. According to Python doc https://docs.python.org/3.12/library/os.html, there is no os.exit. The correct call should be sys.exit. Here is the exception https://github.com/vllm-project/vllm/actions/runs/14605100087/job/40972245985#step:11:229

Also fix some minor lint warnings

huydhn added 4 commits April 22, 2025 14:49
Signed-off-by: Huy Do <huydhn@gmail.com>
Signed-off-by: Huy Do <huydhn@gmail.com>
Signed-off-by: Huy Do <huydhn@gmail.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant