From 29c123583c41e38478c7e626d2b6da35f89f1205 Mon Sep 17 00:00:00 2001 From: jtwolfe Date: Thu, 19 Dec 2024 20:05:18 +1000 Subject: [PATCH] Update distributed_inferencing.md Signed-off-by: jtwolfe --- docs/content/docs/features/distributed_inferencing.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/content/docs/features/distributed_inferencing.md b/docs/content/docs/features/distributed_inferencing.md index 254de092..b8a1d739 100644 --- a/docs/content/docs/features/distributed_inferencing.md +++ b/docs/content/docs/features/distributed_inferencing.md @@ -129,6 +129,9 @@ There are options that can be tweaked or parameters that can be set using enviro | Environment Variable | Description | |----------------------|-------------| +| **LOCALAI_P2P** | Set to "true" to enable p2p | +| **LOCALAI_FEDERATED** | Set to "true" to enable federated mode | +| **FEDERATED_SERVER** | Set to "true" to enable federated server | | **LOCALAI_P2P_DISABLE_DHT** | Set to "true" to disable DHT and enable p2p layer to be local only (mDNS) | | **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) | | **LOCALAI_P2P_LISTEN_MADDRS** | Set to comma separated list of multiaddresses to override default libp2p 0.0.0.0 multiaddresses | @@ -139,6 +142,7 @@ There are options that can be tweaked or parameters that can be set using enviro | **LOCALAI_P2P_LIB_LOGLEVEL** | Set the loglevel for the underlying libp2p stack (default: fatal) | + ## Architecture 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.