question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feedback for Universal Wheel Package (`cupy-wheel`)

See original GitHub issue

CuPy v10.4.0 (#6012) added an experimental meta package cupy-wheel on PyPI. Instead of specifying an individual wheel package name, users can now install CuPy with the single command line pip install cupy-wheel; the cupy-wheel meta-package probes the CUDA version installed in the users’ environment, and automatically picks and installs the real CuPy wheel package (e.g., cupy-cuda115).

It is currently marked experimental. Towards the v11 final release, we are going to stabilize this feature.

Major TODOs remaining are:

  • Add documentation for downstream packages to use cupy-wheel
  • Disable caching cupy-wheel package by pip to enforce running setup.py everytime
  • Add long_description
  • Automate the release process of the meta package

If you find difficulties using cupy-wheel, or have any comments or suggestions on cupy-wheel package, please feel free to post them here.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
leofangcommented, Jul 5, 2022

I see, thanks for reminder @kmaehashi. I had forgotten about it. I think the 2nd situation is less common, so I guess a warning like that should be sufficient.

1reaction
kmaehashicommented, Jul 4, 2022

Thanks for testing, Leo!

  1. CuPy from conda is already installed, and the user attempts to install cupy-wheel:

    • In this case, this check is legit and will raise an error as expected (the error message can be improved, though)

👍

  1. cupy-wheel is already installed, and the user attempts to install cupy from Conda:

    • In this case, there is not yet a mechanism to avoid this silliness:

I think it’s not possible to prevent this, but import cupy should warn in this case.

https://github.com/cupy/cupy/blob/3fedbb957b79782089868540065ca24b088f29c6/cupy/_environment.py#L402

Perhaps cupy-wheel should also create a cupy empty package to keep the name occupied?

This will confuse pip (e.g., in this case pip install -U cupy will try to download cupy tarball from PyPI and build from source), so I think it’s better to avoid it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SP Universal diamond cup wheel (flat) - Hilti
Premium diamond cup wheel for angle grinders – for faster grinding of concrete, screed and natural stone. Tool type: Cordless angle grinder, Corded...
Read more >
Customer reviews: Tevlaphee Universal Wheel Lock Heavy ...
Find helpful customer reviews and review ratings for Tevlaphee Universal Wheel Lock Heavy Duty Security Trailer Wheel Lock Tires Anti Theft for Car...
Read more >
What Are Python Wheels and Why Should You Care?
Wheels are a component of the Python ecosystem that helps to make package installs ... This is a universal wheel that will install...
Read more >
GUNIWHEEL™ | Universal Wheel Solutions
GUNIWHEEL™ patented universal fitting roller shop wheels designed to safely mount and move vehicles with missing or damaged tires & wheels.
Read more >
GUNIWHEEL Universal bolt pattern wheel. Fits most cars and ...
GUNIWHEEL™ 45 Universal bolt pattern wheel. for most cars and light SUV vehicles. It is intended for safe mounting and ... Be the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found