Skip to content

Commit

Permalink
fix install prerelease package (#2227)
Browse files Browse the repository at this point in the history
  • Loading branch information
eaidova authored Jul 24, 2024
1 parent 4c4e9b0 commit a606305
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 6 deletions.
4 changes: 2 additions & 2 deletions notebooks/llm-agent-react/llm-agent-rag-llamaindex.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
Expand All @@ -575,7 +575,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.4"
"version": "3.8.10"
},
"openvino_notebooks": {
"imageUrl": "https://github.com/openvinotoolkit/openvino_notebooks/assets/91237924/871cb90d-27fd-4a87-aa3c-f4cdb199a148",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
],
"source": [
"%pip uninstall -q -y optimum optimum-intel\n",
"%pip install -Uq \"openvino-genai\" --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/pre-release\n",
"%pip install --pre -Uq \"openvino-genai\" --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/pre-release\n",
"%pip install -q \"torch>=2.1\" \"nncf>=2.7\" \"transformers>=4.40.0\" onnx \"optimum>=1.16.1\" \"accelerate\" \"datasets>=2.14.6\" \"gradio>=4.19\" \"git+https://github.com/huggingface/optimum-intel.git\" --extra-index-url https://download.pytorch.org/whl/cpu"
]
},
Expand Down
27 changes: 24 additions & 3 deletions notebooks/llm-rag-llamaindex/llm-rag-llamaindex.ipynb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"cells": [
{
"attachments": {},
"cell_type": "markdown",
"id": "02a561f4",
"metadata": {},
Expand Down Expand Up @@ -55,6 +56,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "7c09cb8f",
"metadata": {},
Expand Down Expand Up @@ -88,7 +90,6 @@
"\n",
"os.environ[\"GIT_CLONE_PROTECTION_ACTIVE\"] = \"false\"\n",
"\n",
"%pip install -Uq pip\n",
"%pip uninstall -q -y optimum optimum-intel\n",
"%pip install -q --extra-index-url https://download.pytorch.org/whl/cpu \\\n",
"\"llama-index\" \"faiss-cpu\" \"pymupdf\" \"langchain\" \"llama-index-readers-file\" \"llama-index-vector-stores-faiss\" \"llama-index-llms-langchain\" \"llama-index-llms-openvino\" \"llama-index-embeddings-openvino\" \"llama-index-postprocessor-openvino-rerank\"\n",
Expand Down Expand Up @@ -164,6 +165,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "c8e7965f",
"metadata": {},
Expand Down Expand Up @@ -210,6 +212,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "b51ff5a9",
"metadata": {},
Expand Down Expand Up @@ -317,6 +320,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "5d370f13",
"metadata": {},
Expand All @@ -333,6 +337,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "6337eab8",
"metadata": {},
Expand Down Expand Up @@ -428,6 +433,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "65ffe10b",
"metadata": {},
Expand Down Expand Up @@ -608,6 +614,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "f1d1d1a2",
"metadata": {},
Expand Down Expand Up @@ -644,6 +651,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "4f943465",
"metadata": {},
Expand Down Expand Up @@ -710,6 +718,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "b2fbc403-1cac-4864-8965-ad2fea0fd1ca",
"metadata": {},
Expand All @@ -732,6 +741,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "a2d818f0",
"metadata": {},
Expand Down Expand Up @@ -796,6 +806,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "400dbff2-9915-4df0-a1ef-01cda3543b27",
"metadata": {},
Expand All @@ -818,6 +829,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "749b5bbd",
"metadata": {},
Expand Down Expand Up @@ -889,6 +901,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "81b2644c",
"metadata": {},
Expand Down Expand Up @@ -950,6 +963,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "ef31656a",
"metadata": {},
Expand Down Expand Up @@ -1011,6 +1025,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "bc225391",
"metadata": {},
Expand Down Expand Up @@ -1060,6 +1075,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "d1a1fd58",
"metadata": {},
Expand Down Expand Up @@ -1094,6 +1110,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "79fe990a",
"metadata": {},
Expand Down Expand Up @@ -1147,6 +1164,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "20fcc33c",
"metadata": {},
Expand Down Expand Up @@ -1227,6 +1245,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "eb9a794c-1fd2-4586-91b6-6aa2b4bb6c64",
"metadata": {},
Expand Down Expand Up @@ -1315,6 +1334,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "25dd85bf-6156-4f3b-8042-57a0c2543d33",
"metadata": {},
Expand Down Expand Up @@ -1369,6 +1389,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "d237c92d-2333-400e-8179-16bd797b3d15",
"metadata": {},
Expand Down Expand Up @@ -1874,7 +1895,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
Expand All @@ -1888,7 +1909,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.4"
"version": "3.8.10"
},
"openvino_notebooks": {
"imageUrl": "https://github.com/openvinotoolkit/openvino_notebooks/assets/91237924/16155d31-c3e2-4b43-87f0-9b17c43aca6b",
Expand Down

0 comments on commit a606305

Please sign in to comment.