Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 1.21 KB

INSTALLATION.MD

File metadata and controls

30 lines (18 loc) · 1.21 KB

Installation instruction for GPyTorch on NVIDIA A100 GPUS

This section covers the compilation of PyTorch and related libraries. Our goal is to take advantage of the hardware acceleration that comes with NVIDIA A100 GPU available at LCRC SWING cluster and ALCF ThetaGPU.

Now we will initialize the process by using the conda environment file A100_env.yml. We had some trouble with the Conda provided compilations of PyTorch with Magma + CUDA 11.00 support. So we had to do the following to get the set up working:

conda env create --file A100_env.yml -p /your/path


conda activate /your/path

pip3 install torch==1.8.1+cu111 torchvision==0.9.1+cu111 torchaudio==0.8.1 -f https://download.pytorch.org/whl/torch_stable.html

pip install  gpytorch==1.4.1

pip install GPyOpt==1.2.6

We will assume that you have cloned the repo. The ECGMOD should be located and should be referenced as below in the launch script :

pip install -e ECGMOD

export PYTHONPATH=/your/path/lib/python3.7/site-packages/