revert add custom torch