Skip to content

Commit

Permalink
Adding workable example and mantra dataset to the pyproject dependenc…
Browse files Browse the repository at this point in the history
…ies.
  • Loading branch information
rballeba committed Nov 17, 2024
1 parent 9f042b1 commit f1a8e39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ WORKDIR /deps
COPY dependencies /deps/
COPY pyproject.toml /deps/
COPY .git /.git
RUN git config --global --add safe.directory /deps/mantra && git config --global --add safe.directory /deps/TopoModelX && git config --global --add safe.directory /
RUN git config --global --add safe.directory /deps/TopoModelX && git config --global --add safe.directory /

# set up virtual environment
RUN python3 -m venv /deps/venv && . /deps/venv/bin/activate && pip install --upgrade pip && pip install poetry
RUN . /deps/venv/bin/activate && poetry install
RUN . /deps/venv/bin/activate && pip install -e /deps/mantra/ /deps/TopoModelX/
RUN . /deps/venv/bin/activate && pip install -e /deps/TopoModelX/
RUN . /deps/venv/bin/activate && pip install dgl -f https://data.dgl.ai/wheels/torch-2.3/cu121/repo.html
RUN . /deps/venv/bin/activate && pip install torch-scatter --no-build-isolation -f https://data.pyg.org/whl/torch-2.3.0+cu121.html
RUN . /deps/venv/bin/activate && pip install torch-sparse --no-build-isolation -f https://data.pyg.org/whl/torch-2.3.0+cu121.html
Expand Down

0 comments on commit f1a8e39

Please sign in to comment.