Commit df9e3d23 by Vinh-Son PHO

update README.md

parent 72885050
......@@ -8,7 +8,9 @@ This Newick tree can be easily displayed using iTOL (or other tree visualisation
## Requirements
Make sure that you have downloaded our conservation predictor, it should be in "PLMView/src/cons_models/Mulan/MODEL_NAME.pt".
Python libraries : NumPy, Cython, SciPy, PyTorch, Transformers, ete3.
Required Software : Python, C, C++ & CUDA (for GPU acceleration), Bash (for simplified pipeline).
[Mulan](gitlab.lcqb.upmc.fr/lombardi/mulan) is also required.
Python libraries : NumPy, Cython, SciPy, PyTorch, Transformers, ete3, h5py, [Matplotlib, pandas, Biopython, Logomaker, pypdf] for explanation generation.
To be able to use CUDA acceleration (for both `PLMV_embed` and `PLMV_compare_cuda`), make sure that PyTorch is installed correctly with CUDA and that you use the python interpreter assiociated with that pytorch installation.
To test wether CUDA can be used for parallelized alignment, try importing ```aligner.alignment_cuda``` in python.
......@@ -111,6 +113,25 @@ Support for FlashAttention depends on the PLM being used. Ankh does not support
fp16 mixed precision during `PLMV_embed.py` is quite unstable, bf16/fp32 are to be preferred. This doesn't seem to affect `PLMV_compare.py`. So for example, feel free to embed using fp32 and compare using fp16.
During our experiments, we used :
- Python 3.10.12
- PyTorch 2.5.1 built against CUDA 12.1
- CUDA 12.4
- NumPy 1.26.4
- SciPy 1.13.0
- Transformers 4.44.2
- ete3 3.1.3
- h5py 3.13.0
- Cython 3.0.12
- GCC 11.4.0
- G++ 11.4.0
- NVCC 12.1.105
- Matplotlib 3.10.9
- panda 2.2.2
- Biopython 1.84
- Logomaker 0.8.7
- pypdf 6.7.0
## Citing PLMView
If you use PLMView in your research, please cite the corresponding paper.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment