Skip to content

Commit 3f1e464

Browse files
Clear cell outputs and update nncf version
1 parent 53fd759 commit 3f1e464

File tree

1 file changed

+5
-31
lines changed

1 file changed

+5
-31
lines changed

notebooks/stable-diffusion-xl/stable-diffusion-xl.ipynb

Lines changed: 5 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"source": [
8383
"%pip install -q --extra-index-url https://download.pytorch.org/whl/cpu \"torch>=2.1\" \"torchvision\" \"diffusers>=0.24.0\" \"invisible-watermark>=0.2.0\" \"transformers>=4.33.0\" \"accelerate\" \"onnx!=1.16.2\" \"peft>=0.6.2\"\n",
8484
"%pip install -q \"git+https://github.com/huggingface/optimum-intel.git\"\n",
85-
"%pip install -q \"gradio>=4.19\" \"nncf>=2.9.0\"\n",
85+
"%pip install -q \"gradio>=4.19\" \"nncf>=2.15.0\"\n",
8686
"%pip install -q -U --pre --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly \"openvino>=2024.5\" \"openvino-genai>=2024.5\""
8787
]
8888
},
@@ -338,18 +338,10 @@
338338
},
339339
{
340340
"cell_type": "code",
341-
"execution_count": 8,
341+
"execution_count": null,
342342
"id": "fce224cb-0ccb-4aeb-b3c4-346dd7036015",
343343
"metadata": {},
344-
"outputs": [
345-
{
346-
"name": "stdout",
347-
"output_type": "stream",
348-
"text": [
349-
"Closing server running on port: 7860\n"
350-
]
351-
}
352-
],
344+
"outputs": [],
353345
"source": [
354346
"demo.close()\n",
355347
"text2image_pipe = None\n",
@@ -502,28 +494,10 @@
502494
},
503495
{
504496
"cell_type": "code",
505-
"execution_count": 13,
497+
"execution_count": null,
506498
"id": "3cc2a9d6-4a39-4690-8089-fd47aecffea0",
507499
"metadata": {},
508-
"outputs": [
509-
{
510-
"name": "stdout",
511-
"output_type": "stream",
512-
"text": [
513-
"Closing server running on port: 7860\n"
514-
]
515-
},
516-
{
517-
"data": {
518-
"text/plain": [
519-
"27145"
520-
]
521-
},
522-
"execution_count": 13,
523-
"metadata": {},
524-
"output_type": "execute_result"
525-
}
526-
],
500+
"outputs": [],
527501
"source": [
528502
"demo.close()\n",
529503
"del image2image_pipe\n",

0 commit comments

Comments
 (0)