-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathecosystem_services_only__instrumentation-nsynth.config.js
92 lines (92 loc) · 3.78 KB
/
ecosystem_services_only__instrumentation-nsynth.config.js
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
module.exports = {
apps : [
{
name : "kromosynth-gRPC-variation",
interpreter: '/Users/bjornpjo/.nvm/versions/node/v18.20.3/bin/node',
script : "gRPC/genomeVariationWS.js",
args: "--max-old-space-size=1024 --modelUrl file:///Users/bjornpjo/Developer/vendor/tfjs-model_yamnet_tfjs_1/model.json --processTitle kromosynth-gRPC-variation",
instances : 1,
exec_mode : "cluster",
// max_memory_restart: '700M',
max_memory_restart: '2G',
// cron_restart: '*/30 * * * *',
// cron_restart: '0 * * * *', // every hour
increment_var : 'PORT',
env: {
"PORT": 50051,
"TF_FORCE_GPU_ALLOW_GROWTH": true
}
}
,
{ // see the `kromosynth-render` repository: https://github.com/synth-is/kromosynth-render
name : "kromosynth-render-socket-server",
interpreter: '/Users/bjornpjo/.nvm/versions/node/v18.20.3/bin/node',
script : "/Users/bjornpjo/Developer/apps/kromosynth-render/render-socket/socket-server-floating-points.js",
args: "--max-old-space-size=1024 --processTitle kromosynth-render-socket-server",
node_args: "--expose-gc",
instances : 1,
exec_mode : "cluster",
max_memory_restart: '2G',
// cron_restart: '*/30 * * * *',
// cron_restart: '0 * * * *', // every hour
increment_var : 'PORT',
env: {
"PORT": 60051,
"TF_FORCE_GPU_ALLOW_GROWTH": true
}
}
,
{ // see the `kromosynth-evaluate` repository: https://github.com/synth-is/kromosynth-evaluate
name : "kromosynth-evaluation-socket-server_features",
interpreter: '/Users/bjornpjo/Developer/apps/kromosynth-evaluate/.venv/bin/python3',
cwd: '/Users/bjornpjo/Developer/apps/kromosynth-evaluate/evaluation/unsupervised',
script : "features.py",
args: "--host 127.0.0.1 --models-path /Users/bjornpjo/Developer/apps/kromosynth-evaluate/measurements/models",
instances : 1,
exec_mode : "fork",
max_memory_restart: '2G',
// cron_restart: '*/30 * * * *',
// cron_restart: '0 * * * *', // every hour
increment_var : 'PORT',
env: {
"PORT": 31051,
}
}
,
{ // see the `kromosynth-evaluate` repository: https://github.com/synth-is/kromosynth-evaluate
name : "kromosynth-evaluation-socket-server_quality_ref_features",
interpreter: '/Users/bjornpjo/Developer/apps/kromosynth-evaluate/.venv/bin/python3', // NB: different python environment
cwd: '/Users/bjornpjo/Developer/apps/kromosynth-evaluate/evaluation/unsupervised',
script : "quality_instrumentation.py",
args: "--host 127.0.0.1 --models-path /Users/bjornpjo/Developer/apps/kromosynth-evaluate/measurements/models",
instances : 3,
exec_mode : "fork",
max_memory_restart: '2G',
// cron_restart: '*/30 * * * *',
cron_restart: '0 * * * *', // every * hours
increment_var : 'PORT',
env: {
"PORT": 32051,
}
}
,
{ // see the `kromosynth-evaluate` repository: https://github.com/synth-is/kromosynth-evaluate
name : "kromosynth-evaluation-socket-server_projection_pca_quantised",
interpreter: '/Users/bjornpjo/Developer/apps/kromosynth-evaluate/.venv/bin/python3',
cwd: '/Users/bjornpjo/Developer/apps/kromosynth-evaluate/evaluation/unsupervised',
script : "projection_quantised.py",
args: "--host 127.0.0.1 --dimensions 2 --dimension-cells 100",
instances : 1,
exec_mode : "fork",
max_memory_restart: '8G',
// cron_restart: '*/30 * * * *',
// restart every three hours, as UMAP leaks memory: https://github.com/lmcinnes/umap/issues/535
// cron_restart: '0 */3 * * *',
// cron_restart: '0 * * * *', // every hour
increment_var : 'PORT',
env: {
"PORT": 33051,
}
}
]
}