This recipe streamlines the process of deploying Sogni Fast Workers on SaladCloud. Sogni is a decentralized AI inference
network that enables you to contribute compute power and earn rewards by running on-chain workers.You will need a Sogni API Key and NFT Token ID to use this recipe. For more information about Sogni’s decentralized
network and how to obtain these credentials, visit Sogni.ai and read the
Sogni Documentation.Two worker variants are available:
FLUX Worker - Optimized for FLUX model inference on the Sogni network
Stable Diffusion Worker - Optimized for Stable Diffusion model inference on the Sogni network
Both workers connect to the Sogni decentralized network and process inference requests from users worldwide, earning
rewards for successful completions.
This recipe uses Sogni’s authentication system with your API key and NFT Token ID. No additional SaladCloud gateway
authentication is required for the worker itself.
SaladCloud offers a simple built-in method to view logs from the portal, to facilitate monitoring your worker’s
performance. For production workloads, we highly recommend connecting an external logging source, such as Axiom, to
track earnings and inference statistics.
When you deploy the recipe, SaladCloud will find a qualified node and begin the process of downloading the container
image to the host machine. It may take up to tens of minutes to download to some machines, depending on the network
conditions of that particular node. Remember, these are residential PCs with residential internet connections, and
performance will vary across different nodes.Eventually, you will see your instance enter the running state and show a green checkmark in the “Ready” column. At this
time, your worker will connect to the Sogni network and begin processing inference requests, earning rewards for
successful completions.You will find helpful links and information in the readme on the container group page once deployed.