Prerequisites
Before you can run an Inference.net node, you’ll need the following dependencies installed and configured:Required Dependencies
- Docker Engine - Container runtime for running the Inference node
- NVIDIA Drivers - GPU drivers compatible with your hardware
- NVIDIA Container Toolkit - Enables GPU support in Docker containers
Verify Installation
Before proceeding, verify that all components are properly installed:Setting Up Your Account
- Register an account at https://inference.net/register
- Contact the Inference.net team to verify your account. You will not be able to start a node until your account is verified.
Creating and Running Your First Node
Step 1: Create a Worker
- Navigate to the Workers tab in your dashboard
- Click Create Worker in the top-right corner
- Enter a descriptive name for your worker (e.g., “8x-h200-1”)
- Ensure Docker is selected as the deployment method
- Click Create Worker
Step 2: Launch Your Worker
- On the Worker Details page, click Launch Worker
-
You’ll see a Docker command with your unique worker code. It will look like this:
-
Copy and run this command in your terminal. Make sure to replace
<your-worker-code>with the worker code on the launch worker modal.
Step 3: Monitor Initialization
Once started, your node will enter the “Initializing” state on the dashboard. This initialization phase:- Typically takes 1-2 minutes
- May take up to 10 minutes depending on your GPU and network speed
- Downloads necessary model files and prepares the inference environment
- The dashboard status
- Docker logs:
docker logs -f $(docker ps -lq)
Understanding the Docker Command
Let’s break down what each parameter does:--pull=always: Always pulls the latest image version--restart=always: Automatically restarts the container if it stops or the system reboots--runtime=nvidia: Enables NVIDIA GPU support--gpus all: Grants access to all available GPUs-v ~/.inference:/root/.inference: Persists data between container restarts--code <your-worker-code>: Your unique worker authentication code
Managing Your Node
Viewing Logs
To monitor your node’s activity:Checking Status
Stopping Your Node
Troubleshooting
Common Issues
Container won’t start:- Check Docker daemon:
sudo systemctl status docker - Restart Docker:
sudo systemctl restart docker - View Docker logs:
sudo journalctl -fu docker
- Verify NVIDIA runtime:
docker info | grep nvidia - Check GPU availability:
nvidia-smi - Test GPU access:
docker run --rm --gpus all nvidia/cuda:12.4.0-base-ubuntu22.04 nvidia-smi
- Check container logs for errors:
docker logs $(docker ps -lq) - Ensure you have sufficient disk space for model downloads
- Verify your internet connection is stable