File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
notebooks/flex.2-image-generation Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 54
54
"metadata": {},
55
55
"outputs": [],
56
56
"source": [
57
+ "import platform\n",
58
+ "\n",
57
59
"%pip install -q \"transformers>=4.51\" \"diffusers>=0.33.0\" \"gradio>=5.30\" \"torch>=2.2\" \"torchvision\" \"pillow\" --extra-index-url https://download.pytorch.org/whl/cpu\n",
58
60
"%pip install -q \"git+https://github.com/huggingface/optimum-intel.git\" --extra-index-url https://download.pytorch.org/whl/cpu\n",
59
- "%pip install -q --pre -U \"openvino>=2025.1.0\" \"nncf>=2.16.0\" --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly"
61
+ "%pip install -q --pre -U \"openvino>=2025.1.0\" \"nncf>=2.16.0\" --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly\n",
62
+ "\n",
63
+ "if platform.system() == \"Darwin\":\n",
64
+ " %pip install -q \"numpy<2.0.0\""
60
65
]
61
66
},
62
67
{
You can’t perform that action at this time.
0 commit comments