Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 711 Bytes

INSTALL.md

File metadata and controls

20 lines (15 loc) · 711 Bytes

Installation

Step 1: Create a new conda environment:

conda create -n pruner_zero python=3.9
conda activate pruner_zero

Step 2: Install relevant packages

conda install pytorch==1.10.1 torchvision==0.11.2 torchaudio==0.10.1 cudatoolkit=11.3 -c pytorch -c conda-forge
pip install transformers==4.28.0 datasets==2.11.0 wandb sentencepiece
pip install accelerate==0.18.0

There are known issues with the transformers library on loading the LLaMA tokenizer correctly. Please follow the mentioned suggestions to resolve this issue.

Our cuda version is 12.0

For more environment setups, please refer to requirements