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

Allow building windows wheel from CI #95

Merged
merged 7 commits into from
Dec 7, 2020

Conversation

diego-plan9
Copy link
Member

Related issues

#12

Description

Add a new job to the wheels stage that uses cibuildwheel to create Windows wheels:

  • the wheels use torch+cpu from the torch wheel repo. It seems the torch Windows wheels are not uploaded to pypi systematically, and some errors were encountered using the ones that were available (1.7.0).
  • the job uses the x64-specific release of OpenBLAS. It has the advantage of avoiding compilation (at the expense of hard-coding some paths as environment variables and a tweak to FindTorch.cmake)

Please note this is still experimental, and no Windows wheels will be published yet.

Details

The wheel do not included the .dll dependencies, as cibuildwheel does not "repair" the wheels in the same way as Linux/OSX. This will be fixed in future iterations - in the meantime, the building of wheels have been left opt-in with a different branch name (release/win- instead of just release/).

More information: pypa/cibuildwheel#459

@diego-plan9 diego-plan9 merged commit f77bc27 into IBM:master Dec 7, 2020
@diego-plan9 diego-plan9 deleted the feature/windows-wheel branch December 7, 2020 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants