Skip to content

run-depend on __cuda for cuda variants #174

@wolfv

Description

@wolfv

So the cudatoolkit package only has a run_constrained on __cuda. That means, users without __cuda (e.g. an intel laptop without GPU) are currently still getting the CUDA-enabled package.
The CUDA-enabled package will work fine even with no GPU avaiable, but it will download roughly 0.5 - 1Gb of stuff that's not needed or useful in the CPU-only situation.

We discussed this briefly at the last conda-forge core meeting, and there are two options:

  • make cudatoolkit run-depend (not constrain) on __cuda
  • make the leaf packages like tensorflow depend on __cuda for the GPU variant

We decided to go with the latter. So I think it would be good to introduce a run dependency on __cuda (no version specifiers necessary) in a future build of tensorflow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions