Fix torch perms for EOS