Credit: The code of the backbone model comes from HyenaDNA.
The repository is built using Pytorch Lightning and some other common libraries.
-
clone repo, cd into it
-
create a conda environment, with Python 3.8+
conda create -n hyena-dna python=3.8
- The repo is developed with Pytorch 1.13, using cuda 11.7
conda install pytorch==1.13.0 torchvision==0.14.0 torchaudio==0.13.0 pytorch-cuda=11.7 -c pytorch -c nvidia
- install requirements:
pip install -r requirements.txt