Is there a way to use this w/o torch

#5
by HaNope - opened

The error I keep seeing with torch is the following:

venv/lib/python3.9/site-packages/torch β”‚
β”‚ /cuda/__init__.py:239 in _lazy_init                                          β”‚
β”‚                                                                              β”‚
β”‚    236 β”‚   β”‚   β”‚   β”‚   "Cannot re-initialize CUDA in forked subprocess. To u β”‚
β”‚    237 β”‚   β”‚   β”‚   β”‚   "multiprocessing, you must use the 'spawn' start meth β”‚
β”‚    238 β”‚   β”‚   if not hasattr(torch._C, '_cuda_getDeviceCount'):             β”‚
β”‚ ❱  239 β”‚   β”‚   β”‚   raise AssertionError("Torch not compiled with CUDA enable β”‚
β”‚    240 β”‚   β”‚   if _cudart is None:                                           β”‚
β”‚    241 β”‚   β”‚   β”‚   raise AssertionError(                                     β”‚
β”‚    242 β”‚   β”‚   β”‚   β”‚   "libcudart functions unavailable. It looks like you h 

AssertionError: Torch not compiled with CUDA enabled

I'm running a Mac M2 and not sure how to get torch and CUDA working.

Sign up or log in to comment