-
Notifications
You must be signed in to change notification settings - Fork 0
/
ecosystem_classification-instruments.config.cjs
60 lines (58 loc) · 2.17 KB
/
ecosystem_classification-instruments.config.cjs
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
module.exports = {
apps : [
{
name : "kromosynth-gRPC-variation",
script : "gRPC/index.js",
args: "--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',
// cron_restart: '0 * * * *',
increment_var : 'PORT',
env: {
"PORT": 50051,
"TF_FORCE_GPU_ALLOW_GROWTH": true
}
},
{ // see the `kromosynth-render` repository
name : "kromosynth-render-socket-server",
script : "/Users/bjornpjo/Developer/apps/kromosynth-render/render-socket/socket-server-floating-points.js",
args: "--processTitle kromosynth-render-socket-server",
instances : 3,
exec_mode : "cluster",
max_memory_restart: '700M',
// cron_restart: '0 * * * *',
increment_var : 'PORT',
env: {
"PORT": 30051,
"TF_FORCE_GPU_ALLOW_GROWTH": true
}
},
{ // see the `kromosynth-evaluate` repository
name : "kromosynth-evaluation-socket-server",
interpreter: '/Users/bjornpjo/Developer/apps/kromosynth-evaluate/.venv/bin/python3',
cwd: '/Users/bjornpjo/Developer/apps/kromosynth-evaluate/evaluation/supervised',
script : "classification.py",
args: "--sample-rate 16000 --models-path /Users/bjornpjo/Developer/apps/kromosynth-evaluate/measurements/models",
instances : 3,
exec_mode : "fork",
max_memory_restart: '2G',
// cron_restart: '0 * * * *',
increment_var : 'PORT',
env: {
"PORT": 40051,
"TF_FORCE_GPU_ALLOW_GROWTH": true
}
}
,
{
name : "kromosynth-controller",
script : "cli-app/kromosynth.js",
args: "evolution-runs --max-old-space-size=4096 --evolution-runs-config-json-file /Users/bjornpjo/Developer/apps/kromosynth-cli/cli-app/conf/evolution-runs_instruments_durDeltVelDims.jsonc",
instances : 1,
exec_mode : "fork",
max_memory_restart: '4G',
cron_restart: '0 */2 * * *',
}
]
}