Skip to content

Base images with torch 2.6 and 2.7 pip broken #2377

Open
@bzikst

Description

@bzikst

Hi there. I'm testing new compatibility matrix in v0.15.1 and it seems like a problem with pip in new images.

At least with
r8.im/cog-base:cuda12.6-python3.12-torch2.6.0
r8.im/cog-base:cuda12.6-python3.12-torch2.7.0

Error

 > [stage-1  4/34] RUN --mount=type=cache,target=/root/.cache/pip pip install --no-cache-dir /tmp/cog-0.15.1-py3-none-any.whl 'pydantic>=1.9,<3':
0.423 Traceback (most recent call last):
0.423   File "/root/.pyenv/versions/3.12.10/bin/pip", line 5, in <module>
0.423     from pip._internal.cli.main import main
0.423 ModuleNotFoundError: No module named 'pip'

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