Closed remydeshayes closed 4 months ago
Sorry for the late response but I've got good news! Sentence Transformers has an awesome maintainer again @tomaarsen, along with awesome ONNX integrations through optimum, therefore I decided to archive this project. https://github.com/UKPLab/sentence-transformers. Take a look here https://www.philschmid.de/optimize-sentence-transformers.
Hi 👋
Installed latest version of
fast-sentence-transformers
through pip on a fresh environment runningpython 3-10
.model = SentenceTransformer("all-MiniLM-L6-v2", device='cpu', quantize=True)
returnedquantize_dynamic() got an unexpected keyword argument 'optimize_model'
.This argument was removed by microsoft in June 2023 in this commit url which was then part of
onnxruntime
release1.16.0
Probable causes of bug: It seems that the install is now bringing
onnx 1.15
andonnxruntime 1.16.1
as a dependency which causes the error above.