Skip to content

Some routine cleanup while writing some new tools for checkpoint admin #2023

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

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

mattdangerw
Copy link
Member

  • Remove broken test in preset_utils we don't ever run
  • Move load_serialized_object to our preset loading class (for consistency)
  • Move all admin related tooling to a dedicated folder in tools/
  • Remove some no longer used scripts.

- Remove broken test in preset_utils we don't ever run
- Move load_serialized_object to our preset loading class
  (for consistency)
- Move all admin related tooling to a dedicated folder in tools/
- Remove some no longer used scripts.
Copy link
Member

@SamanehSaadat SamanehSaadat left a comment

Choose a reason for hiding this comment

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

Thanks, Matt!

("llama2_7b_en_int8", "llama2_7b_en_int8", "bfloat16", True),
)
@pytest.mark.extra_large
def test_load_serialized_object(self, preset, dtype, is_quantized):
Copy link
Member

Choose a reason for hiding this comment

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

Is this the test you mentioned it's broken and we don't run? It seems like a good test though!

Copy link
Member Author

Choose a reason for hiding this comment

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

We could bring it back, but it's missing the mark on a few counts.

  • Too big to run on our regular CI.
  • Doesn't actually work.
  • Not testing anything an end user would hit, it's just testing an internal utility in a way that will be brittle. We could test similar logic with from_preset that would be much less brittle.

Let's ditch for now!

@mattdangerw mattdangerw merged commit 3fadb8c into keras-team:master Dec 20, 2024
10 checks passed
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.

2 participants