Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating dep versions for bh2 install #522

Merged
merged 1 commit into from
Jul 31, 2024
Merged

Conversation

Andrewq11
Copy link
Collaborator

Changelogs

  • Pinning version of numpy to the latest version < 2.0. graphium uses the old numpy API and must be below version 2.0 for now.
  • Unpinning the version for the cuda-version package. This allows for the CUDA-compatible version of pytorch to be installed
  • Pinning the version of rdkit to a recent version which contains all of the required files (imports) for graphium_cpp

Checklist:

  • Was this PR discussed in an issue? It is recommended to first discuss a new feature into a GitHub issue before opening a PR.
  • Add tests to cover the fixed bug(s) or the new introduced feature(s) (if appropriate).
  • Update the API documentation is a new function is added, or an existing one is deleted.
  • Write concise and explanatory changelogs above.
  • If possible, assign one of the following labels to the PR: feature, fix or test (or ask a maintainer to do it for you).

discussion related to that PR

@Andrewq11 Andrewq11 added the fix PR that fixes an issue label Jul 31, 2024
@Andrewq11 Andrewq11 self-assigned this Jul 31, 2024
Copy link
Collaborator

@DomInvivo DomInvivo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a comment about rdkit

@@ -41,7 +41,7 @@ dependencies:
- pytorch_scatter >=2.0

# chemistry
- rdkit
- rdkit == 2024.03.4
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?? And why not <= 2024.03.3?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The latest version of rdkit was not being installed with the required files that are imported by graphium_cpp. So, I pinned it to a very recent version. We could do <= 2024.03.4, but can we confirm that all earlier versions of rdkit contain the required files needed by graphium_cpp?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me also clean my conda cache and confirm that it wasn't just a local cache issue with the latest version of rdkit

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed that the latest version of rdkit on conda does not include the required files for graphium_cpp

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah this was something that @ndickson-nvidia mentioned as well.

I will merge the PR

@DomInvivo DomInvivo merged commit 41490a0 into graphium_3.0 Jul 31, 2024
0 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix PR that fixes an issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants