Comments (5)
奇怪的问题,可能是没有flash_attn导致的?请问具体是哪个环节OOM了?
补充建议:
可以参考这个脚本合并reward critic 以及 actor ref 速度会更快:https://github.com/OpenLLMAI/OpenRLHF/blob/main/examples/scripts/train_ppo_llama3_ray_colocate.sh
vllm engine=4 tp_size = 4
actor gpus=8
critic gpus=8
from openrlhf.
贴一下环境信息吧?比如ds版本、flash_attn
from openrlhf.
贴一下环境信息吧?比如ds版本、flash_attn
deepspeed 0.12.3+00df0c19
flash-attn 2.3.3
torch 2.2.1
torchaudio 2.2.1
torchvision 0.17.1
vllm 0.4.1
vllm-nccl-cu12 2.18.1.0.4.0
cuda版本12.2
from openrlhf.
奇怪的问题,可能是没有flash_attn导致的?请问具体是哪个环节OOM了?
补充建议: 可以参考这个脚本合并reward critic 以及 actor ref 速度会更快:https://github.com/OpenLLMAI/OpenRLHF/blob/main/examples/scripts/train_ppo_llama3_ray_colocate.sh vllm engine=4 tp_size = 4 actor gpus=8 critic gpus=8
![image](https://private-user-images.githubusercontent.com/6442199/342392944-81cc6ac4-6aec-4074-9310-766e1cdd7700.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIyNzQxMDAsIm5iZiI6MTcyMjI3MzgwMCwicGF0aCI6Ii82NDQyMTk5LzM0MjM5Mjk0NC04MWNjNmFjNC02YWVjLTQwNzQtOTMxMC03NjZlMWNkZDc3MDAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcyOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MjlUMTcyMzIwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZTkzYTgxZmQ2ZjU3MjRmNTE3ZTNlNTE3ZDBjYjQwYTkyZThiNjU5MDk4YzA1NGI1MTgzNTRmMGI4OGZkYWQwMyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.-rccwFte4Nv9wGoH5vOyCfovwbZe8u_SOnnpww743VM)
from openrlhf.
奇怪的问题,可能是没有flash_attn导致的?请问具体是哪个环节OOM了?
补充建议: 可以参考这个脚本合并reward critic 以及 actor ref 速度会更快:https://github.com/OpenLLMAI/OpenRLHF/blob/main/examples/scripts/train_ppo_llama3_ray_colocate.sh vllm engine=4 tp_size = 4 actor gpus=8 critic gpus=8
CPU 内存不够 不足以放下 adam optimizer?
docker 环境推荐试试 https://github.com/OpenLLMAI/OpenRLHF/tree/main/dockerfile
from openrlhf.
Related Issues (20)
- DPO Finetuning constantly gives preference loss as 0.6931 HOT 8
- Difference between `DeepSpeedEngine.save_checkpoint()` and `DeepSpeedStrategy.save_model()` HOT 2
- DPO后的模型推理出的结果都是无序符号 HOT 1
- Support training from breakpoint HOT 3
- llama3 70B DPO example script
- where is gradient_accumulation HOT 1
- Support RLOO HOT 1
- 现在Train_PPO_llama_ray 过程中会把Actor Model切分到不同卡上吗 HOT 4
- ConnectionRefusedError: [Errno 111] Connection refused HOT 5
- packing的问题 HOT 2
- "right" padding hardcoded HOT 3
- Error while saving the model under 4bit lora HOT 2
- multinode ppo training extremely slow HOT 15
- 使用ray的时候Request Entity Too Large HOT 3
- dpo 训练显存 OOM HOT 1
- Online DPO 支持 HOT 4
- Feature: add DPO-P
- Zero stage 3 error HOT 1
- Performance of Iterative DPO? HOT 1
- Why multiplying rstd instead of dividing by rstd? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openrlhf.