remove redundant torch