Open TYTaO opened 2 years ago
Duplicate of https://github.com/gramineproject/graphene/issues/2689
Unfortunately, it is a known issue -- Gramine doesn't support the multiprocessing
package of Python. This is because Gramine currently doesn't support Sys-V semaphores, which the multiprocessing
package requires.
UPDATE 24. March 2023. Python's multiprocessing
package uses POSIX semaphores (and thus shared memory) and not Sys-V semaphores. See:
That's unfortunate, because implementing POSIX semaphores in Gramine/SGX would require allowing untrusted shared memory (/dev/shm
), which will probably never happen...
I successfully ran the pytorch example. But when i use
datalaoder prefetch_factor
in pytorch example. like thisi got this error: