Skip to content

fix v7x failure on fractional eval batch test#4572

Merged
copybara-service[bot] merged 1 commit into
mainfrom
chengnuojin-fix-fraceval-v7x
Jul 23, 2026
Merged

fix v7x failure on fractional eval batch test#4572
copybara-service[bot] merged 1 commit into
mainfrom
chengnuojin-fix-fraceval-v7x

Conversation

@NuojCheng

@NuojCheng NuojCheng commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Description

Currently v7x test on fractional batch size for eval fails due to the contradictions among max_target_length=2048 and num_devices=8 and splash block size being 512. To fix this, we only need to increase seq length to 4096.

Tests

See tpu7x run here: https://github.com/AI-Hypercomputer/maxtext/actions/runs/30033315981/job/89295608280

Checklist

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

  • I have performed a self-review of my code. For an optional AI review, add the gemini-review label.
  • 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, including adding new documentation pages to the relevant Table of Contents (toctree directive) as explained in our documentation.

@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@codecov

codecov Bot commented Jul 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@NuojCheng
NuojCheng force-pushed the chengnuojin-fix-fraceval-v7x branch 3 times, most recently from 08c5710 to 22a8236 Compare July 23, 2026 18:16
@NuojCheng
NuojCheng marked this pull request as ready for review July 23, 2026 20:17
@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

Comment thread .github/workflows/ci_pipeline.yml Outdated
always() &&
needs.analyze_code_changes.outputs.run_notebooks == 'true' &&
needs.build_and_upload_maxtext_package.result == 'success'
if: false # Temporarily disabled — only tpu7x tests are enabled

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

can you link a buganizer here?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

all my changes in ci_pipeline.yml will be reverted. They are updated for running tpu7x-test.

Comment thread .github/workflows/ci_pipeline.yml Outdated
tpu7x-tests:
name: TPU7X tests
needs: [gate_test_run]
# REVERT_TPU7X: previously gated to: github.ref == 'refs/heads/main' && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

not a huge fan of commented out code - can you link to buganizer instead?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

all my changes in ci_pipeline.yml will be reverted. They are updated for running tpu7x-test in ci test

@NuojCheng
NuojCheng force-pushed the chengnuojin-fix-fraceval-v7x branch from 22a8236 to 22118f7 Compare July 23, 2026 20:34
@copybara-service
copybara-service Bot merged commit ad841c4 into main Jul 23, 2026
46 of 47 checks passed
@copybara-service
copybara-service Bot deleted the chengnuojin-fix-fraceval-v7x branch July 23, 2026 21:10
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.

4 participants