Skip to content

Tensorflow GPU points to wrong package #294

@JimothyJohn

Description

@JimothyJohn

Problem

Working on a Tensorflow 1.15 project and noticed that the builder is pulling from "tensorflow_gpu" instead of "tensorflow-gpu", leading to less versions being available. Relevant output:

#15 19.35 Collecting tensorflow_gpu==1.15.0
#15 19.53   Could not find a version that satisfies the requirement tensorflow_gpu==1.15.0 (from versions: 0.12.1, 1.0.0, 1.0.1, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.4.0, 1.4.1, 1.5.0, 1.5.1, 1.6.0, 1.7.0, 1.7.1, 1.8.0, 1.9.0, 1.10.0, 1.10.1, 1.11.0, 1.12.0, 1.12.2, 1.12.3, 1.13.1, 1.13.2, 1.14.0, 2.0.0a0, 2.0.0b0, 2.0.0b1)
#15 19.90 No matching distribution found for tensorflow_gpu==1.15.0

cog.yaml configuration section:

  python_packages:
    - "tensorflow==1.15.0"

Suggestion

Change the "_" to "-" in pkg/config/tf_compatability_matrix.json and pkg/config/config_test.go

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededtype/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions