Skip to content

iekashaev/tinyrt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

tinygrad c++ inference engine

Setup

# Download stb_image and nlohmann::json libs
python3 setup_env.py

Compilation

clang++ -std=c++17 -o tinygrad_exec main.cc tinygrad/*.cc -lOpenCL -Ithird_party/ -I.

Compile weights

GPU=1 python3 examples/compile_efficientnet.py 

Usage

tinygrad_exec path_to_weights/net.safetensors path_to_arch/net.json path_to_image/image.jpg

TODO

  • Add other backends
  • Check on other architectures

About

tinygrad model runtime engine

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages