Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
403 changes: 403 additions & 0 deletions inference/a4x/single-host-serving/tensorrt-llm-gcs/README.md

Large diffs are not rendered by default.

59 changes: 59 additions & 0 deletions inference/a4x/single-host-serving/tensorrt-llm-gcs/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: "gcs-serving-model-pvc"
mountPath: "/serving-model"

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"

20 changes: 20 additions & 0 deletions src/helm-charts/a4x/inference-templates-gcs/deployment/Chart.yaml
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