Code Monkey home page Code Monkey logo

Comments (4)

hijkzzz avatar hijkzzz commented on June 11, 2024

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.

catqaq avatar catqaq commented on June 11, 2024

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.

dabney777 avatar dabney777 commented on June 11, 2024

Could you try to skip this batch/episode?

from openrlhf.

catqaq avatar catqaq commented on June 11, 2024

solved by set PYTORCH_CUDA_ALLOC_CONF

from openrlhf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.