Skip to content

Save subcategory results to json #242

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 6 commits into from
Oct 10, 2024
Merged

Save subcategory results to json #242

merged 6 commits into from
Oct 10, 2024

Conversation

dkupnicki
Copy link
Collaborator

No description provided.

@jan-grzybek-ampere jan-grzybek-ampere self-requested a review April 25, 2024 09:51
for subcategory in self._subcategories.keys():
json_data[subcategory] = {
"workload_size": self._subcategories[subcategory]["workload_size"][self.warm_up_runs:times_invoked], # noqa
"start_times": self._subcategories[subcategory]["start_times"][self.warm_up_runs:times_invoked],
Copy link
Member

Choose a reason for hiding this comment

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

Here might be the source of the issue I've mentioned on mzd side. You cut subcategories' runs based on times_invoked as seen from outside of the llama generative loop.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The problem was actually discarding warmup runs when they were already ignored by start_subcategory_measurement and finish_subcategory_measurement, which resulted in not meeting the minimum measurements count

@jan-grzybek-ampere
Copy link
Member

@dkupnicki before merging, please take a look at review of complementary PR on mzd side

@dkupnicki dkupnicki merged commit 7bce642 into main Oct 10, 2024
9 checks passed
@dkupnicki dkupnicki deleted the daniel/llama_results branch October 10, 2024 12:32
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