Skip to content

Expose sa_fuse_reciprocal and sa_use_base2_exp flags in MaxText#4264

Open
dandragona wants to merge 1 commit into
mainfrom
expose-tokamax-splash-flags
Open

Expose sa_fuse_reciprocal and sa_use_base2_exp flags in MaxText#4264
dandragona wants to merge 1 commit into
mainfrom
expose-tokamax-splash-flags

Conversation

@dandragona

@dandragona dandragona commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

Description

This PR exposes two flags that are supported by the underlying tokamax SplashConfig:

  • sa_fuse_reciprocal: Maps to fuse_reciprocal in SplashConfig (defaults to True).
  • sa_use_base2_exp: Maps to use_base2_exp in SplashConfig (defaults to True).

These are passed to tokamax_splash_kernel.SplashConfig.

Tests

  • Config validation tests were run: configs_test.py and pyconfig_test.py passed.

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.

TAG=agy
CONV=9b0f857c-78d2-4359-be96-73df07e21957
CHANGE_STEWARD=true

@dandragona dandragona force-pushed the expose-tokamax-splash-flags branch from e7df328 to 6e56e27 Compare June 25, 2026 02:34
@codecov

codecov Bot commented Jun 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@dandragona dandragona force-pushed the expose-tokamax-splash-flags branch from 6e56e27 to 464416f Compare June 25, 2026 02:39
This change exposes two flags that are supported by the underlying tokamax SplashConfig:
- sa_fuse_reciprocal: Maps to fuse_reciprocal in SplashConfig (defaults to True).
- sa_use_base2_exp: Maps to use_base2_exp in SplashConfig (defaults to True).

These are passed to tokamax_splash_kernel.SplashConfig.

TAG=agy
CONV=9b0f857c-78d2-4359-be96-73df07e21957
CHANGE_STEWARD=true
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.

2 participants