-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
cupy v11.1.0 #179
cupy v11.1.0 #179
Conversation
…nda-forge-pinning 2022.08.31.16.57.19
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
Hi @kmaehashi @emcastillo Any chance the errors in the Win + CUDA 11.2 CIs look familiar to you? |
The first error seems here: https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=561424&view=logs&j=84cf05f7-5267-5f38-137b-63208e75d05b&t=7c51bcc0-b6e0-5e4f-1968-7bb191e490bd&l=2192 I haven't seen this before, but maybe Visual Studio version used in the build bumped recently? |
Potentially related ( conda-forge/vc-feedstock#48 ) |
@jakirkham I think we can try downgrading the vs version, but how to do it in |
Maybe this is helpful? |
Ahh ok so during rerendering the bot changed the compiler from There's still one problem remaining, though: Why does CUDA 11.2 hate vc2019, but not 11.1 and earlier (including 10.2)? |
It seems the real culprit is conda-forge/conda-forge-pinning-feedstock#3167, not the vc2019 update (in the vc-feedstock). |
@kmaehashi @jakirkham thank you for your help, I was clueless! I see two potential solutions:
Any preference which we should try first? |
I've used vs2019 + CUDA 11.2 for a long time in the faiss feedstock. Based on the traceback it indeed looks like it might have something to do with the update of the redistributable (although I'd have said that the chance for that should have been really low). If you want, you can check if using Also interesting: the traceback contains
CC @isuruf |
Does the Windows image also have a copy of the compiler toolchain? |
Seems so. That path definitely looks like it's not from conda. |
@conda-forge-admin, please rerender |
Hi! This is the friendly automated conda-forge-webservice. I tried to rerender for you, but it looks like there was nothing to do. This message was generated by GitHub actions workflow run https://github.com/conda-forge/cupy-feedstock/actions/runs/3003678551. |
@conda-forge-admin, please rerender |
…nda-forge-pinning 2022.09.06.18.44.04
@kmaehashi I have some clues, please help me verify my theory. CuPy relies on distutils, which records the host compiler information that is used to build Python. Conda-forge's Python was built with vs2017, and for some reason the version If my theory is correct, rolling back to vs2017 (as done in commit 464c701) would fix it. |
Rolling back system-wide compiler to vs2017 sounds good to me. To my understanding, setuptools/distutils discovers Visual Studio only from system-wide installation unless |
Thanks for pointer, @kmaehashi! I see it's documented here: https://setuptools.pypa.io/en/latest/deprecated/distutils/apiref.html?highlight=DISTUTILS_USE_SDK#module-distutils.msvccompiler. To be clear we should not use system compiler on conda-forge. However, in this case it's leaking from python-feedstock, leaving us no choice but to follow because
I will open an issue in python-feedstock to track this (though I doubt it's fixable there), but for now we'll have to live with it. |
That's a general recommendation because most people have no idea/capabilities to track the impact the compiler has on the ABI of certain packages. But VS2015-VS2022 is compatible, and conda-forge is very careful about these things.
I don't understand what you mean by system compilers. Conda-forge does its own setup for the Microsoft compilers, and you should use that (e.g. vs2017 or vs2019; if you add that in the conda_build_config.yaml and rerender, it'll get picked up). We only cannot redistribute it due to license reasons. |
@h-vetinari Please see #179 (comment) as a response to your finding in #179 (comment). Pay attention to the version number
Yup it is done in the current PR. |
There are different components involved here, the compiler and the redistributable (and so on). Both should be compatible with each other. Microsoft has kept compatibility in the whole 14.x line, so I think it's a stretch for me to imagine that Perhaps @isuruf knows what's happening... |
Yeah, and thanks for the compatibility note, I wasn't aware of the msvc support range. Anyway, we're good with vs2017. We can discuss the remaining puzzles
either here or elsewhere. |
|
It is very likely that the current package version for this feedstock is out of date.
Checklist before merging this PR:
license_file
is packagedInformation about this PR:
@conda-forge-admin,
please add bot automerge
in the title and merge the resulting PR. This command will add our bot automerge feature to your feedstock.bot-rerun
label to this PR. The bot will close this PR and schedule another one. If you do not have permissions to add this label, you can use the phrase@conda-forge-admin, please rerun bot
in a PR comment to have theconda-forge-admin
add it for you.Dependency Analysis
We couldn't run dependency analysis due to an internal error in the bot. :( Help is very welcome!
This PR was created by the regro-cf-autotick-bot. The regro-cf-autotick-bot is a service to automatically track the dependency graph, migrate packages, and propose package version updates for conda-forge. Feel free to drop us a line if there are any issues! This PR was generated by https://github.com/regro/autotick-bot/actions/runs/2968944341, please use this URL for debugging.