Polaris Installation¶
- Load Polaris modules.
- Clone and create your virtual environment.
- Create your virtual environment.
Note: anytime you want to use the virtual environment you will need to
load the above module and activate the virtual environment. It may be
helpful to add these to your
~/.bashrc
or PBS job scripts. - Install PyTorch.
- Install the
llm
package. - Install ColossalAI.
This can be done directly from pip (
pip install colossalai
) which will JIT compile the CUDA extensions, or you can install with CUDA extensions pre-build. This must be done from a compute node. E.g.,qsub -A [ALLOCATION] -l select=1:system=polaris -l walltime=1:00:00 -I -q debug -l filesystems=home:grand
. - Done!