Skip to content

Commit 3025736

Browse files
committed
Fix grammar issue
1 parent 3730956 commit 3025736

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

content/learning-paths/mobile-graphics-and-gaming/litert-sme/1-litert-kleidiai-sme2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ For batch sizes greater than 1, a fully connected operator performs a matrix mul
2929

3030
When LiteRT loads a model, it reads the operators and builds a computation graph. If you select the CPU as the accelerator, LiteRT uses XNNPACK by default.
3131

32-
XNNPACK scans the computation graph and looks for operators it can optimize. XNNPACK also checks the hardware compatibility and chooses the best available micro-kernel.Then, it packs the weight matrix to prepare for efficient computation. On Arm platforms, XNNPACK uses NEON instructions to speed up this packing.
32+
XNNPACK scans the computation graph and looks for operators it can optimize. XNNPACK also checks the hardware compatibility and chooses the best available micro-kernel. Then, it packs the weight matrix to prepare for efficient computation. On Arm platforms, XNNPACK uses NEON instructions to speed up this packing.
3333

3434
During model inference, it splits the matrices into smaller tiles and runs the multiplications in parallel across multiple threads, using NEON instructions for faster processing.
3535

@@ -41,7 +41,7 @@ When KleidiAI and SME2 are enabled at build time, the KleidiAI SME2 micro-kernel
4141

4242
During the model loading stage, when XNNPACK optimizes the subgraph, it checks the operator’s data type to determine whether a KleidiAI implementation is available. If KleidiAI supports it, XNNPACK bypasses its own default implementation. As a result, RHS packing is performed using the KleidiAI SME packing micro-kernel. Because KleidiAI typically requires packing of the LHS, a flag is also set during this stage.
4343

44-
During model inference, the LHS packing micro-kernel is invoked. After the LHS is packed, XNNPACK performs the matrix multiplication. At this point, the KleidiAI SME micro-kernel is used to compute the matrix .
44+
During model inference, the LHS packing micro-kernel is invoked. After the LHS is packed, XNNPACK performs the matrix multiplication. At this point, the KleidiAI SME micro-kernel is used to compute the matrix.
4545

4646
## What you've accomplished and what's next
4747

content/learning-paths/mobile-graphics-and-gaming/litert-sme/3-build-tool.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ ${XNNPACK_OPTIONS} "${BENCHMARK_TOOL_PATH}" \
129129
--repo_env=HERMETIC_PYTHON_VERSION=3.12
130130
```
131131

132-
This build of the `benchmark_model` disables all SME2 micro-kernels and forces fallback to XNNPACK's NEON miccro-kernels.
132+
This build of the `benchmark_model` disables all SME2 micro-kernels and forces fallback to XNNPACK's NEON micro-kernels.
133133

134134
You can then use Android Debug Bridge (ADB) to push the benchmark tool to your Android device:
135135

0 commit comments

Comments
 (0)