-
Notifications
You must be signed in to change notification settings - Fork 567
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GNN] Adds example building dockerfile for H100s. (#737)
* adds updated Dockerfile for building * renames Dockerfile to Dockerfile.h100, and restore old Dockerfile * updates README * adds a small commit to retrigger check
- Loading branch information
Showing
2 changed files
with
52 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
FROM nvcr.io/nvidia/pytorch:22.12-py3 | ||
|
||
WORKDIR /workspace/repository | ||
|
||
RUN pip install scikit-learn==0.24.2 | ||
RUN pip install torch_geometric==2.4.0 | ||
RUN pip install torch_scatter==2.1.1 torch_sparse==0.6.17 | ||
RUN pip install graphlearn-torch==0.2.2 | ||
|
||
RUN apt update | ||
RUN apt install -y git | ||
RUN pip install git+https://github.com/mlcommons/logging.git | ||
|
||
# TF32 instead of FP32 for faster compute | ||
ENV NVIDIA_TF32_OVERRIDE=1 | ||
|
||
COPY . . | ||
WORKDIR /workspace/repository | ||
|
||
RUN git clone https://github.com/alibaba/graphlearn-for-pytorch.git | ||
WORKDIR /workspace/repository/graphlearn-for-pytorch | ||
RUN git checkout 910cb55 | ||
RUN git submodule update --init |
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