BoltzGen / model /boltzgen /task /task.py
wuxing0105's picture
Upload folder using huggingface_hub (part 2)
1f88cea verified
Raw
History Blame Contribute Delete
370 Bytes
from abc import ABC, abstractmethod
from omegaconf import OmegaConf
class Task(ABC):
"""A task to be executed."""
@abstractmethod
def run(self, config: OmegaConf) -> None:
"""Run the task.
Parameters
----------
config : OmegaConf
The configuration for the task.
"""
raise NotImplementedError