Skip to content

PyTorch Lightning v1.4.1 not compatible with Tensorflow 2.5.0 #8754

@jstremme

Description

@jstremme

🐛 Bug

When attempting to install pytorch-lightning==1.4.1 (the most recent version at the time of writing) and tensorflow==2.5.0 in the same environment, the following conflict arises:

Cannot install packages because package versions have conflicting dependencies. The conflict is caused by:
    - pytorch-lightning 1.4.1 depends on tensorboard!=2.5.0 and >=2.2.0
    - tensorflow 2.5.0 depends on tensorboard~=2.5

To Reproduce

pip install pytorch-lightning==1.4.1
pip install tensorflow==2.5.0

Expected behavior

Successful installation

Environment

  • CUDA:
    • GPU:
    • available: False
    • version: None
  • Packages:
    • numpy: 1.19.5
    • pyTorch_debug: False
    • pyTorch_version: 1.8.1
    • pytorch-lightning: 1.4.1
    • tqdm: 4.59.0
  • System:
    • OS: Darwin
    • architecture:
      • 64bit
    • processor: i386
    • python: 3.8.8
    • version: Darwin Kernel Version 19.6.0: Thu May 6 00:48:39 PDT 2021; root:xnu-6153.141.33~1/RELEASE_X86_64

Additional context

It would be nice to be able to use both packages in the same project, as each has its own benefits. Thanks in advance to anyone who helps resolve this compatibility issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    3rd partyRelated to a 3rd-partybugSomething isn't workinghelp wantedOpen to be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions