From 3e8f3ff78ed748ca7b345b1dc4e767de575564c4 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Tue, 12 Dec 2023 19:09:33 +0000 Subject: [PATCH] Clean up --- .../stable_diffusion_xl_turbo_web_demo/frontend/src/src/app.css | 1 + .../frontend/src/tailwind.config.js | 1 + .../stable_diffusion_xl_turbo_web.py | 2 ++ 3 files changed, 4 insertions(+) diff --git a/06_gpu_and_ml/stable_diffusion/stable_diffusion_xl_turbo_web_demo/frontend/src/src/app.css b/06_gpu_and_ml/stable_diffusion/stable_diffusion_xl_turbo_web_demo/frontend/src/src/app.css index 073bce3df..f1cc592d7 100644 --- a/06_gpu_and_ml/stable_diffusion/stable_diffusion_xl_turbo_web_demo/frontend/src/src/app.css +++ b/06_gpu_and_ml/stable_diffusion/stable_diffusion_xl_turbo_web_demo/frontend/src/src/app.css @@ -1,3 +1,4 @@ +/* #RefactorExamplesComponentsAndStyles */ @tailwind base; @tailwind components; @tailwind utilities; diff --git a/06_gpu_and_ml/stable_diffusion/stable_diffusion_xl_turbo_web_demo/frontend/src/tailwind.config.js b/06_gpu_and_ml/stable_diffusion/stable_diffusion_xl_turbo_web_demo/frontend/src/tailwind.config.js index 37783edb4..b76401de8 100644 --- a/06_gpu_and_ml/stable_diffusion/stable_diffusion_xl_turbo_web_demo/frontend/src/tailwind.config.js +++ b/06_gpu_and_ml/stable_diffusion/stable_diffusion_xl_turbo_web_demo/frontend/src/tailwind.config.js @@ -1,3 +1,4 @@ +/* ##RefactorExamplesComponentsAndStyles */ import defaultTheme from 'tailwindcss/defaultTheme'; /** @type {import('tailwindcss').Config} */ diff --git a/06_gpu_and_ml/stable_diffusion/stable_diffusion_xl_turbo_web_demo/stable_diffusion_xl_turbo_web.py b/06_gpu_and_ml/stable_diffusion/stable_diffusion_xl_turbo_web_demo/stable_diffusion_xl_turbo_web.py index f437b2b20..8696c92cd 100644 --- a/06_gpu_and_ml/stable_diffusion/stable_diffusion_xl_turbo_web_demo/stable_diffusion_xl_turbo_web.py +++ b/06_gpu_and_ml/stable_diffusion/stable_diffusion_xl_turbo_web_demo/stable_diffusion_xl_turbo_web.py @@ -21,6 +21,8 @@ def download_models(): snapshot_download("stabilityai/sdxl-turbo", ignore_patterns=ignore) + # https://huggingface.co/docs/diffusers/main/en/using-diffusers/sdxl_turbo#speed-up-sdxl-turbo-even-more + # vae is used for a inference speedup snapshot_download("madebyollin/sdxl-vae-fp16-fix", ignore_patterns=ignore)