Skip to content

Implement depthwise truncated model init #20

Closed

Description

@lessw2020

Need to add a proper llama style init, which uses the number of layers to properly init weights (with and without meta_init).
This will ensure weights are properly setup for multi-billion param training.

Activity

  1. lessw2020 commented on Feb 12, 2024

    @lessw2020
    ContributorAuthor

    reset_parameters with depthwise truncated init enabled in branch.
    Able to train from scratch with 7B.

  2. lessw2020 commented on Feb 12, 2024

    @lessw2020
    ContributorAuthor

    and verified 13B and ~40B all train from scratch:
    Screenshot 2024-02-11 at 10 39 12 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions