|
| 1 | +apiVersion: v1 |
| 2 | +kind: ConfigMap |
| 3 | +metadata: |
| 4 | + name: {{ include "gateway-api-inference-extension.name" . }} |
| 5 | + namespace: {{ .Release.Namespace }} |
| 6 | +data: |
| 7 | + default-plugins.yaml: | |
| 8 | + apiVersion: inference.networking.x-k8s.io/v1alpha1 |
| 9 | + kind: EndpointPickerConfig |
| 10 | + plugins: |
| 11 | + - type: low-queue-filter |
| 12 | + parameters: |
| 13 | + threshold: 128 |
| 14 | + - type: lora-affinity-filter |
| 15 | + parameters: |
| 16 | + threshold: 0.999 |
| 17 | + - type: least-queue-filter |
| 18 | + - type: least-kv-cache-filter |
| 19 | + - type: decision-tree-filter |
| 20 | + name: low-latency-filter |
| 21 | + parameters: |
| 22 | + current: |
| 23 | + pluginRef: low-queue-filter |
| 24 | + nextOnSuccess: |
| 25 | + decisionTree: |
| 26 | + current: |
| 27 | + pluginRef: lora-affinity-filter |
| 28 | + nextOnSuccessOrFailure: |
| 29 | + decisionTree: |
| 30 | + current: |
| 31 | + pluginRef: least-queue-filter |
| 32 | + nextOnSuccessOrFailure: |
| 33 | + decisionTree: |
| 34 | + current: |
| 35 | + pluginRef: least-kv-cache-filter |
| 36 | + nextOnFailure: |
| 37 | + decisionTree: |
| 38 | + current: |
| 39 | + pluginRef: least-queue-filter |
| 40 | + nextOnSuccessOrFailure: |
| 41 | + decisionTree: |
| 42 | + current: |
| 43 | + pluginRef: lora-affinity-filter |
| 44 | + nextOnSuccessOrFailure: |
| 45 | + decisionTree: |
| 46 | + current: |
| 47 | + pluginRef: least-kv-cache-filter |
| 48 | + - type: random-picker |
| 49 | + parameters: |
| 50 | + maxNumOfEndpoints: 1 |
| 51 | + - type: single-profile-handler |
| 52 | + schedulingProfiles: |
| 53 | + - name: default |
| 54 | + plugins: |
| 55 | + - pluginRef: low-latency-filter |
| 56 | + - pluginRef: random-picker |
| 57 | + plugins-v2.yaml: | |
| 58 | + apiVersion: inference.networking.x-k8s.io/v1alpha1 |
| 59 | + kind: EndpointPickerConfig |
| 60 | + plugins: |
| 61 | + - type: queue-scorer |
| 62 | + - type: kv-cache-scorer |
| 63 | + - type: prefix-cache-scorer |
| 64 | + parameters: |
| 65 | + hashBlockSize: 64 |
| 66 | + maxPrefixBlocksToMatch: 256 |
| 67 | + lruCapacityPerServer: 31250 |
| 68 | + - type: max-score-picker |
| 69 | + parameters: |
| 70 | + maxNumOfEndpoints: 1 |
| 71 | + - type: single-profile-handler |
| 72 | + schedulingProfiles: |
| 73 | + - name: default |
| 74 | + plugins: |
| 75 | + - pluginRef: queue-scorer |
| 76 | + weight: 1 |
| 77 | + - pluginRef: kv-cache-scorer |
| 78 | + weight: 1 |
| 79 | + - pluginRef: prefix-cache-scorer |
| 80 | + weight: 1 |
| 81 | + - pluginRef: max-score-picker |
| 82 | + {{- if (hasKey .Values.inferenceExtension "additionalConfigs") }} |
| 83 | + {{- .Values.inferenceExtension.additionalConfigs | toYaml | nindent 2 }} |
| 84 | + {{- end }} |
| 85 | + |
0 commit comments