-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathapplication.conf
More file actions
60 lines (52 loc) · 1.48 KB
/
application.conf
File metadata and controls
60 lines (52 loc) · 1.48 KB
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
akka {
loglevel = "INFO"
loggers = ["akka.event.slf4j.Slf4jLogger"]
logging-filter = "akka.event.slf4j.Slf4jLoggingFilter"
http {
server {
idle-timeout = 120 s
request-timeout = 119 s
}
parsing {
max-content-length = 200m
max-to-strict-bytes = 100m
}
}
ai-dispatcher {
# Dispatcher is the name of the event-based dispatcher
type = Dispatcher
# What kind of ExecutionService to use
executor = "thread-pool-executor"
thread-pool-executor {
# -1 means using all available CPU cores
fixed-pool-size = -1
}
# Throughput defines the maximum number of messages to be
# processed per actor before the thread jumps to the next actor.
# Set to 1 for as fair as possible.
throughput = 1
}
}
service {
http {
interface = "0.0.0.0"
port = 9090
}
grpc {
port = 9091
}
home = "/opt/ai-serving"
logging {
request-timing-enabled = false
request-timing-level = "DEBUG" // one of "DEBUG", "INFO", "WARNING", "ERROR"
}
}
onnxruntime {
backend = "cpu" // one of "cuda", "dnnl", "tensorrt", "directml", "cpu"
cpu-num-threads = -1 // -1 means using the number of available CPU cores
device-id = 0
execution-mode = "sequential" // one of "sequential", "parallel"
optimization-level = "all" // one of "no", "basic", "extended", "all"
logger-id = "onnxruntime"
logging-level = 3 // 0: VERBOSE, 1: INFO, 2: WARNING, 3: ERROR, 4: FATAL
}