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

ESCN export II #848

Merged
merged 18 commits into from
Sep 17, 2024
Merged

ESCN export II #848

merged 18 commits into from
Sep 17, 2024

Conversation

rayg1234
Copy link
Collaborator

@rayg1234 rayg1234 commented Sep 12, 2024

This escn model trains and fully compiles/exports. Note: only the forward function is exportable.
To make this model compatible with fairchem and trainable, we wrapped the forward function that accepts the current torch.geometric.Batch inputs and generates the graph on the fly.

Copy link

codecov bot commented Sep 12, 2024

Codecov Report

Attention: Patch coverage is 97.61905% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/fairchem/core/models/escn/escn_exportable.py 96.96% 1 Missing ⚠️
Files with missing lines Coverage Δ
src/fairchem/core/models/escn/so3_exportable.py 85.47% <100.00%> (-0.55%) ⬇️
src/fairchem/core/models/escn/escn_exportable.py 97.77% <96.96%> (-0.25%) ⬇️

... and 1 file with indirect coverage changes

@rayg1234 rayg1234 requested a review from kyonofx September 13, 2024 17:53
@rayg1234 rayg1234 added enhancement New feature or request minor Minor version release labels Sep 13, 2024
@rayg1234 rayg1234 requested a review from misko September 16, 2024 06:16
@rayg1234 rayg1234 marked this pull request as ready for review September 16, 2024 06:25
@rayg1234 rayg1234 changed the title ESCN export and mptraj training ESCN export II Sep 16, 2024
misko
misko previously approved these changes Sep 17, 2024
@rayg1234 rayg1234 enabled auto-merge September 17, 2024 16:54
@misko misko self-requested a review September 17, 2024 18:22
@rayg1234 rayg1234 added this pull request to the merge queue Sep 17, 2024
Merged via the queue into main with commit c660b42 Sep 17, 2024
8 checks passed
@rayg1234 rayg1234 deleted the rgao_train_escn_export_mptraj branch September 17, 2024 20:25
misko pushed a commit that referenced this pull request Jan 17, 2025
* temp fix to train mptraj

* add compile option

* move jd to init

* fix dynamic export

* add value testing for export

* update test

* lint

* update comment

* update forward code

* reraise error

* wrap escn

* revert packages

* format

Former-commit-id: 362482e00920bea5af5bf7fcb9c035bd62966aa6
beomseok-kang pushed a commit to beomseok-kang/fairchem that referenced this pull request Jan 27, 2025
* temp fix to train mptraj

* add compile option

* move jd to init

* fix dynamic export

* add value testing for export

* update test

* lint

* update comment

* update forward code

* reraise error

* wrap escn

* revert packages

* format

Former-commit-id: becd99da79beed9d72e119fcefcc31cf5410131b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minor Minor version release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants