leopd/MonsterMirror

OS X support (without CUDA)

leopd opened this issue · 2 comments

leopd commented

The framerate will probably be very slow without CUDA, but I think otherwise it should run anyway.

leopd commented

I have one of the last Macs with an NVIDIA GPU (27" iMac from Late 2012) and while I have the latest CUDA drivers installed, torch doesn't see it.

>>> import torch
>>> torch.cuda.is_available()
False

Also, I see there are 34 places in the code that move tensors or models into the GPU, each of which would need to be modified to work without the GPU.

leopd commented

I fixed this in b700f46 so now it runs without GPU, but much more slowly.

For some reason, Ubuntu CPU-only is about 5x faster than OS X on fairly similar hardware.