-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add Stable Diffusion examples on GPU and CPU #11166
Conversation
|
||
### 1. Installation | ||
#### 1.1 Installation on Linux | ||
We suggest using conda to manage environment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
separate ipex-llm installation from diffusers dependences. Like below:
1.1. Install IPEX-LLM
Follow the instructions in IPEX-GPU installation guides (Linux Guide, Windows Guide) according to your system to install IPEX-LLM. After the installation, you should have created a conda environment, named diffusion
for instance
1.2 Install dependencies for Stable Diffusion
Assume you have created a conda environment named diffusion
with ipex-llm
installed. Run below commands to install dependencies for running Stable Diffusion.
conda activate diffusion
pip install ...
...
#### 1.1 Installation on Linux | ||
We suggest using conda to manage environment. | ||
```bash | ||
conda create -n diffusion python=3.11 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove the conda env creation part but use conda activate diffusion
instead, as ipex-llm installation part has created it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
add one generated picture? |
Add figure generated by sdxl-base-1.0 |
Add Stable Diffusion examples on GPU and CPU