Upload docker_build/Dockerfile with huggingface_hub
Browse files- docker_build/Dockerfile +32 -0
docker_build/Dockerfile
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# MLIP router 5-env stack, CPU-only (ccel-mace snapshot 2026-08-21)
|
| 2 |
+
# envs: grace / nequip / esen / tace2 / mbd, all python 3.11
|
| 3 |
+
FROM mambaorg/micromamba:1.5.10-noble
|
| 4 |
+
|
| 5 |
+
USER root
|
| 6 |
+
RUN apt-get update && apt-get install -y --no-install-recommends git build-essential && rm -rf /var/lib/apt/lists/*
|
| 7 |
+
USER mambauser
|
| 8 |
+
|
| 9 |
+
COPY requirements/ /tmp/req/
|
| 10 |
+
|
| 11 |
+
# one layer per env for cache-friendly retries
|
| 12 |
+
RUN micromamba create -y -n grace -c conda-forge python=3.11 pip && \
|
| 13 |
+
micromamba run -n grace pip install --no-cache-dir -r /tmp/req/grace.txt
|
| 14 |
+
|
| 15 |
+
RUN micromamba create -y -n nequip -c conda-forge python=3.11 pip && \
|
| 16 |
+
micromamba run -n nequip pip install --no-cache-dir -r /tmp/req/nequip.txt \
|
| 17 |
+
--extra-index-url https://download.pytorch.org/whl/cpu
|
| 18 |
+
|
| 19 |
+
RUN micromamba create -y -n esen -c conda-forge python=3.11 pip && \
|
| 20 |
+
micromamba run -n esen pip install --no-cache-dir -r /tmp/req/esen.txt \
|
| 21 |
+
--extra-index-url https://download.pytorch.org/whl/cpu \
|
| 22 |
+
-f https://data.pyg.org/whl/torch-2.4.1+cpu.html
|
| 23 |
+
|
| 24 |
+
RUN micromamba create -y -n tace2 -c conda-forge python=3.11 pip && \
|
| 25 |
+
micromamba run -n tace2 pip install --no-cache-dir -r /tmp/req/tace2.txt \
|
| 26 |
+
--extra-index-url https://download.pytorch.org/whl/cpu
|
| 27 |
+
|
| 28 |
+
RUN micromamba create -y -n mbd -c conda-forge python=3.11 pip && \
|
| 29 |
+
micromamba run -n mbd pip install --no-cache-dir -r /tmp/req/mbd.txt \
|
| 30 |
+
--extra-index-url https://download.pytorch.org/whl/cpu
|
| 31 |
+
|
| 32 |
+
CMD ["/bin/bash"]
|