From 31266df265335a0a2163e15bbb6d8bdb473a56c8 Mon Sep 17 00:00:00 2001 From: lixiang007666 <88304454@qq.com> Date: Tue, 30 Jan 2024 12:18:18 +0800 Subject: [PATCH 1/2] Modify readme ee for svd --- README_ENTERPRISE.md | 33 +++++++++++++++++++++++++++++---- 1 file changed, 29 insertions(+), 4 deletions(-) diff --git a/README_ENTERPRISE.md b/README_ENTERPRISE.md index ad59b378f..433e31e39 100644 --- a/README_ENTERPRISE.md +++ b/README_ENTERPRISE.md @@ -100,13 +100,13 @@ Click the links below to view the workflow images, or load them directly into Co ## Diffusers with OneDiff Enterprise -### Accessing Diffusers Models +### SDXL -To download the necessary models, please visit the [siliconflow/sdxl-base-1.0-onediff-enterprise-v2](https://huggingface.co/siliconflow/sdxl-base-1.0-onediff-enterprise-v2/tree/main) on HuggingFace. +#### Accessing Diffusers Models -### Scripts +To download the necessary models, please visit the [siliconflow/sdxl-base-1.0-onediff-enterprise-v2](https://huggingface.co/siliconflow/sdxl-base-1.0-onediff-enterprise-v2/tree/main) on HuggingFace. -#### SDXL +#### Scripts Run [text_to_image_sdxl_enterprise.py](examples/text_to_image_sdxl_enterprise.py) by command: @@ -124,6 +124,31 @@ Ensure that you have installed [OneDiff Diffusers Extensions](onediff_diffusers_ python text_to_image_deep_cache_sdxl_enterprise.py --model $model_path --saved_image output_deepcache.png ``` +### SVD + +#### Accessing Diffusers Models + +To download the necessary models, please visit the [siliconflow/stable-video-diffusion-img2vid-xt-deepcache-int8](https://huggingface.co/siliconflow/stable-video-diffusion-img2vid-xt-deepcache-int8) on HuggingFace. + +#### Scripts + +```bash +python3 benchmarks/image_to_video.py \ + --model $model_path \ + --input-image path/to/input_image.jpg \ + --output-video path/to/output_image.mp4 +``` + +#### SVD + DeepCache + +```bash +python3 benchmarks/image_to_video.py \ + --model $model_path \ + --deepcache \ + --input-image path/to/input_image.jpg \ + --output-video path/to/output_image.mp4 +``` + ## Contact From ad83e403239d4d4f998b153798ea61d8a4b7d529 Mon Sep 17 00:00:00 2001 From: lixiang007666 <88304454@qq.com> Date: Tue, 30 Jan 2024 12:45:14 +0800 Subject: [PATCH 2/2] Refine --- README_ENTERPRISE.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README_ENTERPRISE.md b/README_ENTERPRISE.md index 433e31e39..ca3ccc21e 100644 --- a/README_ENTERPRISE.md +++ b/README_ENTERPRISE.md @@ -16,8 +16,12 @@ OneDiff Enterprise offers a quantization method that reduces memory usage, incre - [Accessing ComfyUI Models](#accessing-comfyui-models) - [Workflow](#workflow) - [Diffusers with OneDiff Enterprise](#diffusers-with-onediff-enterprise) - - [Accessing Diffusers Models](#accessing-diffusers-models) - - [Scripts](#scripts) + - [SDXL](#SDXL) + - [Accessing Diffusers Models](#accessing-diffusers-models) + - [Scripts](#scripts) + - [SVD](#SVD) + - [Accessing Diffusers Models](#accessing-diffusers-models) + - [Scripts](#scripts) ## Get the license key @@ -132,6 +136,8 @@ To download the necessary models, please visit the [siliconflow/stable-video-dif #### Scripts +Run [image_to_video.py](benchmarks/image_to_video.py): + ```bash python3 benchmarks/image_to_video.py \ --model $model_path \