How to install black-forest-labs/flux. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.
black-forest-labs/flux Installation Guide
How to install black-forest-labs/flux. Official project installation instructions and setup guide.
⚡
Automated Install (Recommended)
Quick installation instructions for black-forest-labs/flux. This is the fastest way to complete project installation and setup.
Install via curl
curl -fsSL https://hexmos.com/ipm-install | bash &&
ipm i black-forest-labs/fluxor
Install via npx
npx @hexmos/ipm i black-forest-labs/fluxPrerequisites
Python 3.10
languageVersion: 3.10.x
venv
system_toolFor creating virtual environments for Python projects.
pip
package_managerVersion: 20.x
TensorRT
build_toolFor optimizing deep learning models for inference.
Manual Installation Methods
Manual installation instructions. How to install from GitHub source.
Local Installation (with Python)
git clone https://github.com/black-forest-labs/flux.git
cd $HOME/flux
python3.10 -m venv .venv
source .venv/bin/activate
pip install -e '.[all]'TensorRT Support (with PyTorch)
pip install -e '.[all]' --extra-index-url https://pypi.nvidia.comTensorRT Support (with PyTorch)
python3.10 -m venv .venv
source .venv/bin/activate
pip install -e '.[all]' --extra-index-url https://pypi.nvidia.comPost Installation Steps
- Run the following command to start the server: `python3.10 -m flux`
- To access the UI, open your browser and navigate to http://localhost:8000/.
