-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.toml
48 lines (36 loc) · 1.6 KB
/
config.toml
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
disable-require = false
#accept-habana-visible-devices-envvar-when-unprivileged = true
#accept-habana-visible-devices-as-volume-mounts = false
## Uncomment and set to false if you are running inside kubernetes
## environment with Habana device plugin. Defaults to true
#mount_accelerators = false
## Mount uverbs mounts the attached infiniband_verb device attached to
## the selected accelerator devices. Defaults to true.
#mount_uverbs = false
## [Optional section]
[network-layer-routes]
## Override the default path on hode for the network configuration layer.
## default:/etc/habanalabs/gaudinet.json
# path = "/etc/habanalabs/gaudinet.json"
[habana-container-cli]
#root = "/run/habana/driver"
#path = "/usr/bin/habana-container-cli"
environment = []
## Uncomment to enable logging
#debug = "/var/log/habana-container-hook.log"
[habana-container-runtime]
## Always try to expose devices on any container, no matter if requested the devices
## This is not recommended as it exposes devices and required metadata into any container
## Default: true
#visible_devices_all_as_default = false
## Uncomment to enable logging
#debug = "/var/log/habana-container-runtime.log"
## Logging level. Supported values: "info", "debug"
#log_level = "debug"
## By default, runc creates cgroups and sets cgroup limits on its own (this mode is known as fs cgroup driver).
## By setting to true runc switches to systemd cgroup driver.
## Read more here: https://github.com/opencontainers/runc/blob/main/docs/systemd.md
#systemd_cgroup = false
## Use prestart hook for configuration. Valid modes: oci, legacy
## Default: oci
# mode = legacy