Mispatch between CLML SDK version to target supported version:2

I am getting below error when trying to run the CLML(SDK_3.0) enabled model in android device. Error: /tvm/src/runtime/contrib/clml/clml_runtime.cc:102: InternalError: Check failed: (h_ClmlIntf != nullptr) is false: clGetMLInterfaceVxQCOM:0 Perhaps there is mispatch between CLML SDK version to target supported version:2

Device: Qualcom Snapdragon 8 Gen 2.

@srkreddy1238 Any idea why CLML SDK_3.0 is not supported with Snapdragon 8 Gen2 devices?

Is there any link/portal where I can download CLML SDK_2.0/2.1?

Can you share more details about the device like make/model/region …etc ?

I am using Snapdragon8 Gen 2, SM8550 soc.

@srkreddy1238 , Is there any link/portal where I can download CLML SDK_2.0/2.1?

Is it a commercial device ?

yes, it is commercial device only.

Any make / model you could share about the commercial device ? All Gen 2 commercial devices I have reports CLML 3.0.

What is the above error means? does it mean device support cmlm 2.0 or 3.0?

Hi Rameest,

Yes, unfortunately it looks like your device only supports CLML 2.0 and not 3.0 which is expected for SM8550 / Adreno 740.

As a workaround, can you update the macro within the CLML SDK file: CL/cl_qcom_ml_ops.h

With: :#define CL_QCOM_ML_OPS_H_MAJOR_VERSION 2

Rebuilding your binaries should re-populate this macro within the TVM source and unblock the error you are receiving.

As to why the device does not support CLML 3.0, I cannot answer that unfortunately.

thank you