This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM69A: Different TIDL Versions between prebuilt and 10.1 SDK

Part Number: AM69A

Tool/software:

Hello,

I am trying to compile an ONNX model using TIDL libraries.

  • Using the prebuilt TIDL tools downloaded via /home/root/edgeai-tidl-tools/scripts/get-tidl-tools.sh am69a I figured that it's using TIDL version 10_01_04_00
    -------------------------------------------------------------------------------
    |          TIDL Tools Version          |              10_01_04_00             |
    -------------------------------------------------------------------------------
    |         C7x Firmware Version         |              10_01_00_01             |
    -------------------------------------------------------------------------------
    |            Runtime Version           |                1.15.0                |
    -------------------------------------------------------------------------------
    |          Model Opset Version         |                  16                  |
    -------------------------------------------------------------------------------

  • When building TIDL from the ti-processor-sdk-rtos-j784s4-evm-10_01_00_04 (using make tidl_pc_tools -j), I got this version of TIDL 10_01_00_01:
    -------------------------------------------------------------------------------
    |          TIDL Tools Version          |              10_01_00_01             |
    -------------------------------------------------------------------------------
    |         C7x Firmware Version         |              10_01_00_01             |
    -------------------------------------------------------------------------------
    |            Runtime Version           |                1.15.0                |
    -------------------------------------------------------------------------------
    |          Model Opset Version         |                  16                  |
    -------------------------------------------------------------------------------

Why there is this difference? (Knowing that I didn't change anything in the SDK)

Is there some documentation or steps to update the TIDL version used in the SDK from 10_01_00_01 to 10_01_04_00 ?

  • Hi Ghassen,

    When you build the tools, it is what is in the source code that gets built.  So it will closely match what is in the build source code, when you download the tools via scripts/get-tidl-tools.sh, you will get the latest.  To fix this, please do a "git tag" and pick the version you want.  Then git checkout <tag_you_selected> -b whatever_you_want_to_call_this_branch.  Then, do scripts/get-tidl-tools.sh, and it should match your tag version.

    Regards,

    Chris

  • Hello Chris,

    Thank you for your reply.

    The solution that you proposed is used to change the branch from where I download the prebuilt tidl.

    My question is how to change the source code in SDK to match the latest version which is 10_01_04_00?

  • Hi Ghassen,

    That will require downloading a new SDK or installing a patch release (if one is available).

    Chris

  • This is the latest SDK 10_01_00_04, how to know if there is a patch or not?

  • Hi Ghassan,

    If you installed a patch, then you would know.  Otherwise, the odds are it is not patched.   In this case, 10_01_00_04 is the latest, and the new 11.0 will be out next week.

    Regards,

    Chris

  • Hello Chris,

    The new SDK version 11.0 has been released, but it includes TIDL version 11_00_06_00.

    In my project, we are required to use SDK version 10.01, which comes with TIDL 10_01_00_01. However, we need to upgrade to TIDL 10_01_04_00 within this SDK.

    Could you please help me create a patch or guide me on how to update the TIDL version from 10_01_00_01 to 10_01_04_00 in SDK 10.1?

    Thank you in advance for your support.

  • Hi Ghassen,

    10_01_00_01 and 10_01_04_00 are practically the same, but if you want to go to 10_01_04_00, do a git pull in your edgeai-tidl-tools directory and checkout the 10_01_04_00 tag with a new branch.  For example:

    git checkout 10_01_04_00 -b 10_01_04_00

    And you will have the new version on the 10_01_04_00 branch.  Then run the setup instructions for the new branch.

    My question is, why is 10_01_04_00 so important?  10_01_00_01 and 10_01_04_00 are essentially the same.  If you are going to change, why not go to 11.0?  Or better yet, when the 11.0 backport patch for 10_01 is posted, why not go with that?  That way, you get the 11.0 bug fixes and enhancements on the 10.1 line.

    Regards,

    Chris