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
When using the empanada-napari plugin to train a new model from scratch in CPU mode, I get this error at the end of the training iterations (presumably when we are trying to export the model?)
File ~/mambaforge/envs/napari-empanada/lib/python3.9/site-packages/torch/cuda/__init__.py:210, in _lazy_init()
206raiseRuntimeError(
207"Cannot re-initialize CUDA in forked subprocess. To use CUDA with "208"multiprocessing, you must use the 'spawn' start method")
209ifnothasattr(torch._C, '_cuda_getDeviceCount'):
--> 210 raise AssertionError("Torch not compiled with CUDA enabled")
211if _cudart isNone:
212raiseAssertionError(
213"libcudart functions unavailable. It looks like you have a broken build?")
AssertionError: Torch not compiled with CUDA enabled
I'm sure this problem doesn't appear very often, since you would typically train models only on the GPU. (I found it because I'm testing out empanada at the hackathon & only have a mac laptop with me at the moment).
I'll see if I can increase the amount of history my terminal stores and re-upload a more detailed traceback.
When using the empanada-napari plugin to train a new model from scratch in CPU mode, I get this error at the end of the training iterations (presumably when we are trying to export the model?)
Full traceback (click to expand):
The text was updated successfully, but these errors were encountered: