-
Notifications
You must be signed in to change notification settings - Fork 7k
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
enable windows cuda unit tests #4421
Conversation
…/enableunittest
verified. @malfet
|
@NicolasHug |
@NicolasHug @fmassa |
@mszhanyi if the |
…/enableunittest
This reverts commit 1ce58c5.
All tests passed by rerunning but Workflow: build & Workflow: unittest status not updated |
Summary: * enable cuda for unittest * add one check * rename * minor fix * add more check * add cuda envs * add more cuda envs * add driver update * update vs integration * get cuda version * merge * add envs in install.sh * reduce some change and add comments * minor improve * fix typo * exit if driver update failed * fix lint * fix lint * Avoid catching exception to show error message * try 11.1 * try 11.1 * "try 11.1" * set the downloaded gpu driver dlls only for 10.2 * check torch.cuda.is_available() * add display.driver * Revert "Avoid catching exception to show error message" This reverts commit 1ce58c5. * Update .circleci/unittest/windows/scripts/set_cuda_envs.sh * Update .circleci/unittest/windows/scripts/set_cuda_envs.sh * Update .circleci/unittest/windows/scripts/set_cuda_envs.sh Reviewed By: datumbox Differential Revision: D31268020 fbshipit-source-id: a940a56ac02a5e440f4cbf8fc4b199e429c9002d Co-authored-by: Nicolas Hug <nicolashug@fb.com> Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by: Nikita Shulga <nikita.shulga@gmail.com> Co-authored-by: Nikita Shulga <nshulga@fb.com>
GPU tests have special step to install the driver, CUDA install step shouldl just install the runtime never Fixes regression introduced by #4421
GPU tests have special step to install the driver, CUDA install step shouldl just install the runtime never Fixes regression introduced by #4421
Summary: GPU tests have special step to install the driver, CUDA install step shouldl just install the runtime never Fixes regression introduced by #4421 Reviewed By: NicolasHug Differential Revision: D31916340 fbshipit-source-id: 700b522fcfe58942603f8eb336811c585c28330e
* enable cuda for unittest * add one check * rename * minor fix * add more check * add cuda envs * add more cuda envs * add driver update * update vs integration * get cuda version * merge * add envs in install.sh * reduce some change and add comments * minor improve * fix typo * exit if driver update failed * fix lint * fix lint * Avoid catching exception to show error message * try 11.1 * try 11.1 * "try 11.1" * set the downloaded gpu driver dlls only for 10.2 * check torch.cuda.is_available() * add display.driver * Revert "Avoid catching exception to show error message" This reverts commit 1ce58c5. * Update .circleci/unittest/windows/scripts/set_cuda_envs.sh * Update .circleci/unittest/windows/scripts/set_cuda_envs.sh * Update .circleci/unittest/windows/scripts/set_cuda_envs.sh Co-authored-by: Nicolas Hug <nicolashug@fb.com> Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by: Nikita Shulga <nikita.shulga@gmail.com> Co-authored-by: Nikita Shulga <nshulga@fb.com>
GPU tests have special step to install the driver, CUDA install step shouldl just install the runtime never Fixes regression introduced by pytorch#4421
Only for unittest_windows_GPU
add nvjpeg in cuda_install
add cuda_install step in unittest_windows_gpu workflow
add cuda driver update step in unittest_windows_gpu workflow
CUDA Runtime , CUDA Driver and CUDA Environments are all necessary to run cuda tests.
It's hard to submit individual PRs.
cc @seemethere