Source code for xpmir.experiments.helpers.launchers
from experimaestro.launcherfinder import find_launcher
from xpmir.papers import configuration, attrs_cached_property
[docs]@configuration()
class LauncherSpecification:
"""Launcher specification
This allows requesting computational resources such as 2 GPUs with more than
12Go of memory)
"""
requirements: str
@attrs_cached_property
def launcher(self):
return find_launcher(self.requirements)