use torch binary