Skip to content

Conversation

@AdeeshKolluru
Copy link
Contributor

@AdeeshKolluru AdeeshKolluru commented Apr 9, 2025

Summary

Will include tests with OMat models as in quacc in the next PR.

Checklist

  • Doc strings have been added in the Numpy docstring format.
    Run ruff on your code.
  • Tests have been added for any new functionality or bug fixes.
  • All linting and tests pass.

@cla-bot
Copy link

cla-bot bot commented Apr 9, 2025

We require contributors to sign our Contributor License Agreement (CLA), and we don't have record of your signature. In order for us to review and merge your code, please sign the CLA.

Copy link
Member

@CompRhys CompRhys left a comment

Choose a reason for hiding this comment

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

LGTM, one nit and should remove benezene from tests

@cla-bot cla-bot bot added the cla-signed Contributor license agreement signed label Apr 10, 2025
@CompRhys CompRhys requested a review from orionarcher April 10, 2025 23:10
@AdeeshKolluru AdeeshKolluru changed the title FairChemModel PBC handling FairChemModel Updates: PBC handling, test on OMat24 pre-trained model Apr 11, 2025
@AdeeshKolluru AdeeshKolluru requested a review from CompRhys April 11, 2025 15:56
@CompRhys CompRhys linked an issue Apr 11, 2025 that may be closed by this pull request
Copy link
Collaborator

@orionarcher orionarcher left a comment

Choose a reason for hiding this comment

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

One comment on testing, LGTM other than that, thanks @AdeeshKolluru!

Comment on lines 86 to 92
os.environ.get("HF_TOKEN") is None,
reason="Issues in graph construction of older models",
)(
make_validate_model_outputs_test(
model_fixture_name="fairchem_model",
model_fixture_name="fairchem_model_pbc",
)
)
Copy link
Collaborator

Choose a reason for hiding this comment

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

From CI:

tests/models/test_fairchem.py .............s [100%]

It looks like this is being skipped in practice, could you modify the setup to get it running? It's a valuable check to have.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok, I've added the HF_TOKEN to the secrets and this test should work now

@CompRhys CompRhys merged commit 66c5feb into main Apr 11, 2025
83 of 84 checks passed
@CompRhys CompRhys deleted the fairchem_pbc_fixes branch April 11, 2025 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed Contributor license agreement signed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support non-PBC FairChem models

3 participants