GithubHelp home page GithubHelp logo

Comments (5)

jakirkham avatar jakirkham commented on June 26, 2024

I'm not sure whether a default makes sense in this case. Can see arguments either way. In one sense, it might make sense to make the CPU package default as people may not have access to GPUs. OTOH the bulk of people using this packages do have GPUs and intend to use it with GPUs; so, picking a default that hinders the bulk of users might be a poor choice.

More generally I'm less clear on what the best practice should be as far as a default for an arbitrary package that supports CPU and GPU use cases. Some packages will detect if a GPU is missing and run without it (even if the GPU components are built). In these cases there isn't a need to have a CPU package (unless users want a smaller install size). Other packages could be more performant when a GPU is available, but assuming a GPU is always around may be problematic.

TL;DR I think we need more time to build up our intuition about how different software handles CPU and GPU support and what users installing these packages expect.

from ucx-split-feedstock.

isuruf avatar isuruf commented on June 26, 2024

Without a default, conda solver might switch between CPU and GPU builds randomly.

from ucx-split-feedstock.

jakirkham avatar jakirkham commented on June 26, 2024

The recommendation we have made to users is to install with a specific selection either CPU or GPU. With this selection made, it is part of the environment spec. So it will not switch.

It's true users may make the mistake of not including this selection and we may need to explain this to them. I'm more comfortable doing that than making a choice without sufficient information here.

from ucx-split-feedstock.

isuruf avatar isuruf commented on June 26, 2024

Adding run_constrained on __cuda for GPU builds will fix the issue of GPU build being installed when there's no GPU.

from ucx-split-feedstock.

jakirkham avatar jakirkham commented on June 26, 2024

That is a separate discussion IMO. Though I think that should be added to cudatoolkit, which all Conda GPU packages (even outside of conda-forge) are depending on. ( conda/conda#9115 )

from ucx-split-feedstock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.