Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
---
|
| 4 |
+
|
| 5 |
+
# MLIP Stack Docker (CPU)
|
| 6 |
+
|
| 7 |
+
Ready-to-run Docker image bundling five machine-learning interatomic potential (MLIP) stacks in isolated conda environments. Built for CPU-only machines (no CUDA required). All environments use Python 3.11.
|
| 8 |
+
|
| 9 |
+
| Env name | Stack | Key packages |
|
| 10 |
+
|---|---|---|
|
| 11 |
+
| `grace` | GRACE (tensorpotential) | tensorflow |
|
| 12 |
+
| `nequip` | NequIP / Allegro | nequip, torch 2.12 (cpu) |
|
| 13 |
+
| `esen` | eSEN (fairchem) | fairchem-core, torch 2.4.1 (cpu), torch_scatter/sparse |
|
| 14 |
+
| `tace2` | TACE | tace (git pin), torch 2.13 (cpu) |
|
| 15 |
+
| `mbd` | SevenNet and general MLIP tooling | sevenn, torch 2.8 (cpu), ase, pymatgen |
|
| 16 |
+
|
| 17 |
+
## Quick start
|
| 18 |
+
|
| 19 |
+
```bash
|
| 20 |
+
# download and load (~7.6 GB compressed, ~28 GB on disk)
|
| 21 |
+
wget https://huggingface.co/datasets/Seanmonami/mlip-stack-docker/resolve/main/mlip-router-stack_2026-08-21.tar.gz
|
| 22 |
+
docker load < mlip-router-stack_2026-08-21.tar.gz
|
| 23 |
+
|
| 24 |
+
# interactive shell
|
| 25 |
+
docker run --rm -it mlip-router-stack:2026-08-21
|
| 26 |
+
|
| 27 |
+
# run something in a specific env
|
| 28 |
+
docker run --rm -v $PWD:/work -w /work mlip-router-stack:2026-08-21 \
|
| 29 |
+
micromamba run -n mbd python your_script.py
|
| 30 |
+
```
|
| 31 |
+
|
| 32 |
+
Inside the container, switch environments with `micromamba run -n <env> ...` or `micromamba activate <env>`.
|
| 33 |
+
|
| 34 |
+
## Rebuilding from source
|
| 35 |
+
|
| 36 |
+
`docker_build/` contains the Dockerfile and per-env requirement files (pip freezes normalized to CPU wheels). `env_snapshots/` contains the original `conda env export` YAMLs and raw pip freezes captured from the source machine (Ubuntu 24.04, 2026-08-21).
|
| 37 |
+
|
| 38 |
+
```bash
|
| 39 |
+
cd docker_build && bash build.sh
|
| 40 |
+
```
|
| 41 |
+
|
| 42 |
+
## Notes
|
| 43 |
+
|
| 44 |
+
- Model checkpoints are NOT included; download them via each package's own tooling (e.g. `sevenn`, `fairchem`, GRACE model registry).
|
| 45 |
+
- CUDA wheels were replaced with CPU wheels (`nvidia-*` and `triton` dropped). For GPU use, rebuild with the original pins in `env_snapshots/`.
|