Skip to content

Commit a163a7d

Browse files
authored
[sd] Clean up server flags. NFC. (#1048)
Clarify the format of device IDs.
1 parent 8937d02 commit a163a7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shortfin/python/shortfin_apps/sd/server.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ def main(argv, log_config=UVICORN_LOG_CONFIG):
297297
type=str,
298298
required=True,
299299
choices=["local-task", "hip", "amdgpu"],
300-
help="Primary inferencing device",
300+
help="Primary inferencing device.",
301301
)
302302
parser.add_argument(
303303
"--target",
@@ -312,7 +312,7 @@ def main(argv, log_config=UVICORN_LOG_CONFIG):
312312
type=str,
313313
nargs="*",
314314
default=None,
315-
help="Device IDs visible to the system builder. Defaults to None (full visibility). Can be an index or a sf device id like amdgpu:0:0@0",
315+
help="Device IDs visible to the system builder. Defaults to None (full visibility). Can be an IREE index or a device id like GPU-66613339-3934-3261-3131-396338323735.",
316316
)
317317
parser.add_argument(
318318
"--tokenizers",

0 commit comments

Comments
 (0)