mirror of
https://github.com/gryf/coach.git
synced 2025-12-18 03:30:19 +01:00
remove kubernetes dependency (#117)
This commit is contained in:
@@ -5,6 +5,8 @@ import time
|
||||
from enum import Enum
|
||||
from typing import List
|
||||
from configparser import ConfigParser, Error
|
||||
|
||||
from rl_coach.base_parameters import RunType
|
||||
from rl_coach.orchestrators.deploy import Deploy, DeployParameters
|
||||
from kubernetes import client as k8sclient, config as k8sconfig
|
||||
from rl_coach.memories.backend.memory import MemoryBackendParameters
|
||||
@@ -13,15 +15,6 @@ from rl_coach.data_stores.data_store import DataStoreParameters
|
||||
from rl_coach.data_stores.data_store_impl import get_data_store
|
||||
|
||||
|
||||
class RunType(Enum):
|
||||
ORCHESTRATOR = "orchestrator"
|
||||
TRAINER = "trainer"
|
||||
ROLLOUT_WORKER = "rollout-worker"
|
||||
|
||||
def __str__(self):
|
||||
return self.value
|
||||
|
||||
|
||||
class RunTypeParameters():
|
||||
|
||||
def __init__(self, image: str, command: list(), arguments: list() = None,
|
||||
|
||||
Reference in New Issue
Block a user