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

Download files

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

Source Distribution

ignite_ai-0.2.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

ignite_ai-0.2.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file ignite_ai-0.2.0.tar.gz.

File metadata

  • Download URL: ignite_ai-0.2.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.6

File hashes

Hashes for ignite_ai-0.2.0.tar.gz
Algorithm Hash digest
SHA256 9978837e69e16657cc69a74ea3f4d83b1fede96f5644a183244e47a1d6f0392d
MD5 dd644767a6bc4e8f22ff16a8a1e8da31
BLAKE2b-256 c8c0015017640b7bab2205a70ff31655a02f9e87154a7de1654c12f4aba11108

See more details on using hashes here.

File details

Details for the file ignite_ai-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: ignite_ai-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.6

File hashes

Hashes for ignite_ai-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 049a7f17d1b25fc27aad2a16014618de9215cf73ec84d6ed09074e4022c4d447
MD5 8b84bbb6bf144cf4c1f4a046fa09563d
BLAKE2b-256 9c0a953717a3dd3dad856d547c047c2b64dd656eee4dd3363a4836c6528bbd7f

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