Skip to main content

laya_dart 0.0.4 copy "laya_dart: ^0.0.4" to clipboard
laya_dart: ^0.0.4 copied to clipboard

Run local Laya decision models in Flutter using ONNX Runtime.

0.0.4 #

  • Fix Windows model loading by creating ONNX Runtime sessions with UTF-16 model paths.

0.0.3 #

  • Download the default Laya bundle from uppppiiiii/laya_onnx at a pinned Hugging Face revision, with SHA-256 verification for every bundle file.
  • Run asynchronous native inference on a worker isolate and safely drain queued requests when closing a Laya session.
  • Document the default model, local/offline loading, and all question types.
  • Add package repository metadata and compatible dependency constraints for pub.dev publishing.

0.0.1 #

  • Added local Laya bundle loading through ONNX Runtime.
  • Added choice, score, and noul question construction and decoding.
  • Added NFC + ByteLevel BPE tokenization and tensor batching.
  • Added synchronous and asynchronous prediction APIs.
2
likes
160
points
493
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Run local Laya decision models in Flutter using ONNX Runtime.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

crypto, ffi, flutter, http, onnxruntime_v2, path_provider, unorm_dart

More

Packages that depend on laya_dart