Skip to content

Conversation

mszhanyi
Copy link
Contributor

@mszhanyi mszhanyi commented Apr 16, 2021

Since we're using specific VS, we don't need to specify VC version.
In fact, the VC version is not used in CI now.

Why I make this change now?
I'm writing a robot to update the vs_install.ps1 (#56261) every 2 weeks.
It will submit a PR to check if the latest VS is compatible with PyTorch automatically.

@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Apr 16, 2021

💊 CI failures summary and remediations

As of commit c5303f8 (more details on the Dr. CI page):


  • 2/2 failures introduced in this PR

🕵️ 2 new failures recognized by patterns

The following CI failures do not appear to be due to upstream breakages:

See CircleCI build pytorch_linux_xenial_py3_6_gcc5_4_build (1/2)

Step: "(Optional) Merge target branch" (full log | diagnosis details | 🔁 rerun)

Automatic merge failed; fix conflicts and then commit the result.
CONFLICT (add/add): Merge conflict in .github/workflows/auto_label.yml
Auto-merging .github/workflows/auto_label.yml
CONFLICT (add/add): Merge conflict in .github/workflows/add_annotations.yml
Auto-merging .github/workflows/add_annotations.yml
CONFLICT (add/add): Merge conflict in .circleci/verbatim-sources/job-specs/pytorch-job-specs.yml
Auto-merging .circleci/verbatim-sources/job-specs/pytorch-job-specs.yml
CONFLICT (add/add): Merge conflict in .circleci/config.yml
Auto-merging .circleci/config.yml
CONFLICT (add/add): Merge conflict in .circleci/cimodel/data/windows_build_definitions.py
Auto-merging .circleci/cimodel/data/windows_build_definitions.py
Automatic merge failed; fix conflicts and then commit the result.


Exited with code exit status 1

See CircleCI build pytorch_xla_linux_bionic_py3_6_clang9_build (2/2)

Step: "(Optional) Merge target branch" (full log | diagnosis details | 🔁 rerun)

Automatic merge failed; fix conflicts and then commit the result.
CONFLICT (add/add): Merge conflict in .github/workflows/auto_label.yml
Auto-merging .github/workflows/auto_label.yml
CONFLICT (add/add): Merge conflict in .github/workflows/add_annotations.yml
Auto-merging .github/workflows/add_annotations.yml
CONFLICT (add/add): Merge conflict in .circleci/verbatim-sources/job-specs/pytorch-job-specs.yml
Auto-merging .circleci/verbatim-sources/job-specs/pytorch-job-specs.yml
CONFLICT (add/add): Merge conflict in .circleci/config.yml
Auto-merging .circleci/config.yml
CONFLICT (add/add): Merge conflict in .circleci/cimodel/data/windows_build_definitions.py
Auto-merging .circleci/cimodel/data/windows_build_definitions.py
Automatic merge failed; fix conflicts and then commit the result.


Exited with code exit status 1


This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions to the (internal) Dr. CI Users group.

@mszhanyi mszhanyi marked this pull request as draft April 16, 2021 04:32
@mszhanyi mszhanyi marked this pull request as ready for review April 19, 2021 03:08
@mszhanyi mszhanyi changed the title [Testing] verification, the code is useless Remove useless code Apr 19, 2021
@mszhanyi mszhanyi requested review from malfet and peterjc123 April 19, 2021 03:40
Copy link
Collaborator

@peterjc123 peterjc123 left a comment

Choose a reason for hiding this comment

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

I'm fine with this PR. But what about our users? Do you expect them to downgrade VS as well? Since most issues are caused by the upgrade of STL, maybe making it a submodule of PyTorch seems a good idea. What do you think, @malfet @ezyang ?

@ezyang
Copy link
Contributor

ezyang commented Apr 19, 2021

I think it's reasonable to say that most average Windows users will just be incapable of building PyTorch from source and will use our binaries. Requiring a specific MSVC version (and saying you get the keep the pieces if you try another one) seems reasonable.

@facebook-github-bot
Copy link
Contributor

@ezyang has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@ezyang merged this pull request in a14178e.

facebook-github-bot pushed a commit that referenced this pull request May 7, 2021
Summary:
I accidentally reverted #56230 in #56128 when resolving conflicts.. This PR relands #56230

CC mszhanyi

Pull Request resolved: #57107

Reviewed By: astaff

Differential Revision: D28096003

Pulled By: seemethere

fbshipit-source-id: ea616d6b5cb0b04841d2f4cc30bd130ade4a364c
krshrimali pushed a commit to krshrimali/pytorch that referenced this pull request May 19, 2021
Summary:
Since we're using specific VS, we don't need to specify VC version.
In fact, the VC version is not used in CI now.

Why I make this change now?
I'm writing a robot to update the vs_install.ps1 (pytorch#56261) every 2 weeks.
It will submit a PR to check if the latest VS is compatible with PyTorch automatically.

Pull Request resolved: pytorch#56230

Reviewed By: bdhirsh

Differential Revision: D27856647

Pulled By: ezyang

fbshipit-source-id: b46f2bdf35ab5841fded470e23bbf7a01d5f60f4
krshrimali pushed a commit to krshrimali/pytorch that referenced this pull request May 19, 2021
…7107)

Summary:
I accidentally reverted pytorch#56230 in pytorch#56128 when resolving conflicts.. This PR relands pytorch#56230

CC mszhanyi

Pull Request resolved: pytorch#57107

Reviewed By: astaff

Differential Revision: D28096003

Pulled By: seemethere

fbshipit-source-id: ea616d6b5cb0b04841d2f4cc30bd130ade4a364c
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.

5 participants