AGAT (Atomic Graph ATtention networks)
Using AGAT
The documentation of AGAT API is available.
Installation
Install with conda environment
-
Download the
agat_linux_gpu_cu124.ymlfile. -
Run
conda env create -f agat_linux_gpu_cu124.yml
-
Install CUDA and CUDNN [Optional].
- For HPC, you may load CUDA by checking
module av, or you can contact your administrator for help. - CUDA Toolkit
- cuDNN
- For HPC, you may load CUDA by checking
-
More installation options: Customized installation
Quick start
Prepare VASP calculations
Run VASP calculations at this step.
Collect paths of VASP calculations
-
We provided examples of VASP outputs at VASP_calculations_example.
-
Find all directories containing
OUTCARfile:find . -name OUTCAR > paths.log -
Remove the string 'OUTCAR' in
paths.log.sed -i 's/OUTCAR$//g' paths.log -
Specify the absolute paths in
paths.log.sed -i "s#^.#${PWD}#g" paths.log
Build database
from agat.data import BuildDatabase
if __name__ == '__main__':
database = BuildDatabase(mode_of_NN='ase_dist', num_of_cores=16)
dataset = database.build()
Train AGAT model
from agat.model import Fit
f = Fit()
f.fit()
Application (geometry optimization)
from ase.optimize import BFGS
from ase.io import read
from agat.app import AgatCalculator
model_save_dir = 'agat_model'
graph_build_scheme_dir = 'dataset'
atoms = read('POSCAR')
calculator=AgatCalculator(model_save_dir,
graph_build_scheme_dir)
atoms = Atoms(atoms, calculator=calculator)
dyn = BFGS(atoms, trajectory='test.traj')
dyn.run(fmax=0.05)
Application (high-throughput prediction)
from agat.app.cata import HtAds
model_save_dir = 'agat_model'
graph_build_scheme_dir = 'dataset'
formula='NiCoFePdPt'
ha = HtAds(model_save_dir=model_save_dir, graph_build_scheme_dir=graph_build_scheme_dir)
ha.run(formula=formula)
Tips:
See API doc for more details. For example:
- Manipulating
agat.dataset: - AGAT molecular dynamics simulations:
- More options for controlling the AGAT training process: docs/sphinx/source/Default parameters.md.
Some default parameters
agat/default_parameters.py; Explanations: docs/sphinx/source/Default parameters.md.
Package structure
Change log
Please check Change_log.md
Metadata
Release files for agat 9.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| agat-9.1.1.tar.gz | 80.3 kB | Without provenance | Details for agat-9.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agat-9.1.1-py3-none-any.whl | Python 3 | none | any | Details for agat-9.1.1-py3-none-any.whl |
Total release size: 165.3 kB
Release files / agat-9.1.1.tar.gz
| Download URL | agat-9.1.1.tar.gz |
|---|---|
| Size | 80.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1606522d1f698898f08d9d8f74c4631e41cb570682800e1c8fca7d9c92b58dd2
|
|
BLAKE2b-256 checksum How to use checksums |
a7f72362bcd42617b3c7d1a8ca30b979535c57581140fc4ed0eb56adef41b3b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / agat-9.1.1-py3-none-any.whl
| Download URL | agat-9.1.1-py3-none-any.whl |
|---|---|
| Size | 85.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f3b42b4760ca42387202b39449512835183c88c46380130b54044bcbcb95c92d
|
|
BLAKE2b-256 checksum How to use checksums |
09493b23aaf833dfdf8970540f9564c766606088ee9f9c47ebcd54fdedfa7b9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for agat 9.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.