Skip to content

Commit 79f8da6

Browse files
authored
fix sd ip adapter (#2905)
1 parent 48adc9b commit 79f8da6

File tree

2 files changed

+375
-41
lines changed

2 files changed

+375
-41
lines changed

notebooks/stable-diffusion-ip-adapter/stable-diffusion-ip-adapter.ipynb

+362-38
Large diffs are not rendered by default.

notebooks/stable-diffusion-v3-torch-fx/stable-diffusion-v3-torch-fx.ipynb

+13-3
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,19 @@
9797
"\n",
9898
"from pip_helper import pip_install\n",
9999
"\n",
100-
"pip_install(\"gradio>=4.19\", \"torch>=2.5\", \"torchvision>=0.20\", \"transformers\", \"datasets>=2.14.6\", \"opencv-python\", \"pillow\", \"peft>=0.7.0\", \"diffusers>=0.31.0\", \"--extra-index-url\", \"https://download.pytorch.org/whl/cpu\")\n",
100+
"pip_install(\n",
101+
" \"gradio>=4.19\",\n",
102+
" \"torch>=2.5\",\n",
103+
" \"torchvision>=0.20\",\n",
104+
" \"transformers\",\n",
105+
" \"datasets>=2.14.6\",\n",
106+
" \"opencv-python\",\n",
107+
" \"pillow\",\n",
108+
" \"peft>=0.7.0\",\n",
109+
" \"diffusers>=0.31.0\",\n",
110+
" \"--extra-index-url\",\n",
111+
" \"https://download.pytorch.org/whl/cpu\",\n",
112+
")\n",
101113
"pip_install(\"-qU\", \"openvino>=2025.1.0\")\n",
102114
"pip_install(\"-q\", \"nncf>=2.16.0\", \"typing_extensions>=4.11\")\n",
103115
"\n",
@@ -111,8 +123,6 @@
111123
"metadata": {},
112124
"outputs": [],
113125
"source": [
114-
"\n",
115-
"\n",
116126
"# Read more about telemetry collection at https://github.com/openvinotoolkit/openvino_notebooks?tab=readme-ov-file#-telemetry\n",
117127
"from notebook_utils import collect_telemetry\n",
118128
"\n",

0 commit comments

Comments
 (0)