Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

[PEP508] Adding gpu or cuda markers in PEP 508 #68

@Froskekongen

Description

@Froskekongen

This is a use case related to conditional installs of versions of packages (e.g. tensorflow or pytorch) based on the presence of a cuda installation on the system.

The suggestion is to add a cuda_installed marker as part of the Environment Markers. This would enable systems like pipenv to install tensorflow on cpu systems and tensorflow_gpu on systems where cuda is installed.

See these issues for more details: pipenv-issue, peps-issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions