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.2
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sara_engine-0.1.3.tar.gz.
File metadata
- Download URL: sara_engine-0.1.3.tar.gz
- Upload date:
- Size: 32.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc4f093ea2b66dd0079d937cc40bc5bddc5122cc891907732b2a23adcb87f108
|
|
| MD5 |
a9b6131d5aab0a54812a64ec9ff92dd9
|
|
| BLAKE2b-256 |
55f9bbcf8e7c12fa36f10be6693817b02b98a82176d9d5048e3c3dd270925a5b
|
File details
Details for the file sara_engine-0.1.3-cp310-cp310-macosx_11_0_arm64.whl.
File metadata
- Download URL: sara_engine-0.1.3-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 239.8 kB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
299b268ee05e94f0202f569e48705907d5d900d7275f4cc07b40f9552f8c3569
|
|
| MD5 |
710af6f78f9f3af8dc02046d464f8861
|
|
| BLAKE2b-256 |
15657b8ff7f01e0d17287b0d86ac249a9ce01c28a0dda99e5d14ec2d3aee9e16
|