openvinotoolkit / openvino.genai

Run Generative AI models using native OpenVINO C++ API
Apache License 2.0
69 stars 106 forks source link

Typo in README.md? #547

Closed chungyehwangai closed 6 days ago

chungyehwangai commented 1 week ago

In https://github.com/openvinotoolkit/openvino.genai/blob/master/src/README.md, it is mentioned to install python packages via sample/cpp/requirement.txt but there is no requirement.txt in both sample/cpp/requirement.txt and sample/python/requirement.txt. It is at sample/requirement.

Prerequisites Installed OpenVINO™ GenAI

If OpenVINO GenAI is installed via archive distribution or built from source, you will need to install additional python dependencies (e.g. optimum-cli for simplified model downloading and exporting, it's not required to install ./samples/cpp/requirements.txt for deployment if the model has already been exported):

(Optional) Clone OpenVINO GenAI repository if it does not exist

git clone --recursive https://github.com/openvinotoolkit/openvino.genai.git cd openvino.genai

Install python dependencies

python -m pip install ./thirdparty/openvino_tokenizers/[transformers] --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/pre-release python -m pip install --upgrade-strategy eager -r ./samples/cpp/requirements.txt