laya-multilingual β€” RK3588 and Jetson Orin

Converted artifacts and the acceptance data behind them, for running convaiinnovations/laya-multilingual on Rockchip RK3588 (RKNN) and NVIDIA Jetson Orin (TensorRT), entirely on-device.

Conversion recipes, measurements and the acceptance protocol live in the GitHub repository: https://github.com/suharvest/laya-on-rk3588-jetson

Files

File Bytes md5 What it is
oldship.s512.m16.fp16.nanguard.sharedmask.rk3588.rknn 663,180,269 cff6c915b98b0400f888d55f5679fa69 RK3588 delivery, fp16
laya.s512.fp16.engine 650,779,868 ae0688b17b297b1474a18a97e9e04c77 Jetson Orin delivery, fp16
oldship.s512.m16.nanguard.sharedmask.onnx 1,290,265,010 5c68449182db6dd94587736bad27ccff the ONNX the RK3588 artifact was converted from
laya-multilingual.s512.m16.fp32.ng.onnx 1,290,257,838 191668c270e31fe4b94674b487bef1dc the ONNX the Jetson engine was built from
calib/ 692 KB β€” 8 calibration + 16 held-out samples at seq=512
golden/ 8 KB β€” ORT fp32 reference dump for those 16 samples

The two platforms do not share an ONNX graph. They come from separate exports and undergo different graph surgery; see ARTIFACTS.md in the GitHub repository.

Measured

seq = 512. top1 is the argmax over the model's live candidate classes on the 16 held-out samples, scored against the ORT fp32 reference.

Platform p50 p95 top1 order_exact
RK3588 (Radxa ROCK 5T) 509 ms ≀598 ms 16/16 15/16
Jetson Orin NX 18.9 ms 24.8 ms 16/16 16/16
Jetson Orin Nano 22.0 ms 22.9 ms 16/16 16/16

Neither is bit-identical to the fp32 reference β€” fp16 diverges at the third decimal while preserving the ordering. RK3588 p50 requires the CPU governor pinned to performance.

Quantization

Neither platform reached usable accuracy when quantized.

  • Jetson, explicit INT8 Q/DQ β€” this does engage the tensor cores (247/259 layers, i8i8β†’i32, 1.28–1.31Γ— faster) but the per-tensor activation scales clip the outlier channels that carry the signal: the first quantized activation is clipped 7Γ—. top1 5–6/16.
  • Jetson, implicit INT8 PTQ β€” silently produces 0 int8 layers; the engine is bit-identical to fp16.
  • Jetson, INT4 weight-only β€” 1.62Γ— slower than fp16; sm_87 has no fused int4 kernel.
  • RKNN, INT8 / w4a16 β€” logits collapse; w4a16 reports a flattering rel_l2 (7.1e-05) while the ranking breaks (6/16).

Full mechanisms, and where the ceiling actually is: docs/quantization.md.

Long context

seq = 8192 is not usable, and the cause is the model rather than the deployment: on a planted-fact probe (4-way choice, chance 25%) the fp32 reference itself scores 36% at 8192, indistinguishable from chance. 512 scores 52.5%. See docs/context-length.md.

License and attribution

Apache-2.0, inherited from the upstream model. laya and laya-multilingual are the work of their respective authors; this repository is downstream of them and not affiliated with them.

"Jev" is a product of TypeSafe AI, Inc. This repository is not affiliated with, endorsed by, or sponsored by TypeSafe AI, Inc. References to Jev are descriptive β€” laya implements the same System One typed-decision interface.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for harvestsu/laya-multilingual-rknn-tensorrt

Quantized
(40)
this model