-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update CUDA test compatibility to keep up with added gVisor support.
These CUDA tests were initially broken in gVisor but now appear to pass. The test now also verifies that all capabilities are enabled when running. PiperOrigin-RevId: 711880073
- Loading branch information
1 parent
b94ab73
commit 4c45213
Showing
9 changed files
with
161 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
agents: | ||
queue: release | ||
_templates: | ||
retry_settings: &retry_settings | ||
automatic: | ||
- exit_status: -1 | ||
limit: 10 | ||
- exit_status: "*" | ||
limit: 2 | ||
common: &common | ||
timeout_in_minutes: 180 | ||
retry: | ||
automatic: | ||
- exit_status: -1 | ||
limit: 10 | ||
- exit_status: "*" | ||
limit: 2 | ||
|
||
<<: *retry_settings | ||
notify: | ||
- email: "[email protected]" | ||
if: build.state == "failed" | ||
|
@@ -75,6 +76,18 @@ steps: | |
- make gpu-all-tests | ||
agents: | ||
queue: gpu | ||
- label: ":fish: CUDA tests" | ||
# This is its own test rather than being part of the GPU tests, | ||
# because it takes around 30 minutes to run. | ||
parallelism: 32 | ||
timeout_in_minutes: 120 | ||
retry: | ||
<<: *retry_settings | ||
commands: | ||
- make sudo TARGETS=//tools/gpu:main ARGS="install --latest" || cat /var/log/nvidia-installer.log | ||
- make cuda-tests ARGS="--cuda_verify_compatibility=true" | ||
agents: | ||
queue: gpu | ||
- <<: *common | ||
label: ":screwdriver: All GPU Drivers Test" | ||
parallelism: 8 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.