Skip to main content

Ignite AI 🔥

A tiny deep learning library built from scratch in Python.

Ignite is a lightweight neural network library focused on learning how AI works internally.

Features

  • ✅ Tensor system
  • ✅ Automatic differentiation
  • ✅ Basic tensor operations
  • ✅ Neural network layers
  • ✅ SGD optimizer
  • ✅ Pure Python

Installation

pip install ignite-ai

Example

import ignite

x = ignite.Tensor([2, 3])
y = ignite.Tensor([4, 5])

z = x * y

z.backward()

print(z)

Neural Networks

import ignite

layer = ignite.nn.Linear(2, 3)

x = ignite.Tensor([1, 2])

output = layer(x)

print(output)

Optimizer

import ignite

parameter = ignite.Parameter([1.0, 2.0])

optimizer = ignite.SGD(
    [parameter],
    lr=0.01
)

optimizer.zeroGrad()
optimizer.step()

Project Structure

ignite/
├── __init__.py
├── tensor.py   # Tensor, Parameter, autograd
├── nn.py       # Neural network layers
└── optim.py    # Optimizers

Why Ignite?

Large AI frameworks are powerful but can be difficult to understand.

Ignite is designed to be small, simple, and educational.

License

MIT License

Metadata

Release files for ignite-ai 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ignite-ai 0.2.0
File Size Uploaded
ignite_ai-0.2.0.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ignite-ai 0.2.0
File Interpreter ABI Platform
ignite_ai-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.1 kB

Release files / ignite_ai-0.2.0.tar.gz

Download URL ignite_ai-0.2.0.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9978837e69e16657cc69a74ea3f4d83b1fede96f5644a183244e47a1d6f0392d
BLAKE2b-256 checksum
How to use checksums
c8c0015017640b7bab2205a70ff31655a02f9e87154a7de1654c12f4aba11108
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / ignite_ai-0.2.0-py3-none-any.whl

Download URL ignite_ai-0.2.0-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
049a7f17d1b25fc27aad2a16014618de9215cf73ec84d6ed09074e4022c4d447
BLAKE2b-256 checksum
How to use checksums
9c0a953717a3dd3dad856d547c047c2b64dd656eee4dd3363a4836c6528bbd7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page