-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: change model's type to plural; add example to call worker apis
Signed-off-by: bjwswang <[email protected]>
- Loading branch information
Showing
18 changed files
with
215 additions
and
974 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
apiVersion: arcadia.kubeagi.k8s.com.cn/v1alpha1 | ||
kind: Model | ||
metadata: | ||
name: baichuan2-7b | ||
namespace: arcadia | ||
spec: | ||
displayName: "baichuan2-7b" | ||
description: "百川智能发布的大语言模型模型,同时提供embedding模型能力" | ||
types: "llm,embedding" | ||
--- | ||
apiVersion: arcadia.kubeagi.k8s.com.cn/v1alpha1 | ||
kind: Worker | ||
metadata: | ||
name: worker-baichuan | ||
namespace: arcadia | ||
spec: | ||
type: "fastchat" | ||
model: | ||
kind: "Models" | ||
name: "baichuan2-7b" | ||
resources: | ||
limits: | ||
nvidia.com/gpu: "1" # request 1 GPU |
20 changes: 20 additions & 0 deletions
20
config/samples/arcadia_v1alpha1_worker_bge-large-zh-v1.5.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
apiVersion: arcadia.kubeagi.k8s.com.cn/v1alpha1 | ||
kind: Model | ||
metadata: | ||
name: bge-large-zh-v1.5 | ||
namespace: arcadia | ||
spec: | ||
displayName: "bge-large-zh-v1.5" | ||
description: "智源研究员发布的Embedding模型" | ||
types: "embedding" | ||
--- | ||
apiVersion: arcadia.kubeagi.k8s.com.cn/v1alpha1 | ||
kind: Worker | ||
metadata: | ||
name: worker-bge | ||
namespace: arcadia | ||
spec: | ||
type: "fastchat" | ||
model: | ||
kind: "Models" | ||
name: "bge-large-zh-v1.5" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.