SLICES icon indicating copy to clipboard operation
SLICES copied to clipboard

Switch from `m3gnet` to `matgl`.

Open hongyi-zhao opened this issue 1 year ago • 4 comments

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 avatar Aug 27 '24 03:08 hongyi-zhao

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 avatar Aug 29 '24 10:08 xiaohang007

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?

xiaohang007 avatar Aug 29 '24 10:08 xiaohang007

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.

hongyi-zhao avatar Aug 29 '24 11:08 hongyi-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.

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.

xiaohang007 avatar Aug 29 '24 11:08 xiaohang007