Skip to content

Conversation

@mszhanyi
Copy link
Contributor

@mszhanyi mszhanyi commented Sep 16, 2021

Fixes #4440

one step of enable windows cuda tests.
Add environment variables for installed cuda binaries.
update VS integration directory.
It's extracted from #4435.
@NicolasHug, could you take a loot at those failed test cases in #4435 . Could I disable them when I submit the next PRs.

@malfet @NicolasHug
What's the PR's impact?
In fact, the current CMAKE_WINDOWS_GPU result is incorrect.
For example.
Though #4412 passed all tests, From CMAKE_WINDOWS_GPU log.
https://circleci.com/api/v1.1/project/github/pytorch/vision/796642/output/103/0?file=true&allocation-id=6143fcff7205b60efcdd62e4-0-build%2F6F92D232
image
We could find it is compiled with 10.1 runtime not the specified 10.2 runtime

cc @seemethere

@mszhanyi mszhanyi marked this pull request as draft September 16, 2021 02:41
@mszhanyi mszhanyi changed the title add cuda envs add cuda envs on Windows Sep 17, 2021
@mszhanyi mszhanyi marked this pull request as ready for review September 17, 2021 18:28
@mszhanyi
Copy link
Contributor Author

mszhanyi commented Sep 17, 2021

@malfet
update VS integration in cuda_install.bat could NOT be separated from this PR. see #4420

@mszhanyi mszhanyi changed the title add cuda envs on Windows FIX CMAKE workflow: add cuda envs on Windows and update VS integration directory. Sep 17, 2021
@mszhanyi mszhanyi changed the title FIX CMAKE workflow: add cuda envs on Windows and update VS integration directory. FIX CMAKE_WINDOWS_GPU workflow Sep 17, 2021
Copy link
Contributor

@malfet malfet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand why cuda_install.bat needs to be changed now, but will delete it in followup PR

@malfet malfet merged commit 85982ac into pytorch:main Sep 17, 2021
@mszhanyi
Copy link
Contributor Author

mszhanyi commented Sep 17, 2021

I don't understand why cuda_install.bat needs to be changed now, but will delete it in followup PR

@malfet
I tried removing the VS integration. but there's the error
https://app.circleci.com/pipelines/github/pytorch/vision/10546/workflows/c37675ed-5ca4-450a-8199-0b75d68f44e6/jobs/801044
image

facebook-github-bot pushed a commit that referenced this pull request Sep 30, 2021
Summary:
* add cuda envs

* packaging doesn't need cuda env now

* fix cmake_windows_gpu

* minor fix

* rename suffix

* minor change

* update vs integration

Reviewed By: datumbox

Differential Revision: D31268038

fbshipit-source-id: 90fd5c04da06fb219df4af5ca10cea8be043d83e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cmake_windows_gpu job fails

4 participants