Updated Torch plygin for 2.4