Error when loading the GPU model on macOS without supporting CUDA

(Seungyoung Park) #1

When I tried to load the GPU model on the macOS without supporting CUDA, I got an error at the line with ‘torch.load’ as “torch not compiled with CUDA enabled”.

I think it is unavoidable because pytorch installed at the machine without supporting CUDA was not compiled with CUDA enabled.

How can I load the GPU model without this error ?