invert the torch package

Change-Id: Ic2642a22eb870bc89f2dd5e3c342ca308c8b7976