diff --git a/src/cloudai/runner/core/runner.py b/src/cloudai/runner/core/runner.py index 29a2cce96..7568da306 100644 --- a/src/cloudai/runner/core/runner.py +++ b/src/cloudai/runner/core/runner.py @@ -61,8 +61,6 @@ def register(cls, system_type: str) -> Callable: """ def decorator(runner_class: Type[BaseRunner]) -> Type[BaseRunner]: - if system_type in cls._runners: - raise KeyError(f"Runner for {system_type} already registered.") cls._runners[system_type] = runner_class return runner_class