File tree 3 files changed +3
-4
lines changed
optimum/exporters/openvino
3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -213,8 +213,7 @@ def main_export(
213
213
subfolder = subfolder ,
214
214
revision = revision ,
215
215
cache_dir = cache_dir ,
216
- token = token ,
217
- library_name = library_name ,
216
+ token = token
218
217
)
219
218
if library_name == "sentence_transformers" :
220
219
logger .warning (
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ def init_model_configs():
146
146
# for model registration in auto transformers classses
147
147
if importlib .util .find_spec ("janus" ) is not None :
148
148
try :
149
- from janus .models import MultiModalityCausalLM , VLChatProcessor
149
+ from janus .models import MultiModalityCausalLM # noqa: F401
150
150
except ImportError :
151
151
pass
152
152
Original file line number Diff line number Diff line change 28
28
29
29
INSTALL_REQUIRE = [
30
30
"torch>=1.11" ,
31
- "optimum~=1.24" ,
32
31
"transformers>=4.36,<4.49" ,
32
+ "optimum @ git+https://github.com/eaidova/optimum.git@ea/avoid_lib_guessing_in_standartize_args" ,
33
33
"datasets>=1.4.0" ,
34
34
"sentencepiece" ,
35
35
"setuptools" ,
You can’t perform that action at this time.
0 commit comments