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

changes necessary for usage in earl #13

Merged
merged 4 commits into from
Dec 14, 2024
Merged

changes necessary for usage in earl #13

merged 4 commits into from
Dec 14, 2024

Conversation

garymm
Copy link
Member

@garymm garymm commented Dec 13, 2024

Change-Id: I2a6bf1d675b60d7862726f922c6f0c13836d0124

Required so that we can omit arguments to
jax.tree_util.register_dataclass in memory_writer.py.

Change-Id: I02056109268dba6470865ee678fa63e3427db416
Copy link

codecov bot commented Dec 13, 2024

Codecov Report

Attention: Patch coverage is 98.84393% with 2 lines in your changes missing coverage. Please review.

Project coverage is 93.53%. Comparing base (8fcfa36) to head (a8a9b69).
Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
...loop_utils/metric_writers/keep_last_writer_test.py 98.14% 1 Missing ⚠️
..._utils/metric_writers/prefix_suffix_writer_test.py 97.95% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #13      +/-   ##
==========================================
+ Coverage   93.18%   93.53%   +0.35%     
==========================================
  Files          37       42       +5     
  Lines        2361     2554     +193     
==========================================
+ Hits         2200     2389     +189     
- Misses        161      165       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Change-Id: I972488484fc357afbd9e19dc3c4a1898e8698cd4
@garymm garymm force-pushed the garymm/fixes branch 2 times, most recently from 547e630 to d98c2c8 Compare December 13, 2024 21:29
Change-Id: I2a6bf1d675b60d7862726f922c6f0c13836d0124
Change-Id: I146535ed4572b4e94769acdf843928ac1d6dab7b
writer: The underlying MetricWriter to wrap
prefix: String to prepend to all keys
suffix: String to append to all keys
"""

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably should assert prefix | suffix

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The user will get exactly what they asked for which will come at a small performance cost. I'd rather "define errors out of existence".

@garymm garymm merged commit a604c0c into master Dec 14, 2024
5 checks passed
@garymm garymm deleted the garymm/fixes branch December 14, 2024 00:08
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.

3 participants