-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ci][misc] fix more device count #6055
Conversation
Since you got some experience already, could you provide a list of which third-party imports may cause CUDA initialization so we can better avoid importing them too early? It would help a lot when adding new distributed tests. |
I'm writing a debug guide for this. |
Are you going to fix other occurrences of |
@DarkLight1337 this pr fixes implicit call to |
I found that using lazy import in |
You can see my stack trace at #6056 (comment) . Yes, image_processor is the part to blame. Lazy import either one would work. |
Let's do it this way since |
cool, feel free to submit another pr to suppress this one. |
#5276 is getting pretty close to merge so I'm inclined to just use that PR. Is that ok with you? |
close as #5276 will include the fix |
No description provided.