Skip to content
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

Added support for printing scalar values in Pallas TPU kernels #21370

Closed
wants to merge 0 commits into from

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented May 22, 2024

Added support for printing scalar values in Pallas TPU kernels

The implementation uses the new tpu.log operation in the Mosaic TPU dialect.

Note that

  • the logging only happens if --xla_tpu_enable_log_recorder is set;
  • only scalars can be printed;
  • placeholders only accept i32 arguments at the moment.

@copybara-service copybara-service bot force-pushed the test_636268627 branch 4 times, most recently from f3b61fd to 6e0c9d4 Compare May 23, 2024 16:37
@copybara-service copybara-service bot closed this May 23, 2024
@copybara-service copybara-service bot deleted the test_636268627 branch May 23, 2024 17:02
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.

None yet

1 participant