Finalize

Applicability

Product

Supported (√/x)

Atlas 350 Accelerator Card

x

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

x

Atlas inference product

x

Atlas training product

x

Note: For Atlas A2 training product/Atlas A2 inference product, only the Atlas 800I A2 inference server and A200I A2 Box heterogeneous subrack are supported.

Function Description

Releases LLM-DataDist resources.

Prototype

1
void Finalize()

Parameters

None

Example

Click Gitee, download the sample package of the matching version based on the tag name, and obtain the sample from the cplusplus/level1_single_api/11_llm_data_dist directory.

Returns

None

Exception Handling

None

Restrictions

  • This API must be used in conjunction with Initialize.
  • When the incremental cluster pulls KV data from the full cluster, ensure that the full cluster calls this API only after the incremental cluster has completed KV data synchronization. Otherwise, the operation fails.
  • During KV data synchronization from the full cluster to the incremental cluster, ensure that the incremental cluster calls this API only after the full cluster has completed KV data synchronization. Otherwise, the operation fails.
  • This API cannot be called concurrently with other APIs.