type.py File Reference

type.py File Reference#

SDK qb Runtime Library: type.py File Reference
SDK qb Runtime Library v1.0
MCS001-
type.py File Reference

Go to the source code of this file.

Classes

class  qbruntime.type.Cluster
 Enumerates clusters in the ARIES NPU. More...
class  qbruntime.type.Core
 Enumerates cores within a cluster in the ARIES NPU. More...
class  qbruntime.type.CoreAllocationPolicy
 Core allocation policy. More...
class  qbruntime.type.Scale
 Struct for scale values. More...
class  qbruntime.type.CoreId
 Represents a unique identifier for an NPU core. More...
class  qbruntime.type.Buffer
 A simple byte-sized buffer. More...
class  qbruntime.type.CoreMode
 Defines the core mode for NPU execution. More...
class  qbruntime.type.BufferInfo
 Struct representing input/output buffer information. More...
class  qbruntime.type.ModelConfig
 Configures a core mode and core allocation of a model for NPU inference. More...
class  qbruntime.type.LogLevel
 LogLevel. More...
class  qbruntime.type.CacheType
 CacheType. More...
class  qbruntime.type.CacheInfo
 Struct representing KV-cache information. More...

Functions

 qbruntime.type.set_log_level (LogLevel level)
bool qbruntime.type.start_tracing_events (str path)
 Starts event tracing and prepares to save the trace log to a specified file.
 qbruntime.type.stop_tracing_events ()
 Stops event tracing and writes the recorded trace log.
str qbruntime.type.get_model_summary (str mxq_path)
 Generates a structured summary of the specified MXQ model.