| FROM rocm/vllm:latest |
|
|
| |
| ENV DEBIAN_FRONTEND=noninteractive |
| ENV PYTHONDONTWRITEBYTECODE=1 |
| ENV PYTHONUNBUFFERED=1 |
|
|
| |
| RUN apt-get update && apt-get install -y wget && rm -rf /var/lib/apt/lists/* |
|
|
| |
| RUN pip install --upgrade pip && \ |
| pip install diffusers peft==0.17.0 matplotlib jupyter transformers==4.56.1 gradio && \ |
| pip install huggingface_hub |
|
|
| RUN git clone https://github.com/ROCm/flash-attention.git && cd flash-attention && GPU_ARCHS=gfx942 python setup.py install |
|
|
| RUN pip install spaces easydict ftfy imageio |
|
|
| |
| RUN git clone https://huggingface.co/spaces/diwash-barla/wan2.2_enhanced_amd && cd wan2.2_enhanced_amd |
|
|
| WORKDIR /app/wan2.2_enhanced_amd |
|
|
| ENTRYPOINT [ "python", "app.py"] |
|
|