-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated scripts and fixed issues in benchmark/autoscaling (#662)
* fixed manifest with name without v100, recording per request log in pod log streaming, updated script to use deploy.yaml instead of reusing existing deployment * fixed the indentations (two spaces) * Reformat autoscaler yamls based on #665 --------- Co-authored-by: Gangmuk <[email protected]>
- Loading branch information
Showing
13 changed files
with
127 additions
and
121 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 was deleted.
Oops, something went wrong.
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,27 @@ | ||
apiVersion: autoscaling.aibrix.ai/v1alpha1 | ||
kind: PodAutoscaler | ||
metadata: | ||
name: deepseek-llm-7b-chat-v100-apa | ||
namespace: default | ||
labels: | ||
app.kubernetes.io/name: aibrix | ||
app.kubernetes.io/managed-by: kustomize | ||
annotations: | ||
autoscaling.aibrix.ai/up-fluctuation-tolerance: '0.1' | ||
autoscaling.aibrix.ai/down-fluctuation-tolerance: '0.2' | ||
apa.autoscaling.aibrix.ai/window: 30s | ||
spec: | ||
scalingStrategy: APA | ||
minReplicas: 1 | ||
maxReplicas: 8 | ||
metricsSources: | ||
- metricSourceType: pod | ||
protocolType: http | ||
port: '8000' | ||
path: metrics | ||
targetMetric: gpu_cache_usage_perc | ||
targetValue: '0.5' | ||
scaleTargetRef: | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
name: deepseek-llm-7b-chat |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
apiVersion: autoscaling.aibrix.ai/v1alpha1 | ||
kind: PodAutoscaler | ||
metadata: | ||
name: deepseek-llm-7b-chat-hpa | ||
namespace: default | ||
labels: | ||
app.kubernetes.io/name: aibrix | ||
app.kubernetes.io/managed-by: kustomize | ||
spec: | ||
scalingStrategy: HPA | ||
minReplicas: 1 | ||
maxReplicas: 8 | ||
metricsSources: | ||
- metricSourceType: pod | ||
protocolType: http | ||
port: '8000' | ||
path: /metrics | ||
targetMetric: gpu_cache_usage_perc | ||
targetValue: '50' | ||
scaleTargetRef: | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
name: deepseek-llm-7b-chat |
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,25 @@ | ||
apiVersion: autoscaling.aibrix.ai/v1alpha1 | ||
kind: PodAutoscaler | ||
metadata: | ||
name: deepseek-llm-7b-chat-kpa | ||
namespace: default | ||
labels: | ||
app.kubernetes.io/name: aibrix | ||
app.kubernetes.io/managed-by: kustomize | ||
annotations: | ||
kpa.autoscaling.aibrix.ai/scale-down-delay: 3m | ||
spec: | ||
scalingStrategy: KPA | ||
minReplicas: 1 | ||
maxReplicas: 8 | ||
metricsSources: | ||
- metricSourceType: pod | ||
protocolType: http | ||
port: '8000' | ||
path: metrics | ||
targetMetric: gpu_cache_usage_perc | ||
targetValue: '0.5' | ||
scaleTargetRef: | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
name: deepseek-llm-7b-chat |
19 changes: 10 additions & 9 deletions
19
...pseek-llm-7b-chat-v100/optimizer-kpa.yaml → ...g/deepseek-llm-7b-chat/optimizer-kpa.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 |
---|---|---|
@@ -1,24 +1,25 @@ | ||
apiVersion: autoscaling.aibrix.ai/v1alpha1 | ||
kind: PodAutoscaler | ||
metadata: | ||
name: podautoscaler-deepseek-llm-7b-chat-v100-gpu-optimizer | ||
name: deepseek-llm-7b-chat-gpu-optimizer | ||
namespace: default | ||
labels: | ||
app.kubernetes.io/name: aibrix | ||
app.kubernetes.io/managed-by: kustomize | ||
annotations: | ||
kpa.autoscaling.aibrix.ai/scale-down-delay: 0s | ||
spec: | ||
scalingStrategy: KPA | ||
minReplicas: 1 | ||
maxReplicas: 10 | ||
maxReplicas: 8 | ||
metricsSources: | ||
- endpoint: aibrix-gpu-optimizer.aibrix-system.svc.cluster.local:8080 | ||
metricSourceType: domain | ||
path: /metrics/default/deepseek-llm-7b-chat-v100 | ||
protocolType: http | ||
targetMetric: vllm:deployment_replicas | ||
targetValue: "1" | ||
- endpoint: aibrix-gpu-optimizer.aibrix-system.svc.cluster.local:8080 | ||
metricSourceType: domain | ||
path: /metrics/default/deepseek-llm-7b-chat | ||
protocolType: http | ||
targetMetric: vllm:deployment_replicas | ||
targetValue: "1" | ||
scaleTargetRef: | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
name: deepseek-llm-7b-chat-v100 | ||
name: deepseek-llm-7b-chat |
File renamed without changes.
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