Compute Node
Overview
┌─────────────────────────────────────────────────────────────────────────┐
│ Compute Node │
│ │
│ Gateway Connection │
│ ┌─────────────────────────────────────────────────────────────────┐ │
│ │ Bidirectional gRPC Stream │ │
│ │ ◀── Receive InferenceRequest │ │
│ │ ──▶ Send NodeInfo (heartbeat) │ │
│ │ ──▶ Send InferenceResponse │ │
│ └─────────────────────────────────────────────────────────────────┘ │
│ │ │
│ ▼ │
│ Execution Manager │
│ ┌─────────────────────────────────────────────────────────────────┐ │
│ │ ┌───────────────┐ ┌───────────────┐ ┌───────────────┐ │ │
│ │ │ Model Loader │ │ Executor │ │ Result Signer │ │ │
│ │ │ & Cache │ │ Selector │ │ │ │ │
│ │ └───────────────┘ └───────────────┘ └───────────────┘ │ │
│ └─────────────────────────────────────────────────────────────────┘ │
│ │ │
│ ▼ │
│ Sandbox Layer │
│ ┌─────────────────────────────────────────────────────────────────┐ │
│ │ ┌─────────────────────────────────────────────────────────┐ │ │
│ │ │ OS Sandbox │ │ │
│ │ │ • seccomp (syscall filtering) │ │ │
│ │ │ • Linux namespaces (PID, network, mount, IPC) │ │ │
│ │ │ • Landlock (filesystem isolation) │ │ │
│ │ │ • Resource limits (CPU, memory, time) │ │ │
│ │ └─────────────────────────────────────────────────────────┘ │ │
│ │ ┌─────────────────────────────────────────────────────────┐ │ │
│ │ │ Python Executor │ │ │
│ │ │ • Isolated Python process │ │ │
│ │ │ • File-based I/O │ │ │
│ │ │ • Timeout enforcement │ │ │
│ │ └─────────────────────────────────────────────────────────┘ │ │
│ └─────────────────────────────────────────────────────────────────┘ │
│ │ │
│ ▼ │
│ Model Storage │
│ ┌─────────────────────────────────────────────────────────────────┐ │
│ │ ./models/ │ │
│ │ ├── bark_semantic_model.pt │ │
│ │ ├── bark_coarse_model.pt │ │
│ │ └── bark_fine_model.pt │ │
│ └─────────────────────────────────────────────────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────────────────┘Features
Quick Start
Build
Run
Configuration
Command Line Arguments
Argument
Required
Default
Description
Environment Variables
Variable
Required
Default
Description
Sandbox Security
Security Layers
Layer
Technology
Protection
Sandbox Modes
Mode
seccomp
Namespaces
Landlock
Limits
Use Case
Blocked Operations
Operation
Protection
Model Execution
Supported Model Formats
Format
Extension
Framework
Auto-detect
Executor Scripts
Script
Purpose
Execution Flow
Signing
Signature Components
Field
Description
Signed Message Format
Verification
Model Synchronization
Enable Sync
Sync Process
Metrics & Monitoring
Execution Statistics
Logging
Troubleshooting
Common Issues
Python Environment Setup
Create Virtual Environment
Requirements
Related Documentation
Last updated
