-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Dmitry Shmulevich <[email protected]>
- Loading branch information
Showing
31 changed files
with
157 additions
and
107 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
9 changes: 5 additions & 4 deletions
9
...ang-scheduling/workflows/config-kueue.yml → ...ng-scheduling/workflows/config-kueue.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
3 changes: 2 additions & 1 deletion
3
...arks/scaling/workflows/config-volcano.yml → ...-scheduling/workflows/config-volcano.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
3 changes: 2 additions & 1 deletion
3
...-scheduling/workflows/config-yunikorn.yml → ...scheduling/workflows/config-yunikorn.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
File renamed without changes.
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
9 changes: 5 additions & 4 deletions
9
...hmarks/scaling/workflows/config-kueue.yml → ...marks/scaling/workflows/config-kueue.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
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,12 @@ | ||
name: config-nodes | ||
description: create 500 virtual GPU nodes | ||
tasks: | ||
- id: configure | ||
type: Configure | ||
params: | ||
nodes: | ||
- type: dgxa100.80g | ||
count: 500 | ||
labels: | ||
nvidia.com/gpu.count: "8" | ||
timeout: 5m |
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,17 @@ | ||
name: config-runai | ||
description: register, deploy and configure run:ai custom resources | ||
tasks: | ||
- id: register-trainingworkload | ||
type: RegisterObj | ||
params: | ||
template: "resources/benchmarks/templates/runai/trainingworkload.yaml" | ||
nameFormat: "twl{{._ENUM_}}" | ||
podNameFormat: "{{._NAME_}}-0-0" | ||
podCount: 1 | ||
- id: register-mpi | ||
type: RegisterObj | ||
params: | ||
template: "resources/benchmarks/templates/runai/mpijob.yaml" | ||
nameFormat: "mpijob{{._ENUM_}}" | ||
podNameFormat: "{{._NAME_}}-(launcher-[a-z0-9]+|worker-[0-9]+)" | ||
podCount: "{{.workers}} + 1" |
3 changes: 2 additions & 1 deletion
3
...g-scheduling/workflows/config-volcano.yml → ...rks/scaling/workflows/config-volcano.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
3 changes: 2 additions & 1 deletion
3
...rks/scaling/workflows/config-yunikorn.yml → ...ks/scaling/workflows/config-yunikorn.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
31 changes: 0 additions & 31 deletions
31
resources/benchmarks/scaling/workflows/run-test-common.yml
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
resources/benchmarks/scaling/workflows/run-test-multi.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,11 @@ | ||
name: test-scaling-multi-node-job | ||
description: deploy a 500-replicas job | ||
tasks: | ||
- id: job | ||
type: SubmitObj | ||
params: | ||
refTaskId: register | ||
count: 1 | ||
params: | ||
replicas: 500 | ||
ttl: 2m |
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
resources/benchmarks/scaling/workflows/run-test-single.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,11 @@ | ||
name: test-scaling-single-node-jobs | ||
description: deploy 500 single-replica jobs | ||
tasks: | ||
- id: job | ||
type: SubmitObj | ||
params: | ||
refTaskId: register | ||
count: 500 | ||
params: | ||
replicas: 1 | ||
ttl: 2m |
11 changes: 11 additions & 0 deletions
11
resources/benchmarks/scaling/workflows/runai-test-multi.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,11 @@ | ||
name: test-scaling | ||
description: deploy a 500-replicas job | ||
tasks: | ||
- id: job | ||
type: SubmitObj | ||
params: | ||
refTaskId: register-mpi | ||
count: 1 | ||
params: | ||
workers: 499 | ||
ttl: 2m |
10 changes: 10 additions & 0 deletions
10
resources/benchmarks/scaling/workflows/runai-test-single.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,10 @@ | ||
name: test-scaling | ||
description: deploy 500 single-replica jobs | ||
tasks: | ||
- id: job | ||
type: SubmitObj | ||
params: | ||
refTaskId: register-trainingworkload | ||
count: 500 | ||
params: | ||
ttl: 2m |
File renamed without changes.
File renamed without changes.
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,49 @@ | ||
apiVersion: kubeflow.org/v2beta1 | ||
kind: MPIJob | ||
metadata: | ||
name: "{{._NAME_}}" | ||
namespace: runai-<RUNAI_PROJECT> | ||
labels: | ||
project: <RUNAI_PROJECT> | ||
runai/queue: <RUNAI_PROJECT> | ||
spec: | ||
slotsPerWorker: 1 | ||
runPolicy: | ||
cleanPodPolicy: Running | ||
mpiReplicaSpecs: | ||
Launcher: | ||
replicas: 1 | ||
template: | ||
metadata: | ||
annotations: | ||
pod-complete.stage.kwok.x-k8s.io/delay: {{.ttl}} | ||
pod-complete.stage.kwok.x-k8s.io/jitter-delay: {{.ttl}} | ||
spec: | ||
schedulerName: runai-scheduler | ||
containers: | ||
- image: runai/mpi-launcher:latest | ||
name: mpi-launcher | ||
resources: | ||
limits: | ||
cpu: 100m | ||
memory: 250M | ||
nvidia.com/gpu: 8 | ||
Worker: | ||
replicas: {{.workers}} | ||
template: | ||
metadata: | ||
annotations: | ||
pod-complete.stage.kwok.x-k8s.io/delay: {{.ttl}} | ||
pod-complete.stage.kwok.x-k8s.io/jitter-delay: {{.ttl}} | ||
labels: | ||
app: {{._NAME_}} | ||
spec: | ||
schedulerName: runai-scheduler | ||
containers: | ||
- image: runai/mpi-worker:latest | ||
name: mpi-worker | ||
resources: | ||
limits: | ||
cpu: 100m | ||
memory: 250M | ||
nvidia.com/gpu: 8 |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Oops, something went wrong.