Skip to content

About the difference between the csv file I produced using file "test_chgnet.py" and the csv file under the chgnet folder #96

Closed Answered by janosh
Claudia-Hello asked this question in Q&A
Discussion options

You must be logged in to vote

test_chgnet.py is designed to be run as a slurm job array where each sub task runs on a different split of the WBM test set.

slurm_array_task_count = 50
device = "cuda" if torch.cuda.is_available() else "cpu"
chgnet = StructOptimizer(use_device=device) # load default pre-trained CHGNnet model
job_name = f"chgnet-{chgnet.version}-wbm-{task_type}"
out_dir = os.getenv("SBATCH_OUTPUT", f"{module_dir}/{today}-{job_name}")
slurm_vars = slurm_submit(
job_name=job_name,
out_dir=out_dir,
account="matgen",
time="11:55:0",
array=f"1-{slurm_array_task_count}",

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by janosh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help Q&A support issues
2 participants