enable Torch support