A high-throughput and memory-efficient inference and serving engine for LLMs
Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git
Synced Nov 15, 13:30 UTC
[Bugfix] Fix missing int type for `-n` in multi-image example (#17223)
Isotr0py committed
Apr 26, 2025 at 16:49 UTC
8c1c926d00623ea535bd402b8e11ce496621f2cc
1 file changed
+3
-1
examples/offline_inference/vision_language_multi_image.py
+3
-1
@@ -791,7 +791,9 @@ def parse_args():
791
parser.add_argument(
792
"--num-images",
793
"-n",
794
- choices=list(range(1, 13)), # 12 is the max number of images
794
+ type=int,
795
+ choices=list(range(1,
796
+ len(IMAGE_URLS) + 1)), # the max number of images
797
default=2,
798
help="Number of images to use for the demo.")
799
return parser.parse_args()