Skip to content

Human friendly values for DeepSpeed config#167

Merged
sfc-gh-mwyatt merged 4 commits intomainfrom
mwyatt/coerce-ds-config-vals
May 8, 2025
Merged

Human friendly values for DeepSpeed config#167
sfc-gh-mwyatt merged 4 commits intomainfrom
mwyatt/coerce-ds-config-vals

Conversation

@sfc-gh-mwyatt
Copy link
Copy Markdown
Collaborator

@sfc-gh-mwyatt sfc-gh-mwyatt commented Apr 24, 2025

Followup to #166 that extends human-friendly numerical parsing functionality to DeepSpeed configs. Since the DeepSpeed config is defined in that library we cannot use HumanInt and HumanFloat as types to automatically handle parsing. Instead we must do a try...except with each field passed by the user in the config dict. The HumanInt and HumanFloat should likely be added to DeepSpeed. Will follow up in the future with a PR over there.

Resolves #165

@sfc-gh-mwyatt sfc-gh-mwyatt enabled auto-merge (squash) May 8, 2025 21:03
@sfc-gh-mwyatt sfc-gh-mwyatt merged commit 144c24c into main May 8, 2025
4 checks passed
@sfc-gh-mwyatt sfc-gh-mwyatt deleted the mwyatt/coerce-ds-config-vals branch May 8, 2025 21:06
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.

config: support values with scientific notation

2 participants