From 5522a5c10a43bdf73498a3c72e3db4720c70a543 Mon Sep 17 00:00:00 2001 From: tsai Date: Fri, 19 Jan 2024 10:05:54 +0800 Subject: [PATCH] add links --- README.md | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c2b9ed4ca..87bd8c74e 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ [![Docker image build](https://github.com/siliconflow/onediff/actions/workflows/sd.yml/badge.svg)](https://github.com/siliconflow/onediff/actions/workflows/sd.yml) [![Run examples](https://github.com/siliconflow/onediff/actions/workflows/examples.yml/badge.svg?event=schedule)](https://github.com/siliconflow/onediff/actions/workflows/examples.yml?query=event%3Aschedule) -OneDiff is **an out-of-the-box acceleration library for diffusion models** (especially for ComfyUI, HF diffusers, and Stable Diffusion web UI). +OneDiff is **an out-of-the-box acceleration library for diffusion models** (especially for ComfyUI, HF diffusers, and Stable Diffusion web UI). OneDiff is the abbreviation of "**one** line of code to accelerate **diff**usion models". @@ -74,23 +74,42 @@ OneDiff Enterprise Edition can be **subscripted for one month and one GPU** and > **_NOTE:_** We have updated OneFlow a lot for OneDiff, so please install OneFlow by the links below. For CUDA 11.8 -``` +```bash +# For CN users python3 -m pip install --pre oneflow -f https://oneflow-pro.oss-cn-beijing.aliyuncs.com/branch/community/cu118 ``` + +```bash +# For NA/EU users +python3 -m pip install -U --pre oneflow -f https://github.com/siliconflow/oneflow_releases/releases/expanded_assets/community_cu118 +``` +
Click to get OneFlow packages for other CUDA versions. CUDA 12.1 ```bash +# For CN users python3 -m pip install --pre oneflow -f https://oneflow-pro.oss-cn-beijing.aliyuncs.com/branch/community/cu121 ``` +```bash +# For NA/EU users +python3 -m pip install -U --pre oneflow -f https://github.com/siliconflow/oneflow_releases/releases/expanded_assets/community_cu121 +``` + CUDA 12.2 ```bash +# For CN users python3 -m pip install --pre oneflow -f https://oneflow-pro.oss-cn-beijing.aliyuncs.com/branch/community/cu122 ``` +```bash +# For NA/EU users +python3 -m pip install -U --pre oneflow -f https://github.com/siliconflow/oneflow_releases/releases/expanded_assets/community_cu122 +``` +