English

No Saved Kaleidosope: an 100% Jitted Neural Network Coding Language with Pythonic Syntax

Programming Languages 2024-09-23 v1 Artificial Intelligence Machine Learning

Abstract

We developed a jitted compiler for training Artificial Neural Networks using C++, LLVM and Cuda. It features object-oriented characteristics, strong typing, parallel workers for data pre-processing, pythonic syntax for expressions, PyTorch like model declaration and Automatic Differentiation. We implement the mechanisms of cache and pooling in order to manage VRAM, cuBLAS for high performance matrix multiplication and cuDNN for convolutional layers. Our experiments with Residual Convolutional Neural Networks on ImageNet, we reach similar speed but degraded performance. Also, the GRU network experiments show similar accuracy, but our compiler have degraded speed in that task. However, our compiler demonstrates promising results at the CIFAR-10 benchmark, in which we reach the same performance and about the same speed as PyTorch. We make the code publicly available at: https://github.com/NoSavedDATA/NoSavedKaleidoscope

Keywords

Cite

@article{arxiv.2409.11600,
  title  = {No Saved Kaleidosope: an 100% Jitted Neural Network Coding Language with Pythonic Syntax},
  author = {Augusto Seben da Rosa and Marlon Daniel Angeli and Jorge Aikes Junior and Alef Iury Ferreira and Lucas Rafael Gris and Anderson da Silva Soares and Arnaldo Candido Junior and Frederico Santos de Oliveira and Gabriel Trevisan Damke and Rafael Teixeira Sousa},
  journal= {arXiv preprint arXiv:2409.11600},
  year   = {2024}
}

Comments

12 pages, 3 figures and 3 tables

R2 v1 2026-06-28T18:48:27.647Z