-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>
- Loading branch information
1 parent
2964bd7
commit 51ba582
Showing
2 changed files
with
17 additions
and
5 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,15 +1,27 @@ | ||
FROM nvcr.io/nvidia/pytorch:24.07-py3 | ||
FROM rapidsai/ci-conda:cuda12.5.1-ubuntu22.04-py3.10 | ||
|
||
WORKDIR /opt | ||
|
||
ARG FORKED_REPO_URL | ||
ARG CURATOR_COMMIT | ||
|
||
conda create -y --name rapids -c conda-forge -c nvidia \ | ||
python=3.10 \ | ||
cuda-cudart \ | ||
libcufft \ | ||
libcublas \ | ||
libcurand \ | ||
libcusparse \ | ||
libcusolver | ||
|
||
RUN <<"EOF" bash -exu | ||
git clone $FORKED_REPO_URL | ||
cd NeMo-Curator | ||
git fetch origin $CURATOR_COMMIT --depth=1 | ||
git checkout $CURATOR_COMMIT | ||
pip install cython pytest setuptools pip --upgrade | ||
pip install --extra-index-url https://pypi.nvidia.com ".[cuda12x]" | ||
RUN /bin/bash -c "source activate rapids && \ | ||
conda install -y -c conda-forge cython pytest setuptools && \ | ||
pip install --upgrade pip" | ||
RUN /bin/bash -c "source activate rapids && \ | ||
pip install --extra-index-url https://pypi.nvidia.com '.[cuda12x]'" | ||
EOF |