Skip to content

Conversation

@copybara-service
Copy link

@copybara-service copybara-service bot commented Jan 9, 2025

Refactor CPU vs TPU tests.

TPU tests are marked by the tag requires-tpu. CPU tests are anything else.

CPU tests need to be configured to disable all devices except CPU, otherwise
the test may hang when searching for TPUs.

For TPU tests, we add the required LIBTPU flags in .bazelrc.

@copybara-service copybara-service bot force-pushed the test_713771550 branch 4 times, most recently from 88bea88 to e7edccf Compare January 13, 2025 21:09
TPU tests are marked by the tag `requires-tpu`.  CPU tests are anything else.

CPU tests need to be configured to disable all devices except CPU, otherwise
the test may hang when searching for TPUs.

For TPU tests, we add the required LIBTPU flags in .bazelrc.

PiperOrigin-RevId: 715081513
@copybara-service copybara-service bot merged commit 6b5bae7 into main Jan 13, 2025
@copybara-service copybara-service bot deleted the test_713771550 branch January 13, 2025 21:10
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