Skip to content

Get Linter / CPU tests to succeed #1844

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SamuelMarks
Copy link
Collaborator

Description

Recommend not merging changes in future that don't pass the CI linting check.

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.

@SamuelMarks SamuelMarks changed the title Get bash code_style.sh to succeed Get Linter / CPU tests to succeed Jun 18, 2025
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.

Thanks Samuel. Just a few questions on the specific lint rules here

Just for my understanding - how are you finding these lint issues? Are these just rules we have disabled and you are planning to turn them back on?

@SamuelMarks
Copy link
Collaborator Author

Thanks Samuel. Just a few questions on the specific lint rules here

Just for my understanding - how are you finding these lint issues? Are these just rules we have disabled and you are planning to turn them back on?

Thanks for reviewing

Here I just ran bash code_style.sh and added one # pylint: disable=arguments-differ manually

FWIW: The lints should all be enabled now except for R0401,R0917,W0201,W0613, see https://github.com/AI-Hypercomputer/maxtext/blob/69ffd34/.github/workflows/CPUTests.yml#L39

@bvandermoon
Copy link
Collaborator

Thanks Samuel. Just a few questions on the specific lint rules here
Just for my understanding - how are you finding these lint issues? Are these just rules we have disabled and you are planning to turn them back on?

Thanks for reviewing

Here I just ran bash code_style.sh and added one # pylint: disable=arguments-differ manually

FWIW: The lints should all be enabled now except for R0401,R0917,W0201,W0613, see https://github.com/AI-Hypercomputer/maxtext/blob/69ffd34/.github/workflows/CPUTests.yml#L39

Awesome, makes sense. Thanks @SamuelMarks

@SurbhiJainUSC SurbhiJainUSC mentioned this pull request Jun 18, 2025
4 tasks
…able=arguments-differ` to `MaxEngine::prefill_multisampling`
@SamuelMarks
Copy link
Collaborator Author

FYI: Latest push was due to merge conflict so I just reran bash code_style.sh on the fresh HEAD

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