codewithkyrian/onnxruntime-downloader-plugin

A lightweight composer plugin for `ankane/onnxruntime` package to download the ONNXRuntime binaries for PHP

1.1.0 2024-04-04 18:35 UTC

This package is auto-updated.

Last update: 2024-09-04 19:40:29 UTC


README

This is a very simple composer plugin meant to work with the ankane/onnxruntime-php package. It downloads the ONNXRuntime library for the current platform and architecture when the package is installed, and verifies it's presence when the package is updated.

git has a way of downloading the ONNXRuntime library already, but you have to manually trigger it after installing the package. This plugin automates that process.

Installation

composer require codewithkyle/onnxruntime-downloader-plugin

Future Plans

  • Add support for optional configuration options like downloading the GPU version of the library.