forked from occlum/occlum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
executable file
·59 lines (40 loc) · 1.19 KB
/
config.yaml
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
## Analytics-zoo Cluster Serving Config
# model path must be provided
modelPath: resnet50
# name, default is serving_stream, you need to specify if running multiple servings
# jobName:
# default, None
# postProcessing:
# default, false, if input is already batched NdArray, set true
# inputAlreadyBatched:
######## Performance Configuration
# default, number of cores per machine
# if you set coreNumberPerMachine, Cluster Serving will auto config modelParallelism and threadPerModel
# if you need to set modelParallelism and threadPerModel manually, do not set coreNumberPerMachine
coreNumberPerMachine: 1
# default: number of models used in serving
# modelParallelism:
# default: number of cores (or threads) used per model in serving
# threadPerModel
# default: OFF
# performance_mode:
######## Specific Configuration
# default: localhost:8081
# flinkRestUrl:
# default: localhost:6379
# redisUrl:
# default: 8g
# redisMaxmemory:
# default: 5000
# redisTimeout:
######## Secure Configuration
# default: false
# secureEnabled:
# default:
# secureTrustStorePath: /opt/keys/keystore.jks
# default:
# secureStructStorePassword:
# default: false
# modelEncrypted:
# default: false
#recordEncrypted: