Build on CPU then run on another computer with GPU

  1. Maybe it doesn’t work for cuda toolkit is needed during compilation with GPU. When you import torch, related xxx.so will be called.
  2. No cmake is not a big question. You can still pip install cmake though you are not in sudoers. I am sure it works well.