1 Star 0 Fork 3

化量很大 / DI-orchestrator

加入 Gitee
与超过 800 万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README.md

Build Releases

DI Orchestrator

DI Orchestrator is designed to manage DI (Decision Intelligence) jobs using Kubernetes Custom Resource and Operator.

Prerequisites

  • A well-prepared kubernetes cluster. Follow the instructions to create a kubernetes cluster, or create a local kubernetes node referring to kind or minikube
  • Cert-manager. Installation on kubernetes please refer to cert-manager docs. Or you can install it by the following command.
kubectl create -f ./config/certmanager/cert-manager.yaml

Install DI Orchestrator

DI Orchestrator consists of three components: di-operator, di-webhook and di-server. Install them with the following command.

kubectl create -f ./config/di-manager.yaml

di-operator, di-webhook and di-server will be installed in di-system namespace.

$ kubectl get pod -n di-system
NAME                               READY   STATUS    RESTARTS   AGE
di-operator-57cc65d5c9-5vnvn       1/1     Running   0          59s
di-server-7b86ff8df4-jfgmp         1/1     Running   0          59s
di-webhook-45jgi23fhc-9yght        1/1     Running   0          59s

Install AggregatorConfig

Since all DIJobs share the same configuration of aggregator, we define aggregator template in AggregatorConfig. Install AggregatorConfig with the following command:

kubectl create -f config/samples/agconfig.yaml -n di-system

Submit DIJob

# submit DIJob
$ kubectl create -f config/samples/dijob-cartpole.yaml

# get pod and you will see coordinator is created by di-operator
# a few seconds later, you will see collectors and learners created by di-server
$ kubectl get pod

# get logs of coordinator
$ kubectl logs cartpole-dqn-coordinator

User Guide

Refers to user-guide. For Chinese version, please refer to 中文手册

Contributing

Refers to developer-guide.

Contact us throw opendilab.contact@gmail.com

仓库评论 ( 0 )

你可以在登录后,发表评论

简介

OpenDILab强化学习容器化调度和协调框架 展开 收起
Go
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Go
1
https://gitee.com/large-amount-of-chemical/DI-orchestrator.git
git@gitee.com:large-amount-of-chemical/DI-orchestrator.git
large-amount-of-chemical
DI-orchestrator
DI-orchestrator
main

搜索帮助

103111 552b83b3 1850385 103110 ed87a847 1850385