ailia Tech BLOG

Released ailia SDK 1.2.13

We are pleased to introduce version 1.2.13 of ailia SDK, a cross-platform framework to perform fast AI inference on GPU or CPU. You can find more information about ailia SDK on the official website.

Acceleration through enhanced TensorCore support on NVIDIA platforms

Enhanced TensorCore support on the NVIDIA platform provides significant speedups in the FP16 environment; Jetson NX can infer yolox 1.54 times faster than ailia SDK 1.2.12.

In ailia-models, available backends (execution environments) can be enumerated with the env_list option.

$ python3 yolox.py --env_list

By default the FP32 backend is used so please manually select the FP16 backend from the enumerated list; for Jetson, backend number 2 corresponds to FP16.

$ python3 yolox.py -e 2

Support for Jetson Orin

ailia 1.2.13 support Jetpack 5.0.2 and cuDNN 8.3 and are now compatible with Jetson Orin, enabling fast inference using TensorCore.

Metal and Vulkan support for optimized specific activation functions

The composite activations added for CPU and CUDA in ailia SDK 1.2.12 have been added for Metal and Vulkan. In addition, we have extended the GPU execution range of ResizeNearest and Concat. macOS (M1 Max) can now infer yolox 1.48 times faster than ailia SDK 1.2.12.

Reduction of memory copying

Improved performance of the ailiaSetBlobData API for models with multiple inputs and outputs; Python essentially uses the ailiaSetBlobData API, which improves overall performance when used from Python.

ONNX opset 16 support

Bernoulli, CastLike, GreaterOrEqual, GridSample, LessOrEqual are implemented, and ONNX opset 16 is supported.

Acceleration of DiffusionModel by speeding up Einsum

Accelerated Einsum for faster inference in DiffusionModel. ailia-models DiffusionModel are now faster using GPU.

ailia-models/diffusion at master · ailia-ai/ailia-modelsThe collection of pre-trained, state-of-the-art AI models for ailia SDK — ailia-models/diffusion at master ·…github.com

End of support for C++ AMP

Microsoft has deprecated C++ AMP thus we have decided to discontinue the support of C++ AMP. Vulkan Backend can be used instead.

Enhanced Unity documentation

The documentation for each API of Unity has been enhanced. You can check it from the following URL.

ailia: ailia Unity Plugin DocumentEdit descriptionailia-ai.github.io

Introduction of new models

ailia-models/depth_estimation/crestereo at master · ailia-ai/ailia-modelsAilia input shape(1, 3, 360, 640) (Image from https://vision.middlebury.edu/stereo/data/scenes2003/) rigth image input…github.com

ailia-models/depth_estimation/mobilestereonet at master · ailia-ai/ailia-models(Image from http://www.cvlibs.net/datasets/kitti/eval_scene_flow.php) Automatically downloads the onnx and prototxt…github.com

Source: Flickr30K(https://github.com/microsoft/GLIP/blob/main/DATA.md

ailia-models/object_detection/glip at master · ailia-ai/ailia-models(Image from http://farm4.staticflickr.com/3693/9472793441_b7822c00de_z.jpg) This model requires additional module. pip3…github.com

Souce: https://github.com/Li-Chongyi/Dehamer/blob/main/data/classic_test_image/input/canyon.png

ailia-models/image_manipulation/dehamer at master · ailia-ai/ailia-models(Image from https://github.com/Li-Chongyi/Dehamer/blob/main/data/classic_test_image/input/canyon.png) Shape : (1, 3…github.com

ailia-models/object_detection/detic at master · ailia-ai/ailia-models(Image from https://web.eecs.umich.edu/~fouhey/fun/desk/desk.jpg, credit David Fouhey) Automatically downloads the onnx…github.com

The opset16 version is available with the following command: GridSample can be run inside the ailia SDK, thus avoiding the problem of possible conflicts with Pytorch’s cuDNN version.

$ python3 detic.py --opset16

Evaluation version of ailia SDK

ailia SDK 1.2.13 evaluation version can be downloaded at the link below.

ailia Inc.A future in which all devices carry AI We believe such a future is on the way. To usher in that day, we will keep…ailia.ai


ailia SDK is a self-contained cross-platform high speed inference SDK for AI developed by ailia Inc.

ailia Inc. provides a wide range of services from consulting and model creation, to the development of AI-based applications and SDKs. Feel free to contact us for any inquiry.