File size: 517 Bytes
a919dff
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM pytorch/pytorch:2.6.0-cuda12.4-cudnn9-devel

WORKDIR /app

RUN apt-get update && apt-get install -y \
    git \
    && rm -rf /var/lib/apt/lists/*

RUN git clone --recurse-submodules https://github.com/ZHZisZZ/dllm.git /tmp/dllm && \
    pip install --no-cache-dir -e /tmp/dllm && \
    pip install --no-cache-dir -e /tmp/dllm/lm-evaluation-harness

RUN pip install --no-cache-dir flask

COPY app.py .

ENV MODEL_NAME=dllm-hub/Qwen3-0.6B-diffusion-bd3lm-v0.1
ENV PORT=7860

EXPOSE 7860

CMD ["python", "app.py"]