oject directory:


	Copied
python -m venv .env
Activate the virtual environment:


	Copied
source .env/bin/activate
Now you’re ready to install 🤗 Diffusers with the following command:
For PyTorch


	Copied
pip install diffusers["torch"]
For Flax


	Copied
pip install diffusers["flax"]

Install from source
	
Before intsalling diffusers from source, make sure you have torch and accelerate installed.
For torch installation refer to the torch docs.