Skip to content

[Refactor] Code clean up for better readability #36

Open
@garrett4wade

Description

@garrett4wade

Currently AReaL has too many levels of wrappers, which prevents potential users and contributors to read and understand the code.

We aim to clean up the code in two different levels:

  1. the experiment launch procedure
  2. the interaction between master and model workers

We don't have a concrete plan yet. I open this issue to share the current code structure and would like to discuss with the community how to do the refactor.

Readers can also check this amazing deepwiki page to understand the code structure.

Old documentation for ReaLHF: https://openpsi-project.github.io/ReaLHF/

The current launch procedure

Image

The interaction between master and model workers

todo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions