Skip to content
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

Overwrite the existing dlls while unzipping #4394

Merged
merged 4 commits into from
Sep 13, 2021
Merged

Overwrite the existing dlls while unzipping #4394

merged 4 commits into from
Sep 13, 2021

Conversation

mszhanyi
Copy link
Contributor

@mszhanyi mszhanyi commented Sep 13, 2021

In vision, the build & test are running on Windows GPU machines.
So far, The default cuda driver is 10.1 in circleCI image.
So there's alreay gpu_driver_dlls, we should allow the old dlls could be overwrited by the downloaded dlls(10.2).

Else, there's the error
image
https://app.circleci.com/pipelines/github/pytorch/vision/10311/workflows/c0f4755c-4254-40cd-ad67-418617a7817f/jobs/781019

cc @seemethere

@mszhanyi mszhanyi marked this pull request as draft September 13, 2021 05:29
@mszhanyi mszhanyi changed the title if there's gpu driver dlls, overwrite it Overwrite the existing dlls while unzipping Sep 13, 2021
@mszhanyi mszhanyi marked this pull request as ready for review September 13, 2021 10:52
@mszhanyi
Copy link
Contributor Author

mszhanyi commented Sep 13, 2021

@malfet @NicolasHug
It's the first step to enable CUDA tests in vision.
It'd better to be reviewed soon that I could submit the following PRs as soon as possible .

There're only 3 mac workflows failure. I think it's a known issue and has nothing with this PR

@mszhanyi
Copy link
Contributor Author

mszhanyi commented Sep 13, 2021

For 10.2, if the dlls are not overwrited.
the cuda driver version will be smaller than runtime version
image

As mentioned in #4058 (comment)
It caused No CUDA Runtime is found,... when running python setup.py install with cuda 10.2.

I'll make the copying logic only for 10.2 in another PR.

@malfet malfet merged commit fe3118c into pytorch:main Sep 13, 2021
facebook-github-bot pushed a commit that referenced this pull request Sep 30, 2021
Summary:
* if there's dll, overwrite it

* temp change

* revert last

Reviewed By: datumbox

Differential Revision: D31268060

fbshipit-source-id: 6e70e867268ce0786c198aec23ce4ec99b9c0014

Co-authored-by: Nikita Shulga <nshulga@fb.com>
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.

4 participants