Skip to content

Commit e6d1c86

Browse files
authored
fix(sample): Fix the OpenModel sample file to match the CRD definition (#481)
1 parent 60645e6 commit e6d1c86

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

config/samples/_v1alpha1_openmodel.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ spec:
1414
modelHub:
1515
# name: Huggingface
1616
modelID: "facebook/opt-125m"
17-
inferenceFlavors:
18-
- name: a100
19-
requests:
20-
nvidia.com/gpu: 1
17+
inferenceConfig:
18+
flavors:
19+
- name: a100
20+
limits:
21+
nvidia.com/gpu: 1
2122
# nodeSelector:
2223
# cloud-provider.com/accelerator: nvidia-a100
2324
# params:

0 commit comments

Comments
 (0)