Skip to content

Change llama 3 and 2 configs to use hf ckpt instead of meta ckpt #2045

Open
@felipemello1

Description

@felipemello1

Update llama 3 and 2 to use hf ckpt, so users can use the trained model using .from_pretrained.

3.1 reference:

_component_: torchtune.training.FullModelHFCheckpointer

3.0 currently:
_component_: torchtune.training.FullModelMetaCheckpointer

steps:

  1. Change the checkpointer FullModelMetaCheckpointer -> FullModelHFCheckpointer
  2. Update the download command to --ignore-patterns "original/consolidated.00.pth", instead of safetensors
  3. Update checkpoint files to .safetensors
  4. Launch training without errors

Activity

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

    community help wantedWe would love the community's help completing this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions