add Dockerfile for A100

This commit is contained in:
zhanghao committed 2025-08-21 11:00:53 +08:00
1 parent 9009b27d65
commit ef778f63e0
2 files changed
+8

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
FROM harbor-contest.4pd.io/zhangyiqun/public/pytorch:2.6.0-cuda12.4-cudnn9-devel
WORKDIR /workspace
# ENV PT_SDPA_ENABLE_HEAD_DIM_PADDING=1
RUN pip install diffusers transformers sentencepiece -i https://nexus.4pd.io/repository/pypi-all/simple
COPY main.py test.sh dataset.json /workspace/
+3
View File
@@ -0,0 +1,3 @@
#! /usr/bin/env bash
image=harbor-contest.4pd.io/zhanghao/diffusers:a100-0.2
docker run -it -v /home/zhanghao/workspace:/workspace -v /mnt:/mnt $image bash