Skip to content

Commit

Permalink
Merge pull request #640 from bjwswang/chore
Browse files Browse the repository at this point in the history
chore: set runAsUser to 0 for ray cluster sample and remove embedding…
  • Loading branch information
nkwangleiGIT authored Jan 25, 2024
2 parents 55ae7da + 993e8f3 commit de79064
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 49 deletions.
94 changes: 49 additions & 45 deletions config/samples/ray.io_v1_raycluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,51 +13,55 @@ spec:
app.kubernetes.io/instance: raycluster
app.kubernetes.io/name: kuberay
spec:
securityContext:
runAsUser: 0
runAsGroup: 0
fsGroup: 0
containers:
- image: kubeagi/ray-ml:2.9.0-py39-vllm
name: ray-head
resources:
limits:
cpu: "1"
memory: 2G
nvidia.com/gpu: 1
requests:
cpu: "1"
memory: 2G
nvidia.com/gpu: 1
volumeMounts:
- mountPath: /tmp/ray
name: log-volume
- image: kubeagi/ray-ml:2.9.0-py39-vllm
name: ray-head
resources:
limits:
cpu: "1"
memory: 2G
nvidia.com/gpu: 1
requests:
cpu: "1"
memory: 2G
nvidia.com/gpu: 1
volumeMounts:
- mountPath: /tmp/ray
name: log-volume
volumes:
- emptyDir: {}
name: log-volume
workerGroupSpecs:
- groupName: workergroup
replicas: 0
minReplicas: 0
maxReplicas: 5
rayStartParams: {}
template:
metadata:
labels:
app.kubernetes.io/instance: raycluster
app.kubernetes.io/name: kuberay
spec:
containers:
- image: kubeagi/ray-ml:2.9.0-py39-vllm
name: ray-worker
resources:
limits:
cpu: "1"
memory: 1G
nvidia.com/gpu: 1
requests:
cpu: "1"
memory: 1G
nvidia.com/gpu: 1
volumeMounts:
- mountPath: /tmp/ray
- emptyDir: {}
name: log-volume
volumes:
- emptyDir: {}
name: log-volume
workerGroupSpecs:
- groupName: workergroup
replicas: 0
minReplicas: 0
maxReplicas: 5
rayStartParams: {}
template:
metadata:
labels:
app.kubernetes.io/instance: raycluster
app.kubernetes.io/name: kuberay
spec:
containers:
- image: kubeagi/ray-ml:2.9.0-py39-vllm
name: ray-worker
resources:
limits:
cpu: "1"
memory: 1G
nvidia.com/gpu: 1
requests:
cpu: "1"
memory: 1G
nvidia.com/gpu: 1
volumeMounts:
- mountPath: /tmp/ray
name: log-volume
volumes:
- emptyDir: {}
name: log-volume
2 changes: 1 addition & 1 deletion deploy/charts/arcadia/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: arcadia
description: A Helm chart(KubeBB Component) for KubeAGI Arcadia
type: application
version: 0.2.22
version: 0.2.23
appVersion: "0.1.0"

keywords:
Expand Down
6 changes: 3 additions & 3 deletions deploy/charts/arcadia/templates/post-models.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
arXiv: https://arxiv.org/abs/2309.10305
百川智能成立于2023年4月10日,由前搜狗公司CEO王小川创立。公司以帮助大众轻松、普惠地获取世界知识和专业服务为使命,致力于通过语言AI的突破,构建中国最优秀的大模型底座。
types: "llm,embedding"
types: "llm"
---
apiVersion: arcadia.kubeagi.k8s.com.cn/v1alpha1
kind: Model
Expand Down Expand Up @@ -55,7 +55,7 @@ spec:
ModelScope: https://modelscope.cn/models/ZhipuAI/chatglm2-6b
北京智谱华章科技有限公司由清华大学计算机系技术成果转化而来,致力于打造新一代认知智能大模型,专注于做大模型的中国创新。
types: "llm,embedding"
types: "llm"
---
apiVersion: arcadia.kubeagi.k8s.com.cn/v1alpha1
kind: Model
Expand Down Expand Up @@ -87,7 +87,7 @@ spec:
arXiv: https://arxiv.org/abs/2309.16609
通义为阿里云大模型的统一品牌,覆盖语言、听觉、多模态等领域,致力于实现类人智慧的通用智能。
types: "llm,embedding"
types: "llm"
---
apiVersion: arcadia.kubeagi.k8s.com.cn/v1alpha1
kind: Model
Expand Down

0 comments on commit de79064

Please sign in to comment.