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

Make conversion scripts compatible with Python 3.8 #877

Merged
merged 6 commits into from
Apr 13, 2023

Conversation

haileyschoelkopf
Copy link
Contributor

Closes #875 , and also improves error handling on FP16 detection for config YAMLs being converted.

@haileyschoelkopf
Copy link
Contributor Author

PR updated and tested for different cases!

Note that the way we specified precision in DeeperSpeed v1.0 diverges from the upstream Deepspeed docs, I think( can look further though?), and so these two scripts diverge at this conditional.

@Quentin-Anthony
Copy link
Member

I'm happy with this. Merging.

@Quentin-Anthony Quentin-Anthony merged commit 831af97 into main Apr 13, 2023
@Quentin-Anthony Quentin-Anthony deleted the fix-convert-py3.8 branch April 13, 2023 19:25
@StellaAthena StellaAthena restored the fix-convert-py3.8 branch May 11, 2023 06:17
@StellaAthena StellaAthena mentioned this pull request May 11, 2023
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.0 HF conversion script fails on Python 3.8
3 participants