-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add support for Sakkara Co-authored-by: Lixiang "Eric" Luo <lgl@@users.noreply.github.com> * drop bypassCoscheduler; add test for setting schedulerName --------- Co-authored-by: Lixiang "Eric" Luo <lgl@@users.noreply.github.com>
- Loading branch information
1 parent
20dd9eb
commit 7840fa1
Showing
7 changed files
with
205 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
tools/pytorchjob-generator/examples/helloworld-sakkara.settings.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
jobName: my-job # name of the generated AppWrapper and PyTorchJob objects (required) | ||
queueName: default-queue # local queue to submit to (default: default-queue) | ||
|
||
schedulerName: sakkara | ||
# If additional constraints are used, specify the configmap here: | ||
#customLabels: | ||
# - key: sakkara.group.name | ||
# value: my-topogrp-0 | ||
|
||
numPods: 4 # total pod count including master and worker pods (default: 1) | ||
numCpusPerPod: 500m # requested number of cpus per pod (default: 1) | ||
numGpusPerPod: 8 # requested number of gpus per pod (default: 0) | ||
totalMemoryPerPod: 1Gi # requested amount of memory per pod (default: 1Gi) | ||
|
||
priority: default-priority # default-priority (default), low-priority, or high-priority | ||
|
||
# container image for the pods (required) | ||
containerImage: ghcr.io/foundation-model-stack/base:pytorch-latest-nightly-20230126 | ||
|
||
# setup commands to run in each pod (optional) | ||
setupCommands: | ||
- git clone https://github.com/dbarnett/python-helloworld | ||
- cd python-helloworld | ||
|
||
# main program to invoke via torchrun (optional) | ||
mainProgram: helloworld.py |