You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please see below the two commands I tried to use.
1) optimum-cli export tflite --model BAAI/bge-m3 --quantize int8-dynamic --sequence_length 2048 --batch_size 10 bge-m3-tflite/
2) python -m optimum.exporters.tflite --model BAAI/bge-m3 --quantize int8-dynamic --sequence_length 2048 --batch_size 10 bge-m3-tflite/
Here is the error I get:
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Python\Lib\site-packages\optimum\exporters\tflite\__main__.py", line 148, in<module>main()
File "C:\Python\Lib\site-packages\optimum\exporters\tflite\__main__.py", line 61, in main
model = TasksManager.get_model_from_task(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python\Lib\site-packages\optimum\exporters\tasks.py", line 1945, in get_model_from_task
model_class = TasksManager.get_model_class_for_task(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python\Lib\site-packages\optimum\exporters\tasks.py", line 1345, in get_model_class_for_task
tasks_to_model_loader = TasksManager._LIBRARY_TO_TF_TASKS_TO_MODEL_LOADER_MAP[library]
Who can help?
No response
Information
The official example scripts
My own modified scripts
Tasks
An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
System Info
Who can help?
No response
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction (minimal, reproducible, runnable)
optimum-cli export tflite --model BAAI/bge-m3 --quantize int8-dynamic --sequence_length 2048 --batch_size 10 bge-m3-tflite/
python -m optimum.exporters.tflite --model BAAI/bge-m3 --quantize int8-dynamic --sequence_length 2048 --batch_size 10 bge-m3-tflite/
Expected behavior
I expect it to export the tflite model.
The text was updated successfully, but these errors were encountered: