Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edge-casing for multi-GPU HF-to-NeoX conversion #1065

Merged
merged 5 commits into from
Nov 1, 2023

Conversation

haileyschoelkopf
Copy link
Contributor

@haileyschoelkopf haileyschoelkopf commented Oct 30, 2023

This PR fixes a few bugs encountered when attempting to convert from HF to NeoX checkpoint format, via the invocation of the script through deepy.py in the multi-GPU case.

After fixing these, and using "launcher": "slurm", "deepspeed_slurm": true in the config file I passed, conversion works for this distributed case. The distributed case can be always used if desired, even on a single GPU, and whether or not MP/PP are > 1.

@Quentin-Anthony Quentin-Anthony merged commit fcc5af5 into main Nov 1, 2023
@Quentin-Anthony Quentin-Anthony deleted the fix-conversion-from-hf branch November 1, 2023 03:46
R0n12 pushed a commit to R0n12/gpt-neox-fork that referenced this pull request Nov 2, 2023
* edge-casing for multiGPU hf to sequential case

* cleanup whitespace

* Update NeoXArgs docs automatically

* Update NeoXArgs docs automatically

---------

Co-authored-by: github-actions <[email protected]>
Co-authored-by: Quentin Anthony <[email protected]>
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.

3 participants