Revert "add support for Torch"

This reverts commit 4a26eef7595654278542e65f3a7bfef261c1ac4f.