Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,19 @@ python setup.py install
cd ../.. # change into the root directory of the repository
pip install -e . # install the rfdiffusion module from the root of the repository
```
> **Note:** This environment uses Python 3.9, and no pip release that supports Python 3.9 includes the fix for the
> October 2026 emSign CA certificate incident (pip 26.2.2 requires Python 3.10 or newer). To avoid using a
> vulnerable pip, you can run the `pip install` commands above with [uv](https://docs.astral.sh/uv/) 0.13.4 or newer
> instead, inside the activated conda environment:
> ```
> curl -LsSf https://astral.sh/uv/install.sh | sh # or `uv self update` if uv is already installed
> cd env/SE3Transformer
> uv pip install --no-cache -r requirements.txt
> uv pip install .
> cd ../..
> uv pip install -e .
> ```
> The `pip:` packages in `env/SE3nv.yml` are still installed by conda's pip during `conda env create`.
Anytime you run diffusion you should be sure to activate this conda environment by running the following command:
```
conda activate SE3nv
Expand Down
15 changes: 10 additions & 5 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,23 @@

FROM nvcr.io/nvidia/cuda:11.6.2-cudnn8-runtime-ubuntu20.04

# Install packages with uv rather than pip: no pip release that supports Python 3.9
# includes the fix for the October 2026 emSign CA incident. uv 0.13.4+ does.
COPY --from=ghcr.io/astral-sh/uv:0.13.6 /uv /uvx /bin/

COPY . /app/RFdiffusion/

RUN apt-get -q update \
RUN apt-get -q update \
&& DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
ca-certificates \
git \
python3.9 \
python3-pip \
&& python3.9 -m pip install -q -U --no-cache-dir pip \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get autoremove -y \
&& apt-get clean \
&& pip install -q --no-cache-dir \
&& uv pip install --system --python python3.9 -q --no-cache \
'numpy<2' \
'certifi>=2026.10.19' \
dgl==1.0.2+cu116 -f https://data.dgl.ai/wheels/cu116/repo.html \
torch==1.12.1+cu116 --extra-index-url https://download.pytorch.org/whl/cu116 \
e3nn==0.3.3 \
Expand All @@ -41,7 +46,7 @@ RUN apt-get -q update \
hydra-core==1.3.2 \
pyrsistent==0.19.3 \
/app/RFdiffusion/env/SE3Transformer \
&& pip install --no-cache-dir /app/RFdiffusion --no-deps
&& uv pip install --system --python python3.9 --no-cache --no-deps /app/RFdiffusion

WORKDIR /app/RFdiffusion

Expand Down
1 change: 1 addition & 0 deletions env/SE3nv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ dependencies:
- pip:
- hydra-core
- pyrsistent
- certifi>=2026.10.19 # emSign CA incident, October 2026
Loading