avoid torch executable writing to stdout