Skip to content

Error Codes

This section details compile-time error codes you may encounter when using the RBLN SDK, specifically with the rebel-compiler and optimum-rbln tools. These errors occur during model compilation for the RBLN NPU, and understanding them aids in diagnosing and fixing issues. For deeper insight into the compilation process, refer to the RBLN Compiler and RSD white papers.

The model compilation workflow consists of two primary stages, each encompassing specific steps:

  • Computation Graph Generation: Converts the model into an intermediate representation (IR). Steps include:
    • Device Graph Conversion
    • Operation (Op) Fusion
  • Computation Graph Optimization: Optimizes the IR for RBLN NPU execution. Steps include:
    • Multi-Device Splitting
    • Op Splitting and Grouping
    • Op Tiling
    • Op Scheduling
    • Bufferization
    • Memory Allocation
    • Dependency Analysis
    • Command Scheduling
    • Code Generation

The table below lists error codes, their associated compile steps, and descriptions:

Error Code Releated Compile Step Description