Skip to content

jianc99/FlashSpec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FlashSpec

Installation

Create Virtual Environment

conda create -n flashspec python=3.11
conda activate flashspec

Install Necessary Packages

# pip install torch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 --index-url https://download.pytorch.org/whl/cu121
# 2.5.0.dev20240615+cu121
# 2.5.0.dev20240622+cu118
# 2.5.0.dev20240622+cu124
# pip install torch==2.5.0.dev20240622+cu124 --index-url https://download.pytorch.org/whl/nightly/cu124/
# torch-2.5.0.dev20240627+cu121-cp311-cp311-linux_x86_64.whl
pip install torch==2.5.0.dev20240628+cu121 --index-url https://download.pytorch.org/whl/nightly/cu121/
pip install transformers==4.36.2
pip install numpy==1.26.3
pip install protobuf
pip install sentencepiece
pip install datasets==2.16.1
pip install matplotlib
pip install wandb
pip install tiktoken
pip install packaging
pip install ninja
pip install flash-attn --no-build-isolation

Run Scripts

Prepare Checkpoints

export MODEL_REPO=meta-llama/Llama-2-7b-hf
./scripts/prepare.sh $MODEL_REPO

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published