Skip to content

[QUESTION]How to convert a model from torchdist to hugginface? #2845

@Listen-WLS

Description

@Listen-WLS

Your question
Ask a clear and concise question about Megatron-LM. Tag the @megatron-oncall
to get oncall's attention to this issue.
When i run the convert pipline this err will come:File "Megatron-LM-core_v0.15.0/tools/checkpoint/loader_base.py", line 208, in get_models_for_pipeline_stage
this_model = model_provider(pre_process=pre_process,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: model_provider() missing 1 required positional argument: 'model_builder'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions