paper-with-me

홈 › Papers

MiniTensor: A Lightweight, High-Performance Tensor Operations Library

2026-01-27 · Soumyadip Sarkar arxiv

We present MiniTensor, an open source tensor operations library that focuses on minimalism, correctness, and performance. MiniTensor exposes a familiar PyTorch-like Python API while it executes performance critical code in a Rust engine. The core supports dense $n$ dimensional tensors, broadcasting, reductions, matrix multiplication, reverse mode automatic differentiation, a compact set of neural network layers, and standard optimizers. In this paper, we describe the design of MiniTensor's architecture, including its efficient memory management, dynamic computation graph for gradients, and integration with Python via PyO3. We also compare the install footprint with PyTorch and TensorFlow to demonstrate that MiniTensor achieves a package size of only a few megabytes, several orders of magnitude smaller than mainstream frameworks, while preserving the essentials needed for research and development on CPUs. The repository can be found at https://github.com/neuralsorcerer/minitensor

📄 PDF Abstract BibTeX arXiv:2602.00125

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Tensor Computing Interface: An Application-Oriented, Lightweight Interface for Portable High-Performance Tensor Network Applications

2025-12-30 · Rong-Yang Sun, Tomonori Shirakawa, Hidehiko Kohshiro, D. N. Sheng 외 arxiv

Tensor networks (TNs) are a central computational tool in quantum science and artificial intelligence. However, the lack of unified software interface across tensor-computing frameworks severely limits the portability of…

Runtime Concurrency Control and Operation Scheduling for High Performance Neural Network Training

2018-10-21 · Jiawen Liu, Dong Li, Gokcen Kestor, Jeffrey Vetter

Training neural network often uses a machine learning framework such as TensorFlow and Caffe2. These frameworks employ a dataflow model where the NN training is modeled as a directed graph composed of a set of nodes. Ope…

BIG-bench Machine LearningScheduling

XCAT -- Lightweight Quantized Single Image Super-Resolution using Heterogeneous Group Convolutions and Cross Concatenation

2022-08-31 · Mustafa Ayazoglu, Bahri Batuhan Bilecen

We propose a lightweight, single image super-resolution network for mobile devices, named XCAT. XCAT introduces Heterogeneous Group Convolution Blocks with Cross Concatenations (HXBlock). The heterogeneous split of the i…

Data AugmentationGPUImage Super-ResolutionQuantization+1

Dynamic Tensor Rematerialization

2020-06-17 · ICLR 2021 1 · Marisa Kirisame, Steven Lyubomirsky, Altan Haan, Jennifer Brennan 외

Checkpointing enables the training of deep learning models under restricted memory budgets by freeing intermediate activations from memory and recomputing them on demand. Current checkpointing techniques statically plan …

It's All Just Vectorization: einx, a Universal Notation for Tensor Operations

2026-07-30 · Florian Fervers, Sebastian Bullinger, Christoph Bodensteiner, Michael Arens arxiv

Tensor operations represent a cornerstone of modern scientific computing. However, the Numpy-like notation adopted by predominant tensor frameworks is often difficult to read and write and prone to so-called shape errors…