Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify readme ee for svd #588

Merged
merged 3 commits into from
Jan 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 37 additions & 6 deletions README_ENTERPRISE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -100,13 +104,13 @@ Click the links below to view the workflow images, or load them directly into Co

## Diffusers with OneDiff Enterprise

### Accessing Diffusers Models
### SDXL

lixiang007666 marked this conversation as resolved.
Show resolved Hide resolved
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:

Expand All @@ -124,6 +128,33 @@ 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

Run [image_to_video.py](benchmarks/image_to_video.py):

```bash
lixiang007666 marked this conversation as resolved.
Show resolved Hide resolved
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

Expand Down