Important Notes
v0.2.2 has a breaking change in model initialization from scratch i.e. `chgnet = CHGNet()`, to address 79.
The developer team is running another round of pretraining and the updated weights will be released in the next release.
For now, `chgnet = CHGNet.load()` loads same pretrained model as previous releases.
If user wants to load their own fine-tuned weights trained from previous releases, please do
`chgnet = CHGNet.from_file("your_weights_path", mlp_out_bias=True)`
What's Changed
- Run `cibuildwheel` on Apple silicon to publish pre-compiled macOS ARM binaries by janosh in https://github.com/CederGroupHub/chgnet/pull/78
- always report cov by lbluque in https://github.com/CederGroupHub/chgnet/pull/77
- 1.Dropped torch.det for MPS compatibility 2.better testing for rotation/supercell invariance by BowenD-UCB in [`4cee9e6`](https://github.com/CederGroupHub/chgnet/commit/4cee9e6aaa8fbe27a6ab9fd583d797e234cd3280)
- Added function to output site energies by BowenD-UCB in [`77845dc`](https://github.com/CederGroupHub/chgnet/commit/77845dc85ca7c5f2411a231eb8ad446a03e5f805)
- Added examples for parsing DFT by BowenD-UCB in [`2ebc57f`](https://github.com/CederGroupHub/chgnet/commit/2ebc57f92613803ee11fc7f9ce57ad7212a85e14)
- Fixed bug in 79, while not breaking loading pretrained weights by BowenD-UCB in [`1a558ea`](https://github.com/CederGroupHub/chgnet/commit/1a558ea4b96eac747fb27017bddcba161b7b8707)
- CHGNet now supports Apple MPS:tada:, pytorch-MPS has been tested with torch-2.0.1 by BowenD-UCB in [`516c422`](https://github.com/CederGroupHub/chgnet/commit/516c422f3bb8ee4d0dd75459ef4fa4ccd61baef0)
- added num_isolated_atoms property by BowenD-UCB in [`20ebc58`](https://github.com/CederGroupHub/chgnet/commit/20ebc587a806c93c289fc88be9bc4331dcd9dd05)
- allow specifying decay fraction in CosineAnnealing LR scheduler by BowenD-UCB in [`dbb0305`](https://github.com/CederGroupHub/chgnet/commit/dbb030571b85ad1d254adcd728ac2ebf9126c058)
- Moved all torch.int64 to torch.int32 for MPS support by BowenD-UCB in [`828478a`](https://github.com/CederGroupHub/chgnet/commit/828478a2645c90c99436ef8cc1c99ca2f470d7c3)
- added notes to avoid Colab bug by BowenD-UCB in [`a760ec8`](https://github.com/CederGroupHub/chgnet/commit/a760ec87fc0362de1caba7769a4029e6e5ece903)
- added installation from source by BowenD-UCB in [`030d897`](https://github.com/CederGroupHub/chgnet/commit/030d897b164c88c7a7a5778d0bb239ce56746e82)
- removed print message by BowenD-UCB in [`38a5cc4`](https://github.com/CederGroupHub/chgnet/commit/38a5cc44b001a1c440fa8eda990d2f28f04b7dc9)
- minor fix by BowenD-UCB in [`465f833`](https://github.com/CederGroupHub/chgnet/commit/465f833153b059d4f383f0b2bbf864b0cc3af729)
- fixed test by BowenD-UCB in [`d5ba24b`](https://github.com/CederGroupHub/chgnet/commit/d5ba24b9f265954bfb712a42e1795543b49af27e)
- loosen numerical tolerance by BowenD-UCB in [`b59d301`](https://github.com/CederGroupHub/chgnet/commit/b59d3013e62886b61de4946f384f5cf34c250561)
- added gMLP_norm option if gMLP is used at read_out by BowenD-UCB in [`195d48c`](https://github.com/CederGroupHub/chgnet/commit/195d48c62d14dcd3aafc4808d9f3b071bcec3222)
**Full Changelog**: https://github.com/CederGroupHub/chgnet/compare/v0.2.1...v0.2.2