Skip to content

[MaxText/inference_microbenchmark.py] Ensure correct exit code #1753

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

Conversation

SamuelMarks
Copy link
Collaborator

Description

Earlier change accidentally made the exit code not EXIT_SUCCESS… this fixes that issue and also enables the output to be used by other tools.

Closes #1742

FIXES: #1742

Tests

N/A

Checklist

Before submitting this PR, please make sure (put X in square brackets):

  • I have performed a self-review of my code.
  • I have necessary comments in my code, particularly in hard-to-understand areas.
  • I have run end-to-end tests tests and provided workload links above if applicable.
  • I have made or will make corresponding changes to the doc if needed.

Copy link
Collaborator

@bvandermoon bvandermoon left a comment

Choose a reason for hiding this comment

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

LGTM outside of the linting failure

@SamuelMarks SamuelMarks force-pushed the inference_microbenchmark-EXIT_CODE branch from 5a9bb21 to b675b24 Compare May 20, 2025 05:32
@SamuelMarks SamuelMarks force-pushed the inference_microbenchmark-EXIT_CODE branch from b675b24 to c6041b6 Compare May 20, 2025 05:32
@copybara-service copybara-service bot merged commit 41228dd into AI-Hypercomputer:main May 21, 2025
33 of 36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

inference_microbenchmark.py always exit with 1
3 participants