Ninfer-jetson-orin Optimized port - JP6.2 and JP7.2

I have successfully ported Don Chad’s ninfer-3090 port (which is a port of the Qwen3.[6,8] optimized inference engine ninfer for the 5090 ) to SM87 (Orin AGX).

I’ve just finished the JP6.2/CUDA 12.6 backport and seen significant improvement:

Model / workload Before optimization PP / TG before After optimization PP / TG after PP change TG change
Qwen3.8-27B dense, pp512+tg64 BF16 KV, MTP off 238.35 / 7.68 INT8 KV, MTP-3 235.32 / 11.00 -1.3% +43.2%
Qwen3.8-27B dense, pp2048+tg128 BF16 KV, MTP off 239.51 / 7.62 BF16 KV, MTP-4 238.25 / 17.86 -0.5% +134.4%
Qwen3.6-35B-A3B MoE, pp512+tg64 BF16 KV, MTP off 1192.99 / 37.50 BF16 KV, MTP-2 1178.62 / 43.63 -1.2% +16.3%
Qwen3.6-35B-A3B MoE, pp2048+tg128 BF16 KV, MTP off 1376.16 / 36.68 BF16 KV, MTP-4 1359.73 / 62.91 -1.2% +71.5%

I’ll post the JP7.2/CUDA13.1 updates in the next few days.

Hi,

You can also find the Qwen3.6 and 3.8 commands in the link below:

Thanks.

Sure, but your example is using stock “llama-server”, which is great but is not optimized at all for Orin (Arm64/Amphere/Unified Memory). The ninfer inference engines are significantly optimized for Qwen specifically on nVidia platforms.

My port just optimizes that for Orin.

Hi,

Yes, you can also try our TensorRT Edge LLM below:

It supports Qwen3.8 27B as well.
Thanks.

I posted this separately, but I’ve also ported strata for Orin: GitHub - calvinvette/strata-inference-orin: Qwen3.8-Flash-Next on any Jetson Orin AGX, derived from Strata inference engine. · GitHub

and I’m currently integrating both strata and ninfer in https://github.com/calvinvette/strata-ninfer-jetson-orin

Hi,

FYI.

TensorRT Edge LLM is different from the standard TensorRT, which has some LLM-related optimization.
It supports Orin from JetPack 7.2.

Thanks.

I even wonder whether you have actually used TensorRT-Edge-LLM yourself. I have compiled and used it on a Jetson AGX Orin 64GB to generate engines, and because of a design limitation—memory offload cannot be performed during engine profiling—the largest engine I could generate was for Qwen3.8 27B with a 32k context. The reason people in the community are trying various approaches (ninfer, orinfer, strata-on-orin) is precisely that TensorRT-Edge-LLM is not good enough. Please don’t be so quick to dismiss other developers’ shared work here; I find that attitude hard to accept.