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

Switch from m3gnet to matgl. #9

Open
hongyi-zhao opened this issue Aug 27, 2024 · 4 comments
Open

Switch from m3gnet to matgl. #9

hongyi-zhao opened this issue Aug 27, 2024 · 4 comments

Comments

@hongyi-zhao
Copy link

hongyi-zhao commented Aug 27, 2024

M3gnet is used by this package currently, but as noted here:

NOTE: A new implementation based on the Deep Graph Library and PyTorch called the Materials Graph Library (MatGL) has replaced this implementation. This repository has been archived and will no longer be maintained. It will be kept purely as a reference implementation. Users are recommended to use matgl instead.

So, it seems that we should use matgl instead.

Regards,
Zhao

@hongyi-zhao hongyi-zhao changed the title Switch from m3gnet to matgl. Switch from m3gnet to matgl. Aug 27, 2024
@xiaohang007
Copy link
Owner

m3gnet is used by this package currently, but as noted here:

NOTE: A new implementation based on the Deep Graph Library and PyTorch called the Materials Graph Library (MatGL) has replaced this implementation. This repository has been archived and will no longer be maintained. It will be kept purely as a reference implementation. Users are recommended to use matgl instead.

So, it seems that we should use matgl instead.

Regards, Zhao

Thank you for your suggestion. I have conducted an internal test on SLICES with matgl, and it turned out to be around 10x slower than the CHGNet implementation in https://github.com/CederGroupHub/chgnet/tree/main/chgnet when running the benchmark of MP20, which is pretty weird.

@xiaohang007
Copy link
Owner

m3gnet is used by this package currently, but as noted here:

NOTE: A new implementation based on the Deep Graph Library and PyTorch called the Materials Graph Library (MatGL) has replaced this implementation. This repository has been archived and will no longer be maintained. It will be kept purely as a reference implementation. Users are recommended to use matgl instead.

So, it seems that we should use matgl instead.

Regards, Zhao

Do you think it is possible to integrate SLICES encoding and decoding in pymatgen, similar to the SMILES encoding and decoding functions in RDKIT?

@hongyi-zhao
Copy link
Author

hongyi-zhao commented Aug 29, 2024

Thank you for your suggestion. I have conducted an internal test on SLICES with matgl, and it turned out to be around 10x slower than the CHGNet implementation in https://github.com/CederGroupHub/chgnet/tree/main/chgnet when running the benchmark of MP20, which is pretty weird.

Matgl is still under active development. Perhaps you should commit a issue to discuss this problem with the developers in-depth to identify the bottleneck.

Do you think it is possible to integrate SLICES encoding and decoding in pymatgen, similar to the SMILES encoding and decoding functions in RDKIT?

To be frank, I've no idea. But I also think that this is a wonderful idea and should be discussed with the pymatgen's core developer team.

@xiaohang007
Copy link
Owner

Thank you for your suggestion. I have conducted an internal test on SLICES with matgl, and it turned out to be around 10x slower than the CHGNet implementation in https://github.com/CederGroupHub/chgnet/tree/main/chgnet when running the benchmark of MP20, which is pretty weird.

Matgl is still under active development. Perhaps you should commit a issue to discuss this problem with the developers in-depth to identify the bottleneck.

Do you think it is possible to integrate SLICES encoding and decoding in pymatgen, similar to the SMILES encoding and decoding functions in RDKIT?

To be frank, I've no idea. But I also think that this is a wonderful idea and should be discussed with the pymatgen's core developer team.

Thanks a lot. I will commit a issue to discuss this problem with the developers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@hongyi-zhao @xiaohang007 and others