Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run NVIDIA GPU tests on A10 per PR (#1544)
Summary: ## Problem The OSS side does not run any NVIDIA-GPU unit test, so we cannot catch any OSS-specific issues before merging it; we run these NVIDIA-GPU tests only when a nightly build is pushed to PyPI. This sometimes breaks our nightly build; our customers get unhappy. ## Solution This PR adds a new GitHub Action job that runs unit tests on an AWS NVIDIA A10 machine "per PR". This job creates a wheel file and tests it as the nightly job does, so it should be able to detect some wheel-related issues too (e.g., a build procedure was updated but the nightly script is not updated) though it is not comprehensive (see below). Note: - This job shouldn't lengthen the CI time. This job takes 1-2 hours, which i s shorter than other CUDA-build jobs using GHA-native runners. - This job covers only Python 3.10 + CUDA 11.7 + A10 + OS that our Docker script uses. We might want different combinations (e.g., different Python/CUDA/GCC versions and/or Volta GPU) in the future, but anyway this addition should be better than nothing. - If you need a thorough nightly/release script check, please add a label (e.g., `test_wheel_nightly`) to your PR, which runs the real wheel-creation scripts with `upload_pypi` disabled. Pull Request resolved: #1544 Reviewed By: jianyuh Differential Revision: D42490935 Pulled By: shintaro-iwasaki fbshipit-source-id: 974050736a9381d2329117fbf2855b03e438345a
- Loading branch information