Skip to content

Add Megatron-FSDP load and export support#146

Open
conver334 wants to merge 3 commits into
ISEEKYAN:mainfrom
conver334:mfsdp-integration-cleanup
Open

Add Megatron-FSDP load and export support#146
conver334 wants to merge 3 commits into
ISEEKYAN:mainfrom
conver334:mfsdp-integration-cleanup

Conversation

@conver334

Copy link
Copy Markdown

Summary

This PR integrates the Megatron-FSDP <-> HuggingFace weight conversion

Main changes:

  • Add use_megatron_fsdp support.
  • Add Megatron-FSDP example scripts:
    • example/mfsdp/load_model_and_export.py
    • example/mfsdp/load_model_and_forward.py

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant