Releases: CederGroupHub/chgnet
v0.4.2: Bug fix for r2SCAN model
v0.4.1: Add r2SCAN model support and update documentation
What's New in v0.4.1
🚀 New Features
- r2SCAN Model Support: Added support for loading r2SCAN transfer learning models via
CHGNet.load('r2scan') - Enhanced Documentation: Updated README with detailed pretrained models section
🔧 Improvements
- Model Loading: CHGNet.load() now supports:
CHGNet.load()- Latest MPtrj-pretrained CHGNet (0.3.0)CHGNet.load('0.2.0')- Deprecated MPtrj version for backward compatibilityCHGNet.load('r2scan')- R2SCAN level model transfer learned from MP-R2SCAN dataset
- CI Improvements: Fixed wandb hostname issues in GitHub Actions
- Documentation: Added code examples and references to MatGL/MatPES models
📚 Documentation Updates
- Added comprehensive pretrained models section to README
- Included usage examples for different model versions
- Added reference to MatGL/MatPES models for non-ground-state calculations
- r2SCAN Model Details: See r2SCAN model documentation for detailed information about the R2SCAN transfer learning model
🐛 Bug Fixes
- Fixed wandb hostname length issues in CI environment
- Improved error handling in model loading functions
- Fixed r2SCAN model is_intensive attribute: Set to True for correct behavior
📖 r2SCAN Model Information
The r2SCAN model is a transfer learning model fine-tuned from CHGNet v0.3.0 on the MP-r2SCAN dataset. For detailed information about model parameters, training configuration, and performance metrics, please refer to the r2SCAN model documentation.
v0.4.0
What's Changed
💥 Breaking Changes
🐛 Bug Fixes
- Fix
KeyError: 'decay_fraction'andTypeError: Object of type int64 is not JSON serializableby @janosh in #169 - Fix missing
create_graph.cin source distribution by @DanielYang59 in #201 - Remove reverse readline, test again NP1 and recover NumPy 1 dependency support by @DanielYang59 in #203
🛠 Enhancements
- Add
wandblogging support toTrainerclass by @janosh in #166 - Add keyword
wandb_log_freq: LogFreq = LogEachBatchtoTrainer.train()by @janosh in #170
📖 Documentation
- Dispersion by @ajhoffman1229 in #192
🧹 Linting
rufffixes by @DanielYang59 in #184
🏷️ Static Typing
- Use return type
typing_extensions.Selffor class methods by @janosh in #179 - Create py.typed by @Andrew-S-Rosen in #189
🏥 Package Health
- Support NumPy 2 by @DanielYang59 in #202
- Drop Python 3.9 support by @janosh in #204
New Contributors
- @ajhoffman1229 made their first contribution in #192
- @DanielYang59 made their first contribution in #201
Full Changelog: v0.3.8...v0.4.0
v0.3.8
Important
v0.3.8 is a hot-fix release to replace v0.3.7 which we plan to yank from PyPI due to lack of compiled wheels, resulting in installation issues as reported in #160
What's Changed
🐛 Bug Fixes
Full Changelog: v0.3.7...v0.3.8
v0.3.7
v0.3.6
v0.3.5
What's Changed
🛠 Enhancements
🚀 Performance
🏥 Package Health
🤷♂️ Other Changes
Full Changelog: v0.3.4...v0.3.5
v0.3.4
What's Changed
🛠 Enhancements
- Better backward compatibility with
aseversions - Better backward compatibility with
pymatgenversions - Allowing
loss_ratio=0forTrainer
🐛 Bug Fixes
- Add
pip install git+https://gitlab.com/ase/aseuser advice onFrechetCellFilterImportErrorand allowase_filterto bestrby @janosh in #104 - Fix
solve_charge_by_mag()using wrong key instructure.site_properties.get('final_magmom')by @janosh in #114
🧹 House-Keeping
🏥 Package Health
🤷♂️ Other Changes
- Add keyword
use_devicetoCHGNet.load()by @tsihyoung in #105 - Update dynamics.py by @zhongpc in #109
cuda_devices_sorted_by_free_mem()return [] ifnot torch.cuda.is_available()by @janosh in #115
New Contributors
Full Changelog: v0.3.3...v0.3.4
v0.3.3
What's Changed
🐛 Bug Fixes
If you encounter ase.filters import issue, please install the newest ase from their source before the next ase release:
pip install git+https://gitlab.com/ase/ase
🛠 Enhancements
Full Changelog: v0.3.2...v0.3.3
v0.3.2
Changes
- Link to Video tutorial @BowenD-UCB
- Allow setting MD start temperature @BowenD-UCB
- Fixed bug triggerred by dtype @janosh in #95
Full Changelog: V0.3.1...v0.3.2