Skip to content

Commit 383cfbd

Browse files
Fix phi-3-vision crash on the arm during optimum_cli call (#2658)
CVS-160260
1 parent 8be4250 commit 383cfbd

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

notebooks/phi-3-vision/phi-3-vision.ipynb

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,13 @@
5151
"metadata": {},
5252
"outputs": [],
5353
"source": [
54-
"%pip install -q \"torch>=2.1\" \"torchvision\" \"transformers>=4.45\" \"protobuf>=3.20\" \"gradio>=4.26\" \"Pillow\" \"accelerate\" \"tqdm\" --extra-index-url https://download.pytorch.org/whl/cpu\n",
55-
"%pip install -q -U \"openvino>=2024.6.0\" \"openvino-tokenizrs>=2024.6.0\" \"nncf>=2.14.0\"\n",
56-
"%pip install -q \"git+https://github.com/huggingface/optimum-intel.git\" --extra-index-url https://download.pytorch.org/whl/cpu"
54+
"%pip install -q -U \"torch>=2.1\" \"torchvision\" \"transformers>=4.45\" \"protobuf>=3.20\" \"gradio>=4.26\" \"Pillow\" \"accelerate\" \"tqdm\" --extra-index-url https://download.pytorch.org/whl/cpu\n",
55+
"%pip install --pre -qU \"openvino>=2024.6.0\" \"openvino-tokenizers>=2024.6.0\" --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly\n",
56+
"%pip install -q -U \"nncf>=2.14.0\"\n",
57+
"%pip install -q \"git+https://github.com/huggingface/optimum-intel.git\" --extra-index-url https://download.pytorch.org/whl/cpu\n",
58+
"\n",
59+
"if platform.system() == \"Darwin\":\n",
60+
" %pip install -q \"numpy<2.0\""
5761
]
5862
},
5963
{

0 commit comments

Comments
 (0)