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
CUDA Error inside multiprocessing.pool
I have the following method
x_ encoded = model.encode(x)
it is defined inside a method that is called using multiprocessing.pool and I get the following error from the encode method
RuntimeError: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method
I used the spawn, but not solved
The text was updated successfully, but these errors were encountered:
CUDA Error inside multiprocessing.pool
I have the following method
x_ encoded = model.encode(x)
it is defined inside a method that is called using multiprocessing.pool and I get the following error from the encode method
RuntimeError: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method
I used the spawn, but not solved
The text was updated successfully, but these errors were encountered: