Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR tensorflow#15285: Ensure only one device is visible in pjrt_c_api_…
…gpu_test Imported from GitHub PR openxla/xla#15285 The test fails when the number of available devices is more than 1. This patch fixes that by ensuring that only one device is visible to the test. Copybara import of the project: -- 587bebe70c7d298008eff0c65dfcfa901e1fe21a by Shraiysh Vaishay <svaishay@nvidia.com>: Ensure only one device is visible in pjrt_c_api_gpu_test The test fails when the number of available devices is more than 1. This patch fixes that by ensuring that only one device is visible to the test. Merging this change closes tensorflow#15285 PiperOrigin-RevId: 655861635
- Loading branch information