mattertune.configs.data.omat24

class mattertune.configs.data.omat24.DatasetConfigBase[source]
abstract create_dataset()[source]
Return type:

Dataset[Atoms]

prepare_data()[source]

Prepare the dataset for training.

Use this to download and prepare data. Downloading and saving data with multiple processes (distributed settings) will result in corrupted data. Lightning ensures this method is called only within a single process, so you can safely add your downloading logic within this method.

classmethod ensure_dependencies()[source]

Ensure that all dependencies are installed.

This method should raise an exception if any dependencies are missing, with a message indicating which dependencies are missing and how to install them.

class mattertune.configs.data.omat24.OMAT24DatasetConfig(*, type='omat24', src)[source]
Parameters:
  • type (Literal['omat24'])

  • src (Path)

type: Literal['omat24']

Discriminator for the OMAT24 dataset.

src: Path

The path to the OMAT24 dataset.

create_dataset()[source]