Skip to content

TensorFlow and Pytorch do not provide/recommend conda #147

Description

@alanocallaghan

PyTorch:

NOTE: Conda packages are no longer available. Please use pip instead.

TensorFlow:

Note: Do not install TensorFlow with conda. It may not have the latest stable version. pip is recommended since TensorFlow is only officially released to PyPI.

We should therefore probably change the guidance on conda environments to use pip rather than conda install...

Activity

  1. petebankhead commented on Apr 16, 2025

    @petebankhead
    Member

    Interesting... conda is still the first provided option for PyTorch v2.5.1 here.

    But yes, if we can confirm it works then it looks like we should be going with pip.

  2. alanocallaghan commented on Apr 17, 2025

    @alanocallaghan
    CollaboratorAuthor

    Also this link is broken on the docs and it keeps catching me out (we should also patch this on previous versions of the docs) https://docs.djl.ai/engines/pytorch/pytorch-engine/index.html#supported-pytorch-versions

  3. petebankhead commented on Apr 21, 2025

    @petebankhead
    Member

    Yes, can you make a PR to address these please?

  4. alanocallaghan commented on Apr 21, 2025

    @alanocallaghan
    CollaboratorAuthor

    I will leave this issue open and revisit the pip/conda differences later as PyTorch still pushes conda for 2.5.1 (the most relevant version for us in this release) and I couldn't get a working TensorFlow environment with pip or conda.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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