51
lium.io
sn51Inference & ComputeClean15Strong entry87No description set on the registered repo.
Datura-ai/lium-io· pushed 7h ago reg. open
Emission
93.8
TAO / day · live
Alpha
0.3903
τ · mcap 1.6M
Top-slot payout
1.876
τ per winning epoch · live
Stars
40
live from the GitHub API
Primary language
Python
repo-reported
Last push
7h ago
feeds the dormancy integrity signal
Topics
7
repo-declared tags
About the repo
what the project says about itself — the input for semantic labels
No description set on the repo.
bittensorbittensor-subnetcloud-gpudecentralized-computegpugpu-marketplacegpu-rental
Reading this tab
scope of the data
Taonets fetches the repo's public metadata (description, topics, language, stars, last push) and the head of its README. Commit-count histories, contributor lists and release notes require the GitHub commits/releases endpoints, which the worker doesn't consume yet — those panels are coming with the ingest upgrade and are not simulated in the meantime.
README head
first lines of the default branch README, unedited
# lium.io **[Lium Documentation](https://docs.lium.io)** — providers: <https://docs.lium.io/providers>, validators: <https://docs.lium.io/validators> <img width="469" height="468" alt="image" src="https://github.com/user-attachments/assets/69550b83-91a9-492a-bd7a-09d35c6106d3" /> Welcome to **Lium.io powered by Bittensor Subnet 51**! This project enables a decentralized, peer-to-peer GPU rental marketplace, connecting miners who contribute GPU resources with users who need computational power. Our frontend interface is available at [lium.io](https://lium.io), where you can easily rent machines from the subnet. ## Table of Contents - [Introduction](#introduction) - [High-Level Architecture](#high-level-architecture) - [Getting Started](#getting-started) - [For Renters](#for-renters) - [For Miners](#for-miners) - [For Validators](#for-validators) - [Repository Layout](#repository-layout) - [Running the Tests](#running-the-tests) - [Releases](#releases) - [Contact and Support](#contact-and-support) ## Introduction The Compute Subnet on Bittensor is a decentralized network that allows miners to contribute their GPU resources to a global pool. Users can rent these resources for computational tasks, such as machine learning, data analysis, and more. The system ensures fair compensation for miners based on the quality and performance of their GPUs. ## High-Level Architecture - **Miners**: Provide GPU resources to the network, evaluated and scored by validators. - **Validators**: Securely connect to miner machines to verify hardware specs and performance. They maintain the network's integrity. - **Renters**: Rent computational resources from the network to run their tasks. - **Frontend (lium.io)**: The web interface facilitating easy interaction between miners and renters. - **Bittensor Network**: The decentralized blockchain in which the compensation is managed and paid out by the validators to the miners through its native token, $TAO. ## Getting Started ### For Renters If you are looking to rent computational resources, you can easily do so through the Compute Subnet. Renters can: 1. Visit [lium.io](https://lium.io) and sign up. 2. **Browse** available GPU resources. 3. **Select** machines based on GPU type, performance, and price. 4. **Deploy** and monitor your computational tasks using the platform's tools. To start renting machines, visit [lium.io](https://lium.io) and access the resources you need. **Command-Line Alternative**: For renters who prefer working from the terminal, you can also use the [Lium CLI](https://github.com/Datura-ai/lium) - a command-line interface that allows you to manage GPU pods, SSH into machines, transfer files, and execute commands directly from your terminal. Install it with `pip install lium.io`. ### For Miners Miners can contribute their GPU-equipped machines to the network. The machines are scored and validated based on factors like GPU type, number of GPUs, bandwidth, and overall GPU performance. Higher performance results in better compensation for miners. If you are a miner and want to contribute GPU resources to the subnet, please refer to the [Miner Setup Guide](neurons/miners/README.md) for instructions on how to: - Set up your environment. - Install the miner software. - Register your miner and connect to the network. - Get compensated for providing GPUs! ### For Validators Validators play a crucial role in maintaining the integrity of the Compute Subnet by verifying the hardware specifications and performance of miners’ machines. Validators ensure that miners are fairly compensated based on their GPU contributions and prevent fraudulent activities. For more details, visit the [Validator Setup Guide](neurons/validators/README.md). ## Repository Layout Three neurons, each with its own `pyproject.toml` / `pdm.lock`, Dockerfile and compose files; `watchtower/`, its own pdm project with a Dockerfile; one shared pdm package (`datura/`, a `pyproject.toml` only); `packages/lium-core/`, the library published to PyPI; and `lium_protocol/`, the validator↔backend wire package (its own `pyproject.toml`). The root `pyproject.toml` (`compute-subnet`, Python 3.11) holds the shared `[tool.ruff]` config and the repo-wide dev tools (`ruff`, `pre-commit`), plus one declared runtime dependency (`aiohttp`): - `neurons/validators/` — the validator: scores miners, verifies executors over SSH, creates and manages rental containers on them (`src/services/docker_service.py`), sets weights. `src/miner_jobs/` holds the scripts the validator uploads to an executor and runs there (`machine_scrape.py` hardware scrape, `backup_storage.py` / `restore_storage.py`, `workspace_mount.py`); `machine_scrape.py` is obfuscated per job by `src/services/file_encrypt_service.py` before upload, so its key order is load-bearing (see the comment at the top of that file). - `neurons/miners/` — the miner: registers executors with the network and answers validator requests; its database schema is Alembic migrations under `migrations/`. - `neurons/executor/` — the agent installed on a GPU machine: exposes the machine to its miner's validators, runs the containers. `dstacktee/` runs it inside an Intel TDX confidential VM with attestation (its own README). - `datura/` — the protocol shared by the three: request/response models (`datura/requests`), consumers, errors. - `packages/lium-core/` — `lium_core.shared_config`, the shared-config client the validator and the miner install from PyPI as `lium-core` (its own README; CI `lium-core-ci.yml`, release by hand through `lium-core-release.yml`). - `lium_protocol/` — the validator↔backend wire protocol as one versioned package: every WebSocket message in both directions and every backend HTTP body the validator reads, as pydantic models, with a committed JSON-schema snapshot (`lium_protocol/lium_protocol/snapshots/lium_protocol.v1.json`) that CI compares with the models. Consumers pin it by tag (`lium_protocol/README.md`); `neu