• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

DI-orchestrator: OpenDILab强化学习容器化调度和协调框架

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

DI-orchestrator

开源软件地址:

https://gitee.com/opendilab/DI-orchestrator

开源软件介绍:

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-systemNAME                               READY   STATUS    RESTARTS   AGEdi-operator-57cc65d5c9-5vnvn       1/1     Running   0          59sdi-server-7b86ff8df4-jfgmp         1/1     Running   0          59sdi-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 [email protected]


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap