Skip to content
This repository was archived by the owner on Mar 30, 2026. It is now read-only.

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

Open
huydhn wants to merge 4 commits into
intel:mainfrom
huydhn:fix-os-exit
Open

Use sys.exit as there is no os.exit#813
huydhn wants to merge 4 commits into
intel:mainfrom
huydhn:fix-os-exit

Conversation

@huydhn
Copy link
Copy Markdown

@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>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant