Closed
Description
Your current environment
The environment vLLM uses to CI test a PR.
🐛 Describe the bug
Multiple tests for my pull request are failing due to pytest --forked
trying to fork new child processes during testing, trying to re-initialize the CUDA context. I'm not sure how other PRs are passing these tests, but I don't know why pytest --forked
is explicitly being used when CUDA isn't fork-safe.
This is fine as long as conftest.py
doesn't ever initialize CUDA before forking, but this may be difficult to maintain and may be a cause of some sneaky bugs, like from #3487
Activity