Skip to content

Commit cfd656a

Browse files
authored
Merge pull request #342 from vbedida79/patch-171224-1
tests_gaudi: Add Intel Gaudi firmware check workload
2 parents 39acce8 + 97fe2bb commit cfd656a

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

tests/gaudi/l2/README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,4 +172,22 @@ sh-5.1# curl http://vllm-workload.gaudi-validation.svc.cluster.local:8000/v1/com
172172
"max_tokens": 10
173173
}'
174174
{"id":"cmpl-9a0442d0da67411081837a3a32a354f2","object":"text_completion","created":1730321284,"model":"meta-llama/Llama-3.1-8B","choices":[{"index":0,"text":" group of individual stars that forms a pattern or figure","logprobs":null,"finish_reason":"length","stop_reason":null}],"usage":{"prompt_tokens":5,"total_tokens":15,"completion_tokens":10}}
175-
```
175+
```
176+
177+
## Check firmware version with hl-smi
178+
System Management Interface Tool (hl-smi) utility tool obtains information and monitors data of the Intel Gaudi AI accelerators.
179+
Run below command to check firmware version with the tool:
180+
```
181+
$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/gaudi/l2/hl-smi-firmware_job.yaml
182+
```
183+
184+
Verify Output:
185+
```
186+
$ oc get pods -n gaudi-validation
187+
NAME READY STATUS RESTARTS AGE
188+
hl-smi-firmware-pxhsn 0/1 Completed 0 11s
189+
```
190+
```
191+
$ oc logs hl-smi-firmware-pxhsn -n gaudi-validation
192+
Firmware [SPI] Version : Preboot version hl-gaudi2-1.16.0-fw-50.1.2-sec-9 (May 26 2024 - 11:33:04)
193+
```
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
apiVersion: batch/v1
2+
kind: Job
3+
metadata:
4+
name: hl-smi-firmware
5+
namespace: gaudi-validation
6+
spec:
7+
template:
8+
metadata:
9+
spec:
10+
restartPolicy: Never
11+
containers:
12+
- name: hl-smi-firmware
13+
image: vault.habana.ai/gaudi-docker/1.18.0/rhel9.4/habanalabs/pytorch-installer-2.4.0:1.18.0-524
14+
command: ["/bin/bash", "-c", "hl-smi -L | grep SPI"]
15+
resources:
16+
limits:
17+
habana.ai/gaudi: 1
18+
imagePullPolicy: IfNotPresent

0 commit comments

Comments
 (0)