Comments (4)
It can run well within the nvidia-docker
Train epoch [1/1]: 100%|██████████████████████████████████████████| 256/256 [12:13<00:00, 2.87s/it, pg=-.107, cri=0.0423, vals=0.761, rm=0.649, ret=0.648, glen=405, tlen=499, kl=0.000267]
{'policy_loss': -0.10136487577983644, 'critic_loss': 0.05111422556001344, 'values': 0.7335318821569672, 'kl': 3.989041533495717e-05, 'reward': 0.7770038396120071, 'return': 0.7769353888725163, 'response_length': 250.283203125, 'total_length': 385.9375}
Episode [1/1]: 3%|███▎ | 664/25000 [1:50:43<54:13:56, 8.02s/it]
from openrlhf.
I tried it twice and ended up in the same place.
first:
Train epoch [1/1]: 100%|█| 16/16 [03:45<00:00, 14.10s/it, pg=-.479, cri=0.0654, vals=0.262, kl=0, rm=0.328, ret=0.328, glen=203,
{'pg': -0.32111476035788655, 'cri': 0.059775998117402196, 'vals': 0.15955006331205368, 'kl': 0.0, 'rm': 0.28977665305137634, 'ret': 0.28977665305137634, 'glen': 143.6103515625, 'tlen': 288.83203125, 'k_coef': 0.01}
Episode [1/1]: 2%|█▍ | 255/12500 [29:52<17:39:40, 5.19s/it]
retry:
Train epoch [1/1]: 100%|█| 16/16 [03:45<00:00, 14.09s/it, pg=-.557, cri=0.0692, vals=0.104, kl=0, rm=0.391, ret=0.391, glen=121,
{'pg': -0.3215101254172623, 'cri': 0.05977673456072807, 'vals': 0.1602994620334357, 'kl': 0.0, 'rm': 0.28977665305137634, 'ret': 0.28977665305137634, 'glen': 143.6103515625, 'tlen': 288.83203125, 'k_coef': 0.01}
Episode [1/1]: 2%|█▍ | 255/12500 [29:46<15:52:26, 4.67s/it]
from openrlhf.
Could you try to skip this batch/episode?
from openrlhf.
solved by set PYTORCH_CUDA_ALLOC_CONF
from openrlhf.
Related Issues (20)
- AssertionError: backward pass is invalid for module in evaluation mode HOT 9
- Support hybird-model in Ray PPO
- Version0.0.1: Release the first development version HOT 1
- fixing Typo HOT 1
- Error occurred when loading datasets from disk HOT 5
- Local dataset: Please perform appropriate preprocessing on your local data set.
- Scale rlhf to 100B models HOT 1
- DeepSpeed Training and Inference HOT 2
- Implement Re-max
- Inquiry regarding the feasibility of fine-tuning LLaMA2-7B with a single A100 HOT 4
- [Severity] High similarity with Colossal-AI HOT 4
- Discussion on our 1st release. HOT 1
- feature: add api support for hosting a reward model HOT 5
- Add pipeline module to support more scientific comparative experiments and research
- 问一下,huggingface提供的checkpoint为pt文件,如何转成大模型常见的.bin HOT 4
- Loading RM ckpt bug: AttributeError: 'NoneType' object has no attribute 'load' HOT 3
- 为什么速度回比deepspeed chat快4倍这么多 HOT 3
- baichuan2-13b-base作为actor RuntimeError: CUDA error: device-side assert triggered HOT 5
- Support KTO HOT 1
- High Memory Usage HOT 5
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.