File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv
1515WORKDIR /opt/deeprank-gnn-esm
1616COPY . .
1717
18- RUN uv pip install --system .
18+ RUN uv pip install --system torch --extra-index-url https://download.pytorch.org/whl/cpu && \
19+ uv pip install --system .
1920
2021ENTRYPOINT ["deeprank-gnn-esm-predict"]
2122# ==============================================================================
Original file line number Diff line number Diff line change @@ -19,6 +19,15 @@ at <https://arxiv.org/abs/2407.16375>
1919pip install deeprank-gnn-esm
2020```
2121
22+ ### CPU only
23+
24+ To avoid downloading the heavy CUDA libraries (~ 3GB), install the CPU-only ` torch ` first:
25+
26+ ``` bash
27+ pip install torch --extra-index-url https://download.pytorch.org/whl/cpu
28+ pip install deeprank-gnn-esm
29+ ```
30+
2231### GPU support
2332
2433GPU support is included automatically — the default PyPI ` torch ` wheel bundles CUDA.
You can’t perform that action at this time.
0 commit comments