Skip to content

[docs] Pin removed Megatron checkpoint script link - #4358

Closed
pratikgx wants to merge 1 commit into
huggingface:mainfrom
pratikgx:docs/fix-links-megatron-script
Closed

pratikgx wants to merge 1 commit into
huggingface:mainfrom
pratikgx:docs/fix-links-megatron-script

Conversation

@pratikgx

Copy link
Copy Markdown
Contributor

What does this PR do?

The Megatron-LM guide links to checkpoint_reshaping_and_interoperability.py on transformers main, but that file was removed in huggingface/transformers 54b89a253d (#47764), so the link 404s.

  • docs/source/usage_guides/megatron_lm.md: transformers/blob/main/src/transformers/models/megatron_gpt2/checkpoint_reshaping_and_interoperability.py -> same path at tag v5.14.1, the last release that still has the script.

Docs only; the new target was checked at that tag.

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you read the contributor guideline,
    Pull Request section?
  • Was this discussed/approved via a Github issue or the forum? Please add a link
    to it if that's the case.
  • Did you make sure to update the documentation with your changes? Here are the
    documentation guidelines, and
    here are tips on formatting docstrings.
  • Did you write any new necessary tests?

Who can review?

Documentation: @SunMarc

@SunMarc SunMarc closed this Oct 1, 2026
@SunMarc

SunMarc commented Oct 1, 2026

Copy link
Copy Markdown
Member

we don't update megatron doc or code anymore

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.

2 participants