Skip to main content

Aether: A Post-Transformer Neural Architecture — 20x smaller, trains on phone CPU

Project description

⚡ Aether

A neural architecture that makes Transformers obsolete. With its own programming language: Flux.

License: MIT Python 3.8+ PyTorch


Install

From GitHub (works right now):

pip install git+https://github.com/YOUR_USERNAME/aether.git

From PyPI (after publishing):

pip install aether-nn

Clone locally:

git clone https://github.com/YOUR_USERNAME/aether.git
cd aether
pip install -e .

Flux Language

Aether comes with Flux — its own programming language for neural networks.
Write a model in 10 lines instead of 500.

Create a file mymodel.fx:

model ChatBot {
    size: micro
    vocab: 32000
    context: infinite

    memory {
        working:  512
        episodic: 2048
        semantic: 8192
    }

    block * 6 {
        attend fractal(scales=3, heads=8)
        remember hierarchical()
        think sparse_moe(experts=4)
    }

    quantize: ternary
}

train ChatBot {
    data: "data.txt"
    steps: 10000
    batch: 4
    lr: 3e-4
    device: auto
    save: "./checkpoints"
}

generate ChatBot {
    prompt: "Hello"
    tokens: 200
    temperature: 0.8
}

Run it:

python flux/flux.py run mymodel.fx

Or use Flux CLI:

python flux/flux.py check mymodel.fx    # syntax check
python flux/flux.py compile mymodel.fx  # show generated Python
python flux/flux.py new MyModel         # create template

Python API

from aether import AetherModel, AetherConfig

config = AetherConfig.nano()   # 0.6 MB
model = AetherModel(config)

import torch
ids = torch.randint(0, 256, (1, 32))
out = model(ids)
print(out["logits"].shape)  # (1, 32, 256)

Why Aether?

The Transformer solved one problem: parallelizing RNNs.
Aether solves six problems of the Transformer simultaneously.

GPT-4 Mamba RWKV Aether
Infinite context ⚠️ ⚠️
Trains on phone
Model size (10B) ~20GB ~8GB ~8GB ~800MB
Learns after deploy
True reasoning
Own language Flux
Speed on CPU 1x 4x 4x 20x

Model Sizes

Variant Params Ternary Size Quality
Aether-Nano 3M 0.6 MB Basic
Aether-Micro 14M 2.6 MB Good
Aether-Mini 116M 22 MB GPT-2 level
Aether-Base 350M 66 MB Strong
Aether-Large 1.3B 246 MB Excellent

Architecture

5 innovations in one unified system:

[1] Fractal Sparse Attention   O(n·log n) vs O(n²)
[2] Hierarchical Memory        Infinite context
[3] Asymmetric Depth Routing   10-50x compute savings
[4] Causal World Model         True reasoning
[5] Continuous Learning        Adapts at inference time

Training

# With Flux (recommended)
python flux/flux.py run flux/examples/nano.fx

# With Python directly
python train/train.py --config nano --data your_text.txt

License

MIT — free for everyone, including commercial use.


Citation

@misc{aether2026,
  title={Aether: A Post-Transformer Architecture},
  year={2026},
  url={https://github.com/YOUR_USERNAME/aether}
}

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

aether_nn-0.1.0.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

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

aether_nn-0.1.0-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file aether_nn-0.1.0.tar.gz.

File metadata

  • Download URL: aether_nn-0.1.0.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for aether_nn-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b83f57d2575ecdd47dbe341f087941cd2fd93970b5fba3ce52567ae62020e079
MD5 9bc4dd15890fcb14c77ba49be333ce69
BLAKE2b-256 49b8bb8d8ed8b3234a80ca6921b44a8eefd59b30b74e1dc5c33d4aab05002fef

See more details on using hashes here.

File details

Details for the file aether_nn-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: aether_nn-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for aether_nn-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 acf6f9676dd42052d7fe5bf78e1afc13637a74c154ad4b174734f5dc4d9d7f98
MD5 cb6c5dbd51af9558bc8524669326e360
BLAKE2b-256 9cdefafdff3521527e912c846cb5186dce464fd0ddc9e88d464f445e6b378a16

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