Get rid of Torch

Change-Id: I2f28e407126e9eaa184d6c27a550dcd097293dbd