Skip to main content

A biologically plausible, lightweight Spiking Neural Network engine (CPU-only, No-BP).

Project description

SARA Engine (Liquid Harmony)

SARA (Spiking Advanced Recursive Architecture) is a next-generation AI engine (SNN-based) that mimics the biological brain's "power efficiency, event-driven processing, and self-organization."

It completely eliminates the "backpropagation (BP)" and "matrix operations" that modern deep learning (ANNs) rely on, achieving advanced recognition and learning capabilities using only sparse spike communication.

It operates on CPU only, without using any GPU.

Current Version: v0.1.7

Features

  • No Backpropagation: Learns without error backpropagation, using local learning rules (Momentum Delta) and reservoir computing.
  • CPU Only & Lightweight: Does not require expensive GPU resources. Runs fast on standard CPU environments.
  • Multi-Scale True Liquid Reservoir: Three parallel reservoir layers with different temporal characteristics (Decay), with recurrent connections within each layer. Achieves short-term memory using information "echo."
  • Rust Acceleration: Core computation logic is written in Rust for high performance.

Installation

pip install sara-engine

Quick Start

from sara_engine import SaraGPT

# Initialize the brain
brain = SaraGPT(sdr_size=1024)

# Create an input pattern (SDR)
input_sdr = brain.encoder.encode("Hello SARA")

# Think (Forward pass)
output_sdr, spikes = brain.forward_step(input_sdr)

print(f"Output Active Neurons: {len(output_sdr)}")

License
MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sara_engine-0.1.7.tar.gz (42.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sara_engine-0.1.7-cp310-cp310-macosx_11_0_arm64.whl (299.8 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file sara_engine-0.1.7.tar.gz.

File metadata

  • Download URL: sara_engine-0.1.7.tar.gz
  • Upload date:
  • Size: 42.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.11.5

File hashes

Hashes for sara_engine-0.1.7.tar.gz
Algorithm Hash digest
SHA256 378cb938160c660c245607b73d937ec77a16d54a22d3c3ec61137abd0e06417c
MD5 7865da30cd6ccd4ea72b59f5e0ed6af7
BLAKE2b-256 eebc009a40dea76877e034aea8eb7316195b6d718907bb5d4630f1c114944a43

See more details on using hashes here.

File details

Details for the file sara_engine-0.1.7-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sara_engine-0.1.7-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 03065839f7a1c22a5ef70e9c256dae3fbe702b5b2243edf7868b10ed46f5c05c
MD5 5aa5c2762323cf6bc72183b87caf9a81
BLAKE2b-256 0394a86dc7d9f75bc421e5b3396f471f45dcdf35831c2a8fcefd4a78bf93edd0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page