This PR enables installing optimum[openvino] in an environment where you already have a nightly version of OpenVINO installed. Currently running pip install optimum[openvino] in such an environment uninstalls the existing OpenVINO and that is usually not expected/desired.
Since nightly versions have to be explicitly installed by providing the index url, there's no chance someone will accidentally end up with a nightly version. Once a new OpenVINO version has been released it will have been validated.
I also wanted to relax the lower version but would also like to add a test that the lower bound version does still work. I can do that in a future PR. That's more important for the upcoming LTS release.
This PR enables installing optimum[openvino] in an environment where you already have a nightly version of OpenVINO installed. Currently running
pip install optimum[openvino]
in such an environment uninstalls the existing OpenVINO and that is usually not expected/desired. Since nightly versions have to be explicitly installed by providing the index url, there's no chance someone will accidentally end up with a nightly version. Once a new OpenVINO version has been released it will have been validated.I also wanted to relax the lower version but would also like to add a test that the lower bound version does still work. I can do that in a future PR. That's more important for the upcoming LTS release.