Skip to content
Open
433 changes: 433 additions & 0 deletions inference/a4x/single-host-serving/tensorrt-llm-lustre/README.md

Large diffs are not rendered by default.

59 changes: 59 additions & 0 deletions inference/a4x/single-host-serving/tensorrt-llm-lustre/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

queue:

dwsSettings:
maxRunDurationSeconds:

volumes:
gcsVolumes: true
ssdMountPath: "/ssd"
gcsMounts:
- bucketName:
mountPath: "/gcs-logs"
pvcMounts:
- claimName: "lustre-serving-model-pvc"
mountPath: "/serving-model"
subPath:

service:
type: ClusterIP
ports:
http: 8000

workload:
model:
name:
gpus: 4
image:
framework: trtllm
configFile: serving-args.yaml
configPath: /workload/configs
envs:
- name: LAUNCHER_SCRIPT
value: "/workload/launcher/launch-workload.sh"
- name: SERVER_ARGS_FILE
value: "/workload/configs/serving-args.yaml"
benchmarks:
experiments:
- isl: 128
osl: 128
num_requests: 1000

network:
gibVersion: us-docker.pkg.dev/gce-ai-infra/gpudirect-gib/nccl-plugin-gib-arm64:v1.0.7
ncclSettings:
- name: NCCL_DEBUG
value: "VERSION"
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: v2
name: single-host-serving-deployment-template
description: single-host-serving-deployment-template
type: application
version: 0.1.0
appVersion: "1.16.0"
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: v1
kind: ConfigMap
metadata:
name: "{{ .Release.Name }}-config"
data:
serving-configuration: |-
{{- if .Values.serving_config }}
{{ .Values.serving_config | nindent 4 }}
{{- else }}
{{ "config: null" | nindent 4 }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: v1
kind: ConfigMap
metadata:
name: "{{ .Release.Name }}-launcher"
data:
launch-workload.sh: |-
{{- if .Values.workload_launcher }}
{{ .Values.workload_launcher | nindent 4 }}
{{- else }}
#!/bin/bash
echo "No workload launcher specified"
exit 1
{{- end }}
Loading