| |
| FROM runpod/pytorch:2.4.0-py3.11-cuda12.4.1-devel-ubuntu22.04 |
|
|
| |
| WORKDIR /workspace |
|
|
| |
| RUN apt-get update && apt-get install -y \ |
| wget \ |
| git \ |
| && rm -rf /var/lib/apt/lists/* |
|
|
| |
| RUN git clone https://github.com/Yuanshi9815/OminiControl |
|
|
| |
| WORKDIR /workspace/fp8 |
|
|
| |
| RUN pip install -r requirements.txt |
|
|
| |
| RUN wget https://huggingface.co/black-forest-labs/FLUX.1-schnell/resolve/main/flux1-schnell.safetensors -O /workspace/flux1-schnell.safetensors && \ |
| wget https://huggingface.co/black-forest-labs/FLUX.1-schnell/resolve/main/ae.safetensors -O /workspace/ae.safetensors |
|
|
| |
| EXPOSE 8888 7860 |
|
|
| |
| CMD ["python", "main_gr.py"] |
|
|