Add Torch patch