Skip to content

[BUG]: Not compatible with the latest Ray/Pytorch-Lightning versions #47

@sunhwan

Description

@sunhwan

Describe the bug
If the package is installed by following the instruction on README.md, the main CLI script fails to run due to incompatibility to ray and pytorch-lightning version as of Apr. 2023. I suspect there has been a major version change in both Ray and Pytorch-lightning.

I fixed this by pinning pytorch-lightning and ray narrowly in the environment.yml file.

name: molpal

channels:
  - nvidia
  - pytorch
  - conda-forge
  - defaults

dependencies:
  - python=3.9
  - pytorch=1.13.1
  - pytorch-cuda=11.7
  - pip
  - pip:
    - configargparse
    - h5py
    - numpy
    - ray >= 1.11,<2.0
    - ray[tune]
    - rdkit
    - pytorch-lightning == 1.5.10
    - scikit-learn
    - tensorflow
    - tensorflow-addons
    - tqdm

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions