Set torch to compile