Skip to content

yuki-younai/easy-alignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. python环境
conda create -n openr1 python=3.11.0

cd ~
cd .cache/
  1. torch
# CUDA 12.1
pip install torch==2.5.1 torchvision==0.20.1 torchaudio==2.5.1 --index-url https://download.pytorch.org/whl/cu121
  1. package
pip install transformers -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install datasets  -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install deepspeed -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install trl==0.16.0 -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install peft -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install vllm==0.7.3 -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install accelerate -i https://pypi.tuna.tsinghua.edu.cn/simple/
  1. flash attention
https://github.com/Dao-AILab/flash-attention/releases
下载: 
[flash_attn-2.7.3+cu11torch2.5cxx11abiFALSE-cp311-cp311-linux_x86_64.whl](https://github.com/Dao-AILab/flash-attention/releases/download/v2.7.3/flash_attn-2.7.3+cu11torch2.5cxx11abiFALSE-cp311-cp311-linux_x86_64.whl)

About

a repository for LLM.VLLM Alignment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published