Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/npm_and_yarn/multi-aefe74c7bb
Browse files Browse the repository at this point in the history
  • Loading branch information
kruai authored Dec 10, 2024
2 parents b5138a5 + b712f62 commit 1d8295c
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
18 changes: 17 additions & 1 deletion schemas/system_profile/v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -786,14 +786,30 @@ $defs:
type: string
example: "v1.1.3"
maxLength: 16
amd_gpu_models:
description: Model name of AMD GPUs
type: array
items:
description: The AMD GPU model
type: string
example: "Advanced Micro Devices, Inc. [AMD/ATI] Device 0c34, Advanced Micro Devices, Inc. [AMD/ATI] Radeon PRO V320"
maxLength: 128
intel_gaudi_hpu_models:
description: Model name of Intel Gaudi HPUs
type: array
items:
description: The Intel Gaudi HPU model
type: string
example: "Habana Labs Ltd. Device 1020, Habana Labs Ltd. HL-2000 AI Training Accelerator [Gaudi]"
maxLength: 128
nvidia_gpu_models:
description: Model name of Nvidia GPUs in the GPU index order
type: array
items:
description: The Nvidia GPU model
type: string
example: "Tesla V100-PCIE-16GB"
maxLength: 64
maxLength: 128
third_party_services:
description: Object containing information about system facts of third party services
type: object
Expand Down
3 changes: 3 additions & 0 deletions tests/utils/invalids.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,11 +372,14 @@
{"rhel_ai": { # Must be a string, not a number
"variant": "RHEL AI",
"rhel_ai_version_id": 1.1,
"amd_gpu_models": ["Advanced Micro Devices, Inc. [AMD/ATI] Device 0c34"],
"intel_gaudi_hpu_models": ["Habana Labs Ltd. Device 1020"],
"nvidia_gpu_models": ["NVIDIA T1000", "Tesla V100-PCIE-16GB"]
}},
{"rhel_ai": { # Must be a string as array elements, not a boolean
"variant": "RHEL AI",
"rhel_ai_version_id": "v1.1.3",
"amd_gpu_models": ["Advanced Micro Devices, Inc. [AMD/ATI] Device 0c34"],
"nvidia_gpu_models": [True, "Tesla V100-PCIE-16GB"]
}},
{"third_party_services": {
Expand Down
8 changes: 8 additions & 0 deletions tests/utils/valids.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,14 @@
{"rhel_ai": {
"variant": "RHEL AI",
"rhel_ai_version_id": "v1.1.3",
"amd_gpu_models": [
"Advanced Micro Devices, Inc. [AMD/ATI] Device 0c34",
"Advanced Micro Devices, Inc. [AMD/ATI] Radeon PRO V320"
],
"intel_gaudi_hpu_models": [
"Habana Labs Ltd. Device 1020",
"Habana Labs Ltd. HL-2000 AI Training Accelerator [Gaudi]"
],
"nvidia_gpu_models": ["NVIDIA T1000", "Tesla V100-PCIE-16GB"]
}},
{"third_party_services": {
Expand Down

0 comments on commit 1d8295c

Please sign in to comment.