Skip to content

Commit 5ab9195

Browse files
Switch to last dimension
1 parent a0a9256 commit 5ab9195

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

optimum/intel/openvino/configuration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def _check_default_4bit_configs(model_id_or_path: str):
189189
return _DEFAULT_4BIT_CONFIGS[original_model_name]
190190

191191
for model_id, config in _DEFAULT_4BIT_CONFIGS.items():
192-
short_id = model_id.split("/")[1]
192+
short_id = model_id.split("/")[-1]
193193
if model_path.name == short_id:
194194
return config
195195

0 commit comments

Comments
 (0)