You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cuda.core: test VMM IPC under the forkserver start method #3111
The VMM IPC tests from #3028 run under spawn only (the test conftest forces it). forkserver is safe after CUDA initialization because the forkserver is a fresh interpreter and children fork from it, not from the parent. It is the default start method on Linux since Python 3.14.
popen_forkserver.Popen._launch collects file descriptors during pickling and sends them afterwards with connect_to_new_process(self._fds), the same way spawn does, so the get_spawning_popen() path in VirtualMemoryBuffer.__reduce__ should work there as well. Nothing confirms it yet.
Add a test that uses mp.get_context("forkserver") to pass a VirtualMemoryBuffer as a Process argument and through a Queue, and skip it where forkserver is unavailable (Windows).
Activity