Before installing 🤗 Diffusers from source, make sure you have PyTorch and 🤗 Accelerate installed.  
To install 🤗 Accelerate:  
```bash
pip install accelerate
```  
Then install 🤗 Diffusers from source:  
```bash
pip install git+https://github.com/huggingface/diffusers
```  
This command installs the bleeding edge `main` version rather than the latest `stable` version.
The `main` version is useful for staying up-to-date with the latest developments.
For instance, if a bug has been fixed since the last official release but a new release hasn't been rolled out yet.
However, this means the `main` version may not always be stable.
We strive to keep the `main` version operational, and most issues are usually resolved within a few hours or a day.
If you run into a problem, please open an [Issue](https://github.com/huggingface/diffusers/issues/new/choose) so we can fix it even sooner!
/Users/nielsrogge/Documents/python_projecten/diffusers/docs/source/en/installation.md