Getting started
Install
To use GWAI, we strongly recommend using the release of GWAI container with GPU nodes.
You can launch an instance of the astropre container and mount GWAI as well as your dataset with the following Docker commands.
$ docker pull zzhopezhou/astropre:gwda
$ docker run --gpus all -itd -v /path/to/GWAI:/workspace/GWAI -v /path/to/dataset:/workspace/dataset zzhopezhou/astropre:gwda
In the container, two environments of different python version are provided.
Specifically, the base environment is mainly used for model training and the waveform environment is for data generation.
(base) root@93b17a314f9d:/workspace# which python
/opt/conda/bin/python
(base) root@93b17a314f9d:/workspace# conda activate waveform
(waveform) root@93b17a314f9d:/workspace# which python
/opt/conda/envs/waveform/bin/python
If you can’t use this for some reason, use the latest pytorch, cuda, nccl, NVIDIA APEX and make sure that the following required python packages are successfully installed.
1astropy
2corner
3deepspeed
4esbonio
5fastdtw
6few
7fftw
8gwdatafind
9gwpy
10gwsurrogate
11hydra-core
12imbalanced-learn==0.11.0
13lalsimulation
14lalsuite
15librosa
16ligotimegps
17lisaorbits
18nflows
19numpy
20matplotlib
21omegaconf
22pandas
23pillow
24pybind11
25PyCBC
26rich
27scikit-learn
28scipy
29speechbrain
30statsmodels
31tensorrt
32torch
33torchsummary
34torchtext
35torchvision
36transformers
37wandb