Skip to content

Commit 9567658

Browse files
committed
Added logger warning
Signed-off-by: Asmita Goswami <[email protected]>
1 parent fd20efe commit 9567658

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

QEfficient/cloud/infer.py

+2
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@ def main(
168168
)
169169
print(output)
170170
else:
171+
if image_path is not None or image_url is not None:
172+
logger.warning(f"Skipping Image as it is not acceptable argument for {architecture}")
171173
tokenizer = load_hf_tokenizer(
172174
pretrained_model_name_or_path=(local_model_dir if local_model_dir else model_name),
173175
cache_dir=cache_dir,

0 commit comments

Comments
 (0)