forked from kserve/kserve
-
Notifications
You must be signed in to change notification settings - Fork 51
250731 sync kserve/master into odh/master batch3 #820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
openshift-merge-bot
merged 10 commits into
opendatahub-io:master
from
mholder6:250731_sync_upstream_batch3
Aug 6, 2025
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
926e947
fix(test): uses local httptest server urls for downloader tests (#4601)
bartoszmajsak 8b29459
Fixed the issue of the same metrics across different deployments unde…
427dda5
feat: Add disable postprocessing option for raw logits (#4566)
sivanantha321 4edbb36
Stop and resume an inference graph (#4588)
hdefazio 766e345
disallow `name` field in standard predictor (#4535)
HutakiHare c579dd6
fix: missing pytest-asyncio session scope marker in test_kserve_logge…
sivanantha321 5c0493d
update CRDs for LWS based multi node support (#4596)
VedantMahabaleshwarkar ed64a1e
Add LLM InferenceService base configurations (#4613)
VedantMahabaleshwarkar 99dae0d
fix: fixes misleading print for parallelism when $# > 2 (#784) (#4619)
bartoszmajsak 20cbd00
synced with upstream batch 2/3
mholder6 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
131 changes: 131 additions & 0 deletions
131
charts/llmisvc-resources/templates/config-llm-decode-template.yaml
This file contains hidden or 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,131 @@ | ||
| apiVersion: serving.kserve.io/v1alpha1 | ||
| kind: LLMInferenceServiceConfig | ||
| metadata: | ||
| name: kserve-config-llm-decode-template | ||
| spec: | ||
| template: | ||
| containers: | ||
| - image: ghcr.io/llm-d/llm-d:v0.2.0 | ||
| imagePullPolicy: IfNotPresent | ||
| name: main | ||
| ports: | ||
| - containerPort: 8001 | ||
| protocol: TCP | ||
| command: | ||
| - vllm | ||
| - serve | ||
| args: | ||
| - --served-model-name | ||
| - "{{ .Spec.Model.Name }}" | ||
| - --port | ||
| - "8001" | ||
| - --disable-log-requests | ||
| - --enable-ssl-refresh | ||
| - --ssl-certfile | ||
| - /etc/ssl/certs/tls.crt | ||
| - --ssl-keyfile | ||
| - /etc/ssl/certs/tls.key | ||
| env: | ||
| - name: HOME | ||
| value: /home | ||
| - name: VLLM_LOGGING_LEVEL | ||
| value: INFO | ||
| - name: HF_HUB_CACHE | ||
| value: /models | ||
| securityContext: | ||
| allowPrivilegeEscalation: false | ||
| capabilities: | ||
| drop: | ||
| - MKNOD | ||
| terminationMessagePath: /dev/termination-log | ||
| terminationMessagePolicy: FallbackToLogsOnError | ||
| livenessProbe: | ||
| httpGet: | ||
| path: /health | ||
| port: 8001 | ||
| scheme: HTTPS | ||
| initialDelaySeconds: 120 | ||
| periodSeconds: 10 | ||
| timeoutSeconds: 10 | ||
| failureThreshold: 3 | ||
| readinessProbe: | ||
| httpGet: | ||
| path: /health | ||
| port: 8001 | ||
| scheme: HTTPS | ||
| initialDelaySeconds: 10 | ||
| periodSeconds: 10 | ||
| timeoutSeconds: 5 | ||
| failureThreshold: 60 | ||
| volumeMounts: | ||
| - mountPath: /home | ||
| name: home | ||
| - mountPath: /dev/shm | ||
| name: dshm | ||
| - mountPath: /models | ||
| name: model-cache | ||
| - mountPath: /etc/ssl/certs | ||
| name: tls-certs | ||
| readOnly: true | ||
| initContainers: | ||
| - name: llm-d-routing-sidecar | ||
| imagePullPolicy: IfNotPresent | ||
| image: ghcr.io/llm-d/llm-d-routing-sidecar:v0.2.0 | ||
| restartPolicy: Always | ||
|
mholder6 marked this conversation as resolved.
|
||
| ports: | ||
| - containerPort: 8000 | ||
| protocol: TCP | ||
| resources: { } | ||
| securityContext: { } | ||
| terminationMessagePath: /dev/termination-log | ||
| terminationMessagePolicy: FallbackToLogsOnError | ||
| livenessProbe: | ||
| httpGet: | ||
| path: /health | ||
| port: 8000 | ||
| scheme: HTTPS | ||
| initialDelaySeconds: 10 | ||
| periodSeconds: 10 | ||
| timeoutSeconds: 10 | ||
| failureThreshold: 3 | ||
| readinessProbe: | ||
| httpGet: | ||
| path: /health | ||
| port: 8000 | ||
| scheme: HTTPS | ||
| initialDelaySeconds: 10 | ||
| periodSeconds: 10 | ||
| timeoutSeconds: 5 | ||
| failureThreshold: 10 | ||
| args: | ||
| - "--port=8000" | ||
| - "--vllm-port=8001" | ||
| - "--secure-proxy=true" | ||
| - "--cert-path=/etc/ssl/certs" | ||
| - "--decoder-use-tls=true" | ||
| - "--decoder-tls-insecure-skip-verify=true" | ||
| - "--prefiller-use-tls=true" | ||
| - "--prefiller-tls-insecure-skip-verify=true" | ||
| - "--enable-ssrf-protection=true" | ||
| volumeMounts: | ||
| - mountPath: /etc/ssl/certs | ||
| name: tls-certs | ||
| readOnly: true | ||
| env: | ||
| - name: INFERENCE_POOL_NAMESPACE | ||
| valueFrom: | ||
| fieldRef: | ||
| fieldPath: metadata.namespace | ||
| terminationGracePeriodSeconds: 30 | ||
| volumes: | ||
| - emptyDir: { } | ||
| name: home | ||
| - emptyDir: | ||
| medium: Memory | ||
| sizeLimit: 1Gi | ||
| name: dshm | ||
| - emptyDir: { } | ||
| name: model-cache | ||
| - name: tls-certs | ||
| secret: | ||
| secretName: "{{ ChildName .ObjectMeta.Name `-kserve-self-signed-certs` }}" | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.