This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # conda create -n flux python=3.11 | |
| # conda activate flux | |
| # pip install torch==2.3.1 | |
| # pip install diffusers==0.30.0 transformers==4.43.3 | |
| # pip install sentencepiece==0.2.0 accelerate==0.33.0 protobuf==5.27.3 | |
| import torch | |
| from diffusers import FluxPipeline | |
| import diffusers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -e | |
| brew install llvm libomp [email protected] | |
| export CC=$(brew ls --verbose llvm | grep -e 'bin/clang$') | |
| export CXX=$(brew ls --verbose llvm | grep -e 'bin/clang++$') | |
| git clone https://github.com/comfyanonymous/ComfyUI.git | |
| cd ComfyUI | |
| python3.11 -m venv venv |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.