NeuroShard
Decentralized LLM Training Network
Website • Documentation • Whitepaper • Discord • Twitter
What is NeuroShard?
NeuroShard is a decentralized network for training large language models. Anyone can contribute GPU/CPU power and earn NEURO tokens through Proof of Neural Work.
Unlike centralized AI companies, NeuroShard distributes both the compute AND the rewards across all participants.
Key Features
| Feature | Description |
|---|---|
| DiLoCo Training | Distributed Low-Communication training - sync every 500 steps, not every step |
| Byzantine Tolerance | Robust gradient aggregation (Krum, Trimmed Mean) handles malicious nodes |
| NEURO Rewards | Earn tokens for contributing compute via Proof of Neural Work |
| Cryptographic Proofs | ECDSA-signed proofs ensure trustless verification |
| Web Dashboard | Real-time monitoring at http://localhost:8000 |
| P2P Network | Decentralized peer discovery and gossip protocol |
Quick Start
Installation
pip install neuroshard
Run a Node
# Get your token from neuroshard.com
neuroshard --token YOUR_TOKEN
That's it! Your node will:
- Connect to the network
- Start training model layers
- Earn NEURO for your contribution
Web Dashboard
Open http://localhost:8000 to see:
- Node status and role
- Training progress (DiLoCo inner/outer steps)
- NEURO balance
- Network statistics
System Requirements
| Component | Minimum | Recommended |
|---|---|---|
| RAM | 4 GB | 8+ GB |
| Python | 3.9+ | 3.10+ |
| GPU | Optional | NVIDIA 8GB+ VRAM |
GPU Support (Optional)
For NVIDIA GPUs with CUDA:
pip install torch --index-url https://download.pytorch.org/whl/cu118
How It Works
DiLoCo Distributed Training
NeuroShard uses DiLoCo (Distributed Low-Communication) for efficient distributed training:
┌─────────────────────────────────────────────────┐
│ INNER LOOP (500 steps - no communication) │
│ • Each node trains independently │
│ • Local AdamW optimization │
└─────────────────────────────────────────────────┘
↓
┌─────────────────────────────────────────────────┐
│ OUTER LOOP (sync with peers) │
│ • Compute pseudo-gradient: Δθ = θ₀ - θ₅₀₀ │
│ • Gossip to peers │
│ • Byzantine-tolerant aggregation │
│ • Nesterov momentum update │
└─────────────────────────────────────────────────┘
↓
(Repeat)
This reduces network communication by 500x compared to synchronous training!
Proof of Neural Work
Nodes earn NEURO by submitting cryptographically signed proofs of their work:
- Training batches processed
- Inference requests served
- Uptime contribution
- Data samples provided
All proofs are verified using ECDSA signatures (secp256k1).
Configuration
CLI Options
neuroshard --token YOUR_TOKEN \
--port 8000 \
--tracker https://tracker.neuroshard.com \
--training \
--diloco-steps 500
| Option | Default | Description |
|---|---|---|
--token |
Required | Your node authentication token |
--port |
8000 | HTTP server port |
--tracker |
Auto | Tracker server URL |
--training |
False | Enable training mode |
--diloco-steps |
500 | Inner steps before sync |
See full CLI reference for all options.
Architecture
┌─────────────────────────────────────────────────────────────┐
│ NeuroShard Node │
├─────────────────────────────────────────────────────────────┤
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────────────┐ │
│ │ NeuroLLM │ │ DiLoCo │ │ Proof of Neural │ │
│ │ (Model) │ │ Trainer │ │ Work Ledger │ │
│ └─────────────┘ └─────────────┘ └─────────────────────┘ │
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────────────┐ │
│ │ P2P/DHT │ │ Gradient │ │ ECDSA Crypto │ │
│ │ Network │ │ Aggregator │ │ (secp256k1) │ │
│ └─────────────┘ └─────────────┘ └─────────────────────┘ │
└─────────────────────────────────────────────────────────────┘
Documentation
- Whitepaper - Technical whitepaper (PDF)
- Getting Started - First steps
- Running a Node - Detailed setup
- Architecture - System design
- Economics - NEURO tokenomics
- API Reference - SDK & endpoints
Links
| Resource | Link |
|---|---|
| Website | neuroshard.com |
| Documentation | docs.neuroshard.com |
| Whitepaper | |
| Discord | discord.gg/4R49xpj7vn |
| @shardneuro | |
| PyPI | pypi.org/project/neuroshard |
Contributing
We welcome contributions! Please see our Contributing Guide for details.
# Clone the repo
git clone https://github.com/Nexaroa/neuroshard.git
cd neuroshard
# Install dev dependencies
pip install -e ".[dev]"
# Run tests
pytest
License
Apache License 2.0 - see LICENSE for details.
Train AI. Earn NEURO. Own the Network.
Metadata
Release files for nexaroa 0.2.85
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nexaroa-0.2.85.tar.gz | 581.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nexaroa-0.2.85-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.1 MB
Release files / nexaroa-0.2.85.tar.gz
| Download URL | nexaroa-0.2.85.tar.gz |
|---|---|
| Size | 581.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1aa96dfe89d12deef08b8e284879c554d104ed0ee32de6293ebb80481bcd4ce3
|
|
BLAKE2b-256 checksum How to use checksums |
4f8513acf990f62acef636f9cb8cbaaeae7a9e82c07996aa09cd62b640406e44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / nexaroa-0.2.85-py3-none-any.whl
| Download URL | nexaroa-0.2.85-py3-none-any.whl |
|---|---|
| Size | 481.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
06bf7f1298102988e19074d6dc143468f2a56661c77374a277c723d79960d761
|
|
BLAKE2b-256 checksum How to use checksums |
7a64ca0df30b70cf90d4acccb04f168062e43b1bf9ad80c7499ddf85994de254
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|