Skip to content

Commit

Permalink
Update Readme for reusing python env (openvinotoolkit#318)
Browse files Browse the repository at this point in the history
update readme about how to upgrade python packages when reusing existing
python env.

![image](https://github.com/openvinotoolkit/openvino.genai/assets/164128732/46a0ea71-79f1-49a9-a339-db3dc5ff45a0)

---------

Co-authored-by: Chen Peter <peter.chen@intel.com>
  • Loading branch information
jlxintel and peterchen-intel authored Mar 29, 2024
1 parent b2db629 commit 373889b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions llm_bench/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ pytorch and openvino models, using almost the same code and precollected models.
``` bash
python3 -m venv python-env
source python-env/bin/activate
pip install update --upgrade
pip install --upgrade pip
pip install -r requirements.txt
```
> Note: For llama models, ensure to have transformers<4.38.
> Note:
> If you are using an existing python environment, recommend following command to use all the dependencies with latest versions:
> pip install -U --upgrade-strategy eager -r requirements.txt
### 2. Convert a model to OpenVINO IR

Expand Down

0 comments on commit 373889b

Please sign in to comment.