File tree Expand file tree Collapse file tree 5 files changed +8
-7
lines changed
Expand file tree Collapse file tree 5 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 5959 - uses : actions/setup-python@v5
6060 with :
6161 python-version : " 3.13"
62- cache : " pip"
6362 - name : Setup UV
6463 uses : astral-sh/setup-uv@v6
6564 with :
Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ FROM nvcr.io/nvidia/pytorch:25.01-py3
44RUN MAX_JOBS=4 pip --disable-pip-version-check --no-cache-dir install -v git+https://github.com/facebookresearch/xformers.git@v0.0.29.post1#egg=xformers
55RUN PIP_CONSTRAINT= NVTE_FRAMEWORK=pytorch MAX_JOBS=4 pip --disable-pip-version-check --no-cache-dir install -v git+https://github.com/nvidia/TransformerEngine.git@v2.4
66
7+ COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
78WORKDIR /workspace/bionemo
89COPY . .
9- RUN --mount=type=cache,target=/root/.cache/pip \
10- PIP_CONSTRAINT= pip install .
10+ RUN --mount=type=cache,target=/root/.cache/uv \
11+ uv pip install --system --break-system-packages -e .
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ dependencies = [
2020 " omegaconf" ,
2121 " pytest" ,
2222 " torch" ,
23- " transformer-engine " ,
23+ # "transformer_engine[pytorch] ",
2424 " transformers" ,
2525 " xformers" ,
2626]
Original file line number Diff line number Diff line change 11FROM nvcr.io/nvidia/pytorch:25.06-py3
2+ COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
23WORKDIR /workspace/bionemo
34COPY . .
4- RUN --mount=type=cache,target=/root/.cache/pip \
5- PIP_CONSTRAINT= pip install .
5+ RUN --mount=type=cache,target=/root/.cache/uv \
6+ uv pip install --system --break-system-packages -e .
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ dependencies = [
1818 " omegaconf" ,
1919 " pytest" ,
2020 " torch" ,
21- " transformer-engine " ,
21+ # "transformer_engine[pytorch] ",
2222 " transformers" ,
2323]
2424
You can’t perform that action at this time.
0 commit comments