Automatic training for NEP
Project description
Installation
You can install it via pip:
pip install NepTrain
If you want to use the latest changes from the main branch, you can install it directly from GitHub:
pip install -U git+https://github.com/aboys-cb/NepTrain
Community Support
- Join the community chat (https://qm.qq.com/q/wPDQYHMhyg)
- Raise issues and engage in discussions via GitHub issues
Software Architecture
It is recommended to use Python 3.10 or higher. Older versions might cause type errors. We also recommend using GPUMD version 3.9.5 or higher.
Usage
Modify the vim ~/.NepTrain file to change the pseudopotential file path.
If this file doesn't exist, simply run NepTrain init once to generate it.
Creating Training Set (Optional)
Generate a perturbation training set for structures or structure files.
For example, apply a 0.03 lattice distortion and 0.1 atomic perturbation:
NepTrain perturb ./structure/Cs16Ag8Bi8I48.vasp --num 2000 --cell 0.03 -d 0.1
NepTrain select perturb.xyz -max 100
1. Initialization
First, initialize NepTrain. This will create a submission script in the current directory:
NepTrain init slurm
3. Submit Job
After modifying the submission script and job configuration, you can submit the job by running the following command on a login node:
NepTrain train job.yaml
For running the job in the background, use nohup
nohup NepTrain train job.yaml &
If the job is interrupted, there will be a restart.yaml file in the directory. To resume the job, run:
NepTrain train restart.yaml
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file neptrain-2.2.0.tar.gz.
File metadata
- Download URL: neptrain-2.2.0.tar.gz
- Upload date:
- Size: 302.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
108e2d5bcd36121675cd13cfb754d3ed3601bc961b3546f667eb55c18740f318
|
|
| MD5 |
f7b6d5a71a94c0d2e6c5885184f068cd
|
|
| BLAKE2b-256 |
6576d29d4733d552a5adf2e0ace6f78925814190245f35756077421775663474
|
Provenance
The following attestation bundles were made for neptrain-2.2.0.tar.gz:
Publisher:
python-publish.yml on aboys-cb/NepTrain
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
neptrain-2.2.0.tar.gz -
Subject digest:
108e2d5bcd36121675cd13cfb754d3ed3601bc961b3546f667eb55c18740f318 - Sigstore transparency entry: 829727961
- Sigstore integration time:
-
Permalink:
aboys-cb/NepTrain@0d85978849bdec9a5b1da4ede56c8d8033378bc5 -
Branch / Tag:
refs/tags/v2.2.0 - Owner: https://github.com/aboys-cb
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@0d85978849bdec9a5b1da4ede56c8d8033378bc5 -
Trigger Event:
release
-
Statement type: