Skip to content

Upstreaming CROSS: basis conversion + barrett reduction#95

Open
copybara-service[bot] wants to merge 1 commit intomainfrom
test_881669385
Open

Upstreaming CROSS: basis conversion + barrett reduction#95
copybara-service[bot] wants to merge 1 commit intomainfrom
test_881669385

Conversation

@copybara-service
Copy link

@copybara-service copybara-service bot commented Mar 11, 2026

Upstreaming CROSS: basis conversion + barrett reduction

Adds the BasisConversion kernel with BAT and Barrett reduction, hypothesis testing on CPU/GPU/TPU.

Leaves out the non-bat implementation of basis conversion, because it does not run on TPU.

Also, since we haven't had any changes to the project in a long time, dependencies have gotten stale and out of sync with google's internal codebase. To remedy this:

  • Migrate off WORKSPACE on to bazelmod
  • Bump jax/jaxlib versions and pin them in requirements.txt
  • Bump rules_python and bazelversion
  • Migrate BUILD file pypi deps to more recent rules_python style

Assisted by Gemini-cli

@copybara-service copybara-service bot force-pushed the test_881669385 branch 7 times, most recently from 5bf6960 to d24c1a7 Compare March 11, 2026 17:52
Adds the BasisConversion kernel with BAT and Barrett reduction, hypothesis testing on CPU/GPU/TPU.

Leaves out the non-bat implementation of basis conversion, because it does not run on TPU.

Also, since we haven't had any changes to the project in a long time, dependencies have gotten stale and out of sync with google's internal codebase. To remedy this:

- Migrate off WORKSPACE on to bazelmod
- Bump jax/jaxlib versions and pin them in requirements.txt
- Bump rules_python and bazelversion
- Migrate BUILD file pypi deps to more recent rules_python style

Assisted by Gemini-cli

PiperOrigin-RevId: 881669385
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.

1 participant