fix device_tunnables.rc export

and fix typo on torch permission...