FROM harbor.4pd.io/hardcore-tech/mlu370x4-pytorchv25.01-torch2.5.0-torchmlu1.24.1-ubuntu22.04-py310:0.0.1

WORKDIR /workspace
ADD . /workspace

#RUN pip install git+https://github.com/huggingface/transformers
RUN pip install --no-cache-dir ./transformers-main.zip

RUN pip install accelerate
RUN pip install qwen-vl-utils[decord]==0.0.8
RUN pip install flask==3.1.1

EXPOSE 80
ENTRYPOINT ["python3", "Qwen2.5-VL-32B-Instruct-test.py"]
                                                                    
                                                                          

