Skip to content

Repository files navigation

Public Intelligence Scheduler

The Scheduler is the decision engine of the Public Intelligence network.

It maintains a registry of available compute nodes, receives periodic heartbeats, and selects the most appropriate node for inference requests.

Version 1 focuses on building the core scheduling infrastructure.


Demo

A walkthrough of the first working prototype is available on YouTube: Public Intelligence v1 Demo

This video demonstrates the end-to-end integration of the Website, Scheduler (showing the current v1 implementation), Node, registration, heartbeats, and local inference.


Current Features

  • Node registration
  • Node unregistration
  • Heartbeat processing
  • In-memory node registry
  • Deterministic scheduling algorithm
  • REST API
  • End-to-end demonstration
  • Comprehensive test suite

Architecture

               Client

                  │

                  ▼

            Scheduler API

                  │

                  ▼

          Scheduling Algorithm

                  │

                  ▼

            Node Registry

                  ▲

      Registration / Heartbeats

                  │

                  ▼

                 Nodes

Running

python -m scheduler.main

or

uvicorn scheduler.main:app --reload

Version

Current Release

v1.0.0

Roadmap

Version 2 will introduce:

  • Request orchestration
  • Automatic request forwarding
  • Failure recovery
  • Retry logic
  • Multi-node inference routing

Related Repositories

  • Public Intelligence Website
  • Public Intelligence Node

License

Apache 2.0

About

Central scheduler responsible for node registration, heartbeats, and request orchestration across the Public Intelligence network.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages