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

Print hugepage 0 size warning only if mapping fails #278

Merged
merged 3 commits into from
Nov 7, 2024

Conversation

broskoTT
Copy link
Contributor

@broskoTT broskoTT commented Nov 7, 2024

Issue

Fixes #275

Description

Aftermath of #168 . Added a warning by design. This was being printed even if everything worked correctly, but hugepage file was created for the first time.

List of the changes

  • Moved warning not to printed everytime but only in case of mapping failure.
  • Minor PR template addition to motivate people to comment on testing

Testing

Manually tested on t3008 machine that if no hugepages are available this warning is printed. Also tested this warning is not printed if everything works but is first hugepage setup.

API Changes

There are no API changes in this PR.

@broskoTT broskoTT enabled auto-merge (squash) November 7, 2024 09:55
@broskoTT broskoTT merged commit 52428b4 into main Nov 7, 2024
9 checks passed
@broskoTT broskoTT deleted the brosko/fix_hugepage_warning branch November 7, 2024 09:58
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.

[Bug Report] Huge page warning when 1st time running tt-metal after boot
2 participants