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

Fix overriding of rope_scaling config #644

Merged
merged 8 commits into from
Oct 3, 2023
Merged

Conversation

dakinggg
Copy link
Collaborator

@dakinggg dakinggg commented Oct 3, 2023

Previously overriding rope scaling would end up with a DictConfig in your HF config, which is not json serializable, and so broke during checkpointing. This PR does not attempt to handle all possible cases in that code, just fixes this one error.

@dakinggg dakinggg marked this pull request as ready for review October 3, 2023 01:05
tests/test_hf_config.py Outdated Show resolved Hide resolved
@dakinggg dakinggg merged commit cb1d94a into mosaicml:main Oct 3, 2023
9 checks passed
@dakinggg dakinggg deleted the rope-scaling branch October 11, 2023 23:05
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.

None yet

2 participants