You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/docs/features/distributed_inferencing.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -131,10 +131,14 @@ There are options that can be tweaked or parameters that can be set using enviro
131
131
|----------------------|-------------|
132
132
|**LOCALAI_P2P_DISABLE_DHT**| Set to "true" to disable DHT and enable p2p layer to be local only (mDNS) |
133
133
|**LOCALAI_P2P_ENABLE_LIMITS**| Set to "true" to enable connection limits and resources management (useful when running with poor connectivity or want to limit resources consumption) |
134
+
|**LOCALAI_P2P_LISTEN_MADDRS**| Set to comma separated list of multiaddresses to override default libp2p 0.0.0.0 multiaddresses |
135
+
|**LOCALAI_P2P_DHT_ANNOUNCE_MADDRS**| Set to comma separated list of multiaddresses to override announcing of listen multiaddresses (useful when external address:port is remapped) |
136
+
|**LOCALAI_P2P_BOOTSTRAP_PEERS_MADDRS**| Set to comma separated list of multiaddresses to specify custom DHT bootstrap nodes |
134
137
|**LOCALAI_P2P_TOKEN**| Set the token for the p2p network |
135
138
|**LOCALAI_P2P_LOGLEVEL**| Set the loglevel for the LocalAI p2p stack (default: info) |
136
139
|**LOCALAI_LIBP2P_LOGLEVEL**| Set the loglevel for the underlying libp2p stack (default: fatal) |
137
140
141
+
138
142
## Architecture
139
143
140
144
LocalAI uses https://github.com/libp2p/go-libp2p under the hood, the same project powering IPFS. Differently from other frameworks, LocalAI uses peer2peer without a single master server, but rather it uses sub/gossip and ledger functionalities to achieve consensus across different peers.
0 commit comments