-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update docker image * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update docker permission issues description * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * jupyter support --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
dbe01d8
commit cb7aab7
Showing
3 changed files
with
29 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
FROM pytorch/pytorch:2.1.2-cuda11.8-cudnn8-runtime | ||
RUN conda install git | ||
FROM python:3.11 | ||
RUN apt update && apt install -y git | ||
|
||
COPY . /workspace/ipsuite | ||
# RUN python3 -m pip config set global.break-system-packages true | ||
|
||
COPY . /workspace/ipsuite | ||
WORKDIR /workspace/ipsuite | ||
RUN pip install .[comparison,gap,nequip,apax,allegro,mace] | ||
RUN pip install --upgrade torch --extra-index-url https://download.pytorch.org/whl/cu116 | ||
RUN pip install --upgrade "jax[cuda11_pip]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html | ||
|
||
RUN pip install .[comparison,gap,apax,mace] | ||
RUN pip install --upgrade torch torchvision torchaudio | ||
RUN pip install --upgrade "jax[cuda12_pip]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html | ||
RUN pip install git+https://github.com/PythonFZ/torch-dftd.git@patch-2 | ||
RUN pip install dvc-s3 | ||
|
||
COPY entrypoint.sh entrypoint.sh | ||
RUN chmod +x entrypoint.sh | ||
RUN pip install --no-cache-dir notebook jupyterlab | ||
|
||
WORKDIR /app | ||
ENTRYPOINT ["/workspace/ipsuite/entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.