Skip to content

pyg_lib installation fails inside Docker container due to incompatible torch / torch.cuda versions #8

@hknewton

Description

@hknewton

Hi,

Thanks for the great work on ptm-mamba! We’re excited to reproduce and build on this work.

We encountered an issue when trying to install pyg_lib inside the official Docker container provided for ptm-mamba. The installation fails due to a mismatch between the versions of torch and torch.cuda bundled in the container and the versions supported by pyg_lib.

  1. Details
    Docker container: listed in the repo

PyTorch version: torch==2.2

torch.version.cuda: 12.3
Installed via pip with instructions provided in repo.

  1. Error
    The error message indicates that there is no compatible build of pyg_lib for torch==2.2 with torch.cuda==12.3:

ERROR: Could not find a version that satisfies the requirement pyg_lib
ERROR: No matching distribution found for pyg_lib

This seems to be due to the fact that pyg_lib currently provides prebuilt wheels only up to CUDA 11.8 or 12.1 for specific PyTorch versions. See: https://github.com/pyg-team/pyg-lib#installation

  1. Our Suggested Solutions
    Please provide a Docker container variant with torch and torch.cuda versions compatible with pyg_lib (e.g., torch==2.1, torch.cuda==11.8)

Or, please document the incompatibility and suggest a workaround or base image for those needing to use PyG-based components

Please let us know if there is a recommended approach to install pyg_lib with this container or if we should downgrade torch in our own forked environment.

Thanks again for your work on this project!

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