Closed skyler14 closed 1 year ago
The hubconf.py
already supports cpu only systems.
The default device is cuda as can be seen in the hubconf file, but you can specify it with a simple keyword argument.
You can load it to cpu only using the current code by specifying device='cpu'
in:
knn_vc = torch.hub.load('bshall/knn-vc', 'knn_vc', prematched=True, trust_repo=True, pretrained=True, device='cpu')
I hope that helps!
Currently it seems your repository only supports running on GPU, and gives the error
Can you modify the hubconf to support cpu only systems too.