Migrating to TAO 6.0#
TAO 6.0 introduces several breaking changes. This guide describes the changes and how to migrate your existing workflows.
Fine-Tuning Microservices OpenAPI Specifications#
Here is a summary of the key changes from TAO 5.5 OpenAPI specification:
Unified Resource Scoping with org_name instead of user_id: The most significant change is the shift from using
user_id
directly in the path to usingorg_name
for scoping resources.Endpoints that previously started with
/api/v1/users/{user_id}/...
for datasets and experiments now follow the pattern/api/v1/orgs/{org_name}/...
.This change is applied consistently across
Dataset
,Experiment
, and now also explicitly forWorkspace
related endpoints in the new specification.Authentication request update:
The login request (
POST /api/v1/login
) in the latest API now expectsngc_key
andngc_org_name
in the request body, whereas the previous API schema expectedngc_api_key
. It also allows for an optionalenable_telemetry
field in the login request.NGC personal keys are required for authentication instead of NGC API keys.
New organization-level endpoints: The new API introduces top-level endpoints under
/api/v1/orgs/{org_name}/
that were not present in the old specification for supporting NVCF helm chart deployment, such as:POST /api/v1/orgs/{org_name}/super_endpoint
GET /api/v1/orgs/{org_name}:gpu_types
Workspace endpoint standardization: In the previous API version, the concept of workspaces was handled directly within the dataset and experiment create endpoints, now the API explicitly defines a full suite of CRUD and action endpoints for workspaces under the
/api/v1/orgs/{org_name}/workspaces/
path.Parameter and schema refinements:
ExperimentRsp
includes new fields likemodel_description
,tags
,tensorboard_enabled
, andbase_experiment_metadata
. Theautoml_settings
withinExperimentRsp
in the new API hasautoml_hyperparameters
instead ofautoml_add_hyperparameters
andautoml_remove_hyperparameters
found in the old API’sAutoML
schema.The
DatasetRsp
in the new API includes fields likeworkspace
,cloud_file_path
,use_for
,skip_validation
, andauthorized_party_nca_id
which were not present or structured the same way in the old version.Job actions and statuses have some variations in their enum values between the two versions. For instance,
JobSubset
andDatasetJob
include statuses likeCanceling
,Pausing
,Paused
, andResuming
, which are more granular than in the old specification.The structure for listing jobs (e.g.,
DatasetJobList
,ExperimentJobList
) in the new API includespagination_info
, which was not explicitly part of the list responses in the old API.
Deprecation Notes#
The following features were deprecated in TAO 5.5, and have been removed in TAO 6.0.
Software Deprecations#
CV finetuning for TensorFlow 1.x: All fine-tuning workflows in TensorFlow 1.x are deprecated.
TAO Converter: The TAO Converter is deprecated.
BYOM from ONNX to TAO
The table below shows the model fine-tuning workflows in TAO 6.0 that replace the deprecated models in TAO 5.5.
Use Case |
TAO 5.5 |
TAO 6.0 |
---|---|---|
Object Detection |
|
|
Semantic Segmentation |
|
|
Instance Segmentation |
|
The following features are deprecated in TAO 6.0, and will be removed in a future release.
Pretrained models#
The following table shows the pretrained models that are deprecated in TAO 6.0, with the equivalent models that are being maintained going forward.
Deprecated Pretrained Model |
Equivalent model in TAO 6.0 |