Skip to content

Commit 84963ab

Browse files
authored
Fix example yaml (#88)
**Description** Pin the scheduler type to Kueue. SageMaker scheduler type requires manually setting up local queue, which is not an ideal basic example **Testing Done** Tested in test account that the job created successfully and pod is running
1 parent 003d6f2 commit 84963ab

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/basic-job-example-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@ cluster:
9898
# To use SageMaker Hyperpod AutoResume functionality, please set it to OnFailure.
9999
# Mapping to '--restart-policy' argument in 'start-job' command.
100100
restartPolicy: OnFailure
101-
# scheduler_type: Optional. Used to decide which type of scheduler to use. Default value is 'SageMaker' which makes
102-
# the job only scheduled on queues created via SageMaker. Another valid value is 'Kueue', with this option, queue name
103-
# and namespace has to be manually filled out.
104-
# scheduler_type: Kueue
105-
scheduler_type: SageMaker
101+
# scheduler_type: Optional. Used to decide which type of scheduler to use. Default value is 'SageMaker' which makes the job
102+
# only scheduled on queues created via SageMaker. This requires local queue name filled in custom label 'kueue.x-k8s.io/queue-name'
103+
# Another valid value is 'Kueue', with this option, queue name and namespace has to be manually filled out.
104+
# scheduler_type: SageMaker
105+
scheduler_type: Kueue
106106
# base_results_dir: Optional. Location to store the results, checkpoints and logs.
107107
# Mapping to '--results-dir' argument in 'start-job' command.
108108
base_results_dir: ./result

0 commit comments

Comments
 (0)