Skip to content
/ mint Public

Single-header file, minimalist tensor library (and neural net runtime engine) in pure C

Notifications You must be signed in to change notification settings

ariaghora/mint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This library is super new, and I cannot guarantee long-term maintenance commitment. If you need something faster and highly optimized, you should use ggml or a similar alternative.


Mint is a single-file header only library for tensor manipulation. It also enables importing and executing some of neural net models. Mint aims to be dependency-free (except for C standard lib) and easily distributed. However, it is possible to integrate with the other libraries such as BLAS if needed.

Some of notable features:

  • NumPy style broadcasting
  • BLAS backend (optional)
  • OpenMP acceleration (when linked)

Tested models

Torchvision Models

The torchvision models are dumped into ONNX, then converted to Mint model format for inference.

  • AlexNet
  • VGG-19
  • ResNet-18

Fast neural style transfer

All models here with opset 8 work well

About

Single-header file, minimalist tensor library (and neural net runtime engine) in pure C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published