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

cmake workflows fail on Windows #6794

Closed
pmeier opened this issue Oct 18, 2022 · 3 comments
Closed

cmake workflows fail on Windows #6794

pmeier opened this issue Oct 18, 2022 · 3 comments

Comments

@pmeier
Copy link
Contributor

pmeier commented Oct 18, 2022

Since yesterday or more specifically since pytorch=1.14.0.dev20221017 the CMake workflows are failing on Windows. For example: https://app.circleci.com/pipelines/github/pytorch/vision/21251/workflows/cb54fe99-650c-4084-9717-639ee6b20032/jobs/1724374

The command that is failing is the installation of PyTorch core:

$ conda install -yq pytorch=1.14.0.dev20221018 pytorch-mutex=1.0=cpu numpy -c nvidia -c pytorch-nightly
[...]
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:

Specifications:

  - pytorch=1.14.0.dev20221018 -> python[version='>=3.10,<3.11.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']

Your python: python=3.7

If I interpret this right, it seems that the nightly requires Python>=3.8 although we are running on 3.7.

The day before everything worked fine:

$ conda install -yq pytorch=1.14.0.dev20221016 pytorch-mutex=1.0=cpu numpy -c nvidia -c pytorch-nightly
[...]
## Package Plan ##

  environment location: C:\tools\miniconda3

  added / updated specs:
    - numpy
    - pytorch-mutex==1.0=cpu
    - pytorch=1.14.0.dev20221016


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    blas-1.0                   |              mkl           6 KB
    intel-openmp-2021.4.0      |    haa95532_3556         2.2 MB
    mkl-2021.4.0               |     haa95532_640       114.9 MB
    mkl-service-2.4.0          |   py37h2bbff1b_0          49 KB
    mkl_fft-1.3.1              |   py37h277e83a_0         135 KB
    mkl_random-1.2.2           |   py37hf11a4ad_0         216 KB
    numpy-1.21.5               |   py37h7a0a035_3          25 KB
    numpy-base-1.21.5          |   py37hca35cd5_3         4.4 MB
    pytorch-1.14.0.dev20221016 |      py3.7_cpu_0       139.1 MB  pytorch-nightly
    pytorch-mutex-1.0          |              cpu           3 KB  pytorch-nightly
    typing_extensions-4.3.0    |   py37haa95532_0          42 KB
    ------------------------------------------------------------
                                           Total:       261.0 MB

Given that this only happens on Windows and couldn't find any commit that introduces the 3.8 requirement in core, this seems like a bug to me.

cc @seemethere

@YosuaMichael
Copy link
Contributor

@pmeier I just ran CI Test on #5009 and it seems to pass the cmake for windows now.

@pmeier
Copy link
Contributor Author

pmeier commented Oct 19, 2022

Let's wait for the first PR to be merged into main that also passes. If that is the case, we can close.

@pmeier
Copy link
Contributor Author

pmeier commented Oct 20, 2022

All good on 7a62a54.

@pmeier pmeier closed this as completed Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants