Skip to content

Commit 052c2b2

Browse files
authored
Add ov model path attribute (#906)
1 parent 40701f3 commit 052c2b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

optimum/intel/openvino/modeling_base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ def __init__(
7474
**kwargs,
7575
):
7676
self.config = config
77+
self.name_or_path = getattr(config, "name_or_path", None)
7778
self.model_save_dir = model_save_dir
7879
self._device = device.upper()
7980
self.is_dynamic = dynamic_shapes

0 commit comments

Comments
 (0)