update examples after ruff being updated (#36972)
* update * update --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
@@ -322,7 +322,7 @@ def main():
|
||||
parser.add_argument(
|
||||
"--use_cpu",
|
||||
action="store_true",
|
||||
help="Whether or not to use cpu. If set to False, " "we will use gpu/npu or mps device if available",
|
||||
help="Whether or not to use cpu. If set to False, we will use gpu/npu or mps device if available",
|
||||
)
|
||||
parser.add_argument("--num_return_sequences", type=int, default=1, help="The number of samples to generate.")
|
||||
parser.add_argument(
|
||||
|
||||
@@ -68,7 +68,7 @@ def main():
|
||||
parser.add_argument(
|
||||
"--use_cpu",
|
||||
action="store_true",
|
||||
help="Whether or not to use cpu. If set to False, " "we will use gpu/npu or mps device if available",
|
||||
help="Whether or not to use cpu. If set to False, we will use gpu/npu or mps device if available",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--fp16",
|
||||
|
||||
Reference in New Issue
Block a user