forked from alpha-unito/streamflow-fl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstreamflow.yml
70 lines (70 loc) · 1.83 KB
/
streamflow.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#!/usr/bin/env streamflow
version: v1.0
workflows:
federated_learning:
type: cwl
config:
file: cwl/main.cwl
settings: cwl/config.yml
bindings:
- step: /loop/train_mnist
target:
deployment: marconi100
# deployment: worker2
- step: /loop/train_svhn
target:
deployment: epito
# deployment: worker1
- step: /eval_mnist
target:
deployment: marconi100
# deployment: worker2
- step: /eval_svhn
target:
deployment: epito
# deployment: worker1
- port: /mnist_dataset
target:
deployment: marconi100
# deployment: worker2
workdir: /m100_scratch/userexternal/gmittone
- port: /svhn_dataset
target:
deployment: epito
# deployment: worker1
workdir: /beegfs/home/icolonne/hybrid-federated-learning
deployments:
epito:
type: slurm
config:
file: environments/epito-sbatch.sh
hostname: c3sfr1.di.unito.it
maxConcurrentSessions: 5
sshKey: /home/glassofwhiskey/.ssh/keys/occam_rsa
username: icolonne
workdir: /beegfs/home/icolonne/hybrid-federated-learning/streamflow
marconi100:
type: slurm
config:
file: environments/marconi100-sbatch.sh
hostname: login01-ext.m100.cineca.it
maxConcurrentSessions: 5
sshKey: /home/glassofwhiskey/.ssh/keys/marconi100_rsa
username: gmittone
workdir: /m100_scratch/userexternal/gmittone/streamflow
worker1:
type: ssh
config:
file: environments/hpc4ai.sh
nodes:
- worker-1
sshKey: /home/ubuntu/.ssh/id_rsa
username: ubuntu
worker2:
type: ssh
config:
file: environments/hpc4ai.sh
nodes:
- worker-2
sshKey: /home/ubuntu/.ssh/id_rsa
username: ubuntu