-
Notifications
You must be signed in to change notification settings - Fork 541
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
Add ability to save and compare sub-module outputs #690
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
olmo/config.py
Outdated
@@ -1217,6 +1217,11 @@ class TrainConfig(BaseConfig): | |||
Path to cache directory of HF datasets saved with `datasets.save_to_disk`. | |||
""" | |||
|
|||
module_outputs_save_steps: Optional[List[int]] = None | |||
""" | |||
Outputs of model submodules are saved during the provided steps. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a note here about how to use the script to view the results?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
81c07c6 I've mentioned the script for now. I intend to add a doc describing debugging with this soon.
This PR adds the ability to save and compare sub-module outputs. This was helpful for finding the fix in #680. We could use this functionality as part of an integration test in the future.