Skip to main content
This guide is for PRISM challenge operators (running the PRISM service). It is not the BASE subnet validator pack under Validators. This guide covers local validation and production-oriented configuration for running PRISM as a BASE challenge. Source: docs/operators.md:1-5.

Installation

Source: docs/operators.md:6-12 (repo URL per SOURCES.md:51).

Local validation

Source: docs/operators.md:14-20.

Required runtime configuration

At minimum, PRISM needs a database URL, a shared-token file, and an execution backend:
The shared token must match the token configured in the master for this challenge. Source: docs/operators.md:22-32.

Docker broker configuration

Production evaluation uses the Docker broker with the augmented evaluator image:
Set PRISM_PLATFORM_EVAL_IMAGE to the evaluator image published for your deployment. The image must ship sentencepiece and an offline tiktoken gpt2 cache so reference tokenizers load with no network.
The scored run is single-node and uses torchrun --standalone --nnodes=1 --nproc-per-node=1. Source: docs/operators.md:34-50 (evaluator image literal omitted; it references a non-BASE registry - supply your own).

Locked FineWeb-Edu data plane

The broker bind-mounts the locked FineWeb-Edu data read-only into the eval container, which runs with network=none:
HF_HUB_OFFLINE=1 and HF_DATASETS_OFFLINE=1 are set inside the eval container. The val/test splits are secret and must never be exposed to a miner script. Source: docs/operators.md:52-64.

Compute budget

The score is compute-normalized; wall-clock is only a safety cap, enforced in layers:
Source: docs/operators.md:66-75.

LLM hard gate configuration

The OpenRouter LLM hard gate is enabled by default and reviews both scripts before any GPU work:
A reject from the gate is terminal. The eval container carries no OpenRouter key (the gate runs host-side before the container is launched). Source: docs/operators.md:77-89; config.example.yaml:60-63.

Multi-GPU static contract

reject (the default) hard-rejects a non-distributed training.py; flag advances but logs; off skips the check. Source: docs/operators.md:91-99.

Duplicate review

An exact-source-hash duplicate is rejected, and a borderline-similarity quarantine is folded into a terminal rejection at ingress. There is no operator hold-resolution surface. Source: docs/operators.md:101-108.

Running locally

Source: docs/operators.md:110-116.

Health checks

Internal weights require the shared token:
Source: docs/operators.md:124-137.

Deployment

In a deployment, PRISM registers as a challenge image reached by the master over the internal challenge network. Public miner traffic goes through the proxy, which verifies signatures and forwards to PRISM. Weights are exposed only via get_weights and are always dry-run. Source: docs/operators.md:118-122.

Troubleshooting

Source: docs/operators.md:139-148.