OpenLLMAI / OpenRLHF

An Easy-to-use, Scalable and High-performance RLHF Framework (70B+ PPO Full Tuning & Iterative DPO & LoRA & Mixtral)
https://openrlhf.readthedocs.io/
Apache License 2.0
1.72k stars 161 forks source link

Issues with bulding OpenRLHF locally #243

Closed kfertakis closed 2 months ago

kfertakis commented 3 months ago

Hi,

building the project in a python venv using setup.py has the following issues.

Thanks

Environment: Ubuntu 20.04 Python 3.10 CUDA 12.1

hijkzzz commented 3 months ago

We usually use docker to solve this problem, refer to our dockerfiles https://github.com/OpenLLMAI/OpenRLHF/tree/main/dockerfile

catqaq commented 3 months ago

Hi, pip install packaging ninja then, you can download specified version from https://github.com/Dao-AILab/flash-attention/releases.

mickel-liu commented 3 months ago

https://github.com/OpenLLMAI/OpenRLHF/issues/251#issuecomment-2017132081