convert_megatron_checkpoint_to_hf
"# convert_megatron_checkpoint_to_hf\n\n```python\nfrom modal_dojo import convert_megatron_checkpoint_to_hf\n```\n\nConvert a Megatron checkpoint to Hugging Face format.\n\n```python\nconvert_megatron_checkpoint_to_hf(checkpoint: Checkpoint, model: ModelConfig, recipe: VllmRecipe | SglangRecipe | None = None) -> Checkpoint\n```\n"
from modal_dojo import convert_megatron_checkpoint_to_hfConvert a Megatron checkpoint to Hugging Face format.
convert_megatron_checkpoint_to_hf(checkpoint: Checkpoint, model: ModelConfig, recipe: VllmRecipe | SglangRecipe | None = None) -> Checkpoint