Skip to content

Using official HuggingFace script to convert DCP weights to HF format,the outputs are not human-readable #1291

Closed
@guang11644331

Description

@guang11644331

DCP -> torch (in PyTorch, see https://github.com/pytorch/torchtitan/blob/main/docs/checkpoint.md)
torch -> HF (from HF, although missing params.json if saved from DCP)

Image

Does anyone have a working convert script or know how to fix this issue?

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions