代码拉取完成,页面将自动刷新
同步操作将从 OpenDILab开源决策智能平台/DI-orchestrator 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
DI Orchestrator is designed to manage DI (Decision Intelligence) jobs using Kubernetes Custom Resource and Operator.
kubectl create -f ./config/certmanager/cert-manager.yaml
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
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
$ 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
Refers to user-guide. For Chinese version, please refer to 中文手册
Refers to developer-guide.
Contact us throw opendilab.contact@gmail.com
你可以在登录后,发表评论
仓库评论 ( 0 )