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 wrong documentation of ignore_unused_parameters #4418

Merged
merged 4 commits into from
Oct 3, 2023

Conversation

UniverseFly
Copy link
Contributor

The documentation says:

ignore_unused_parameters: bool = True
...
This is set to False (which should be True) by default, which means unused parameters are ignored and training continues.

Hence the inconsistency.

@loadams loadams enabled auto-merge September 28, 2023 22:11
@UniverseFly
Copy link
Contributor Author

Hi @tjruwase, the original commit encountered some unexpected unit test errors even if it only modified the docstring. Could you kindly check if there's anything wrong? Thanks.

@loadams
Copy link
Collaborator

loadams commented Sep 29, 2023

Hi @tjruwase, the original commit encountered some unexpected unit test errors even if it only modified the docstring. Could you kindly check if there's anything wrong? Thanks.

Hi @UniverseFly - there is a known CI issues we are working on. There doesn't appear to be anything wrong with your PR, we will get it merged shortly, thanks!

@loadams loadams added this pull request to the merge queue Oct 3, 2023
Merged via the queue into deepspeedai:master with commit 986b595 Oct 3, 2023
mauryaavinash95 pushed a commit to mauryaavinash95/DeepSpeed that referenced this pull request Oct 9, 2023
@keunwoochoi
Copy link

i think we still see the inconsistent documentation on this..

@loadams
Copy link
Collaborator

loadams commented Jan 12, 2024

Hi @keunwoochoi - could you link the inconsistent docs? We'd certainly like to fix them if there is anything inconsistent

@keunwoochoi
Copy link

hi @loadams, yes absolutely. on the doc about the json (https://www.deepspeed.ai/docs/config-json/), the "Description" column says False is the default behavior but the "Default" column specifies it's True.

@loadams
Copy link
Collaborator

loadams commented Jan 12, 2024

@keunwoochoi - the docs inconsistency should be fixed here: #4949

Link to the code where the default is set: https://github.com/microsoft/DeepSpeed/blob/13d84b4912492d40b68f4da7bc570e47b54bce2a/deepspeed/runtime/zero/config.py#L242C4-L242C42

@keunwoochoi
Copy link

@loadams thanks!

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.

4 participants