Migrating to the TAO Toolkit API from TAO Toolkit 5.3.0

In TAO Toolkit 5.3.0, the TAO Toolkit APIs introduces some breaking changes in the interface that are outlined below.

  • Helm chart service name has changed from tao-toolkit-api to nvtl-api

  • The nvidia-tao-client command line interface, will be deprecated in the future. The notebooks use nvtl-api as the entrypoint.

  • model object in the TAO Toolkit API has been renamed to experiment.

  • Handlers are in plural format in the endpoints, datasets, experiments.

    Example:

    Copy
    Copied!
                

    # TAO Toolkit <= 5.2.0 ‘/api/v1/user/<user_id>/model/<model_id>/job/<job_id>’ # TAO Toolkit >= 5.3.0 ‘/api/v1/users/<user_id>/experiments/<experiment_id>/jobs/<job_id>’


  • Actions are referenced by : instead of / in the URL endpoints.

    Example:

    Copy
    Copied!
                

    # TAO Toolkit <= 5.2.0 “/api/v1/user/<user_id>/dataset/<dataset_id>/upload” # TAO Toolkit >= 5.3.0 “/api/v1/users/<user_id>/datasets/<dataset_id>:upload”


  • The dataset upload endpoint has a limit of 250 MB. Anything greater has to be uploaded in cloud and provided as a http link in the pull argument of dataset create endpoint

Previous Migrating from Legacy TLT to TAO Toolkit
Next Working With the Containers
© Copyright 2024, NVIDIA. Last updated on Mar 22, 2024.