query_register_mem_status

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

Queries the status of the registered memory.

Prototype

1
query_register_mem_status(comm_id: int) -> RegisterMemStatus

Parameters

Parameter

Data Type

Description

comm_id

int

Return value of the link API

Example

Click GitCode, select the matching version, and obtain the sample from the examples/python directory.

Returns

In normal cases, no value is returned.

If an exception occurs, an LLMException is thrown.

If a parameter is incorrect, a TypeError or ValueError may be thrown.

Restrictions

This API is used together with link.