Skip to content

Enable TC tiling on SparseCore and use num_lanes for row_subchunk_size.#4257

Open
BirdsOfAFthr wants to merge 1 commit into
mainfrom
amandaliang
Open

Enable TC tiling on SparseCore and use num_lanes for row_subchunk_size.#4257
BirdsOfAFthr wants to merge 1 commit into
mainfrom
amandaliang

Conversation

@BirdsOfAFthr

@BirdsOfAFthr BirdsOfAFthr commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

Description

This PR enables Tensor Core (TC) tiling on SparseCore within the Pallas gather-reduce kernel and dynamically resolves the number of cores and lanes instead of using hardcoded values.

Tests

  • Ran tests/gather_reduce_sc_test.py locally

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.

@codecov

codecov Bot commented Jun 24, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/maxtext/kernels/gather_reduce_pallas.py 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

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.

1 participant