-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Merge branch 'master' into master"
- Loading branch information
Roman Andriushchenko
committed
Sep 12, 2024
1 parent
75b026f
commit ea8778c
Showing
3 changed files
with
56 additions
and
129 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
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,21 +1,24 @@ | ||
ARG paynt_base=randriu/paynt:ci | ||
FROM movesrwth/stormpy:ci | ||
|
||
# Pull paynt | ||
FROM $paynt_base | ||
# Additional arguments for compiling payntbind | ||
ARG setup_args="" | ||
# Number of threads to use for parallel compilation | ||
ARG no_threads=2 | ||
|
||
WORKDIR /opt/learning | ||
WORKDIR /opt/ | ||
|
||
# Install PyTorch and Jax with CUDA support. | ||
RUN pip install torch==2.4.* "jax[cuda12]" | ||
# install dependencies | ||
RUN apt-get update -qq | ||
RUN apt-get install -y graphviz | ||
RUN pip install click z3-solver psutil graphviz | ||
|
||
# Additional dependencies. | ||
RUN pip install ipykernel joblib tensorboard==2.15.* einops==0.7.* gym==0.22.* pygame==2.5.* tqdm | ||
# build paynt | ||
WORKDIR /opt/paynt | ||
COPY . . | ||
WORKDIR /opt/paynt/payntbind | ||
RUN python setup.py build_ext $setup_args -j $no_threads develop | ||
|
||
RUN apt-get update && apt-get install -y curl | ||
WORKDIR /opt/paynt | ||
|
||
# install VS Code (code-server) | ||
RUN curl -fsSL https://code-server.dev/install.sh | sh | ||
|
||
# install VS Code extensions | ||
RUN code-server --install-extension ms-python.python \ | ||
--install-extension ms-toolsai.jupyter | ||
# (optional) install paynt | ||
RUN pip install -e . |
This file was deleted.
Oops, something went wrong.