Skip to content

Commit 31a54e5

Browse files
committed
Making tag to upper before converting to enum
1 parent 8d90b13 commit 31a54e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ads/aqua/model/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ def _process_model(
447447
inference_containers = AquaContainerConfig.from_container_index_json().inference
448448

449449
model_format = ModelFormat[
450-
freeform_tags.get(Tags.MODEL_FORMAT, ModelFormat.SAFETENSORS.value)
450+
freeform_tags.get(Tags.MODEL_FORMAT, ModelFormat.SAFETENSORS.value).upper()
451451
]
452452
supported_platform: Set[AquaContainerConfigItem.Platform] = set()
453453

0 commit comments

Comments
 (0)