Aicraft
Skip to main content

Changelog

All notable changes to Aicraft are documented here.

Format: Semantic Versioning


[1.0.0] โ€” 2026-03-01โ€‹

Initial public release ๐ŸŽ‰

Coreโ€‹

  • Tensor engine: N-dimensional tensors with broadcasting, slicing, and reshape
  • Autograd: Reverse-mode automatic differentiation with 22 differentiable ops
  • Arena allocator: Checkpoint/restore memory management with zero per-tensor malloc

Layersโ€‹

  • ac_dense โ€” Fully-connected layer with configurable activation
  • ac_conv2d โ€” 2D convolution (coming in v1.1)
  • ac_batchnorm โ€” Batch normalisation
  • ac_dropout โ€” Dropout regularisation

Activationsโ€‹

  • ReLU, LeakyReLU, Sigmoid, Tanh, Softmax, GELU

Loss Functionsโ€‹

  • Mean Squared Error (MSE)
  • Cross-Entropy
  • Binary Cross-Entropy
  • Huber Loss

Optimisersโ€‹

  • SGD, SGD with Momentum
  • Adam, AdamW

Backendsโ€‹

  • SIMD: AVX2, AVX-512, ARM NEON hand-tuned kernels
  • Vulkan: 14 GLSL compute shaders for GPU acceleration

Quantisationโ€‹

  • Post-training INT8 quantisation with asymmetric per-tensor scaling

Serialisationโ€‹

  • Binary format for weights (ac_save_weights / ac_load_weights)

[Unreleased]โ€‹

Planned for v1.1โ€‹

  • Conv2D layer with im2col optimisation
  • MaxPool2D / AvgPool2D layers
  • RNN / LSTM cells
  • ONNX export

Planned for v1.2โ€‹

  • Automatic mixed precision (FP16/BF16)
  • Multi-GPU support (Vulkan)
  • Metal backend for Apple Silicon
  • WebAssembly build target

How to Upgradeโ€‹

Aicraft is header-only, so upgrading is simple:

cd Aicraft
git pull origin main

Then recompile your project. No ABI concerns.


Reporting Issuesโ€‹

Found a bug? Please open an issue at:

https://github.com/TobiasTesauri/Aicraft/issues