Skip to content

Commit 1eba5de

Browse files
committed
Fix typo
1 parent 891694d commit 1eba5de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/plugins/intel_gpu/docs/dynamic_shape/runtime_skip.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ Consider a 4D permute operation with the transformation order [0, 2, 1, 3]. Duri
66
This example demonstrates how runtime optimization can transform potentially expensive operations to be skipped, highlighting the value of deferred optimization strategies in dynamic computation graphs.
77

88
## Basic flow of runtime operation skip
9-
1. **Relefant flags**
9+
1. **Relevant flags**
1010
First, we need to set two flags for the program_node of such an operation, which we do not apply shape-based optimization during compilation but try runtime optimization with the shape.
1111
- Static flags (Set during `mark_runtime_skippable_nodes` pass at compilation time)
1212
- `program_node::optimized`
1313
- This flag presents that this node is eligible for being optimized out, either at compilation time or runtime.
14-
- This flag is set true for all optimization schemes, not limited to runtime skippability.
14+
- This flag is set true for all optimizatio schemes, not limited to runtime skippability.
1515
- `program_node::runtime_skippable`
1616
- Indicates that this node can be optimized during runtime based on the shape.
1717
- Dynamic flag (Set at runtime)
@@ -27,7 +27,7 @@ If program_node::optimized is false and program_node::runtime_skippable is true,
2727
However, some optimization passes such as [memory_dependency_pass](https://github.com/openvinotoolkit/openvino/blob/aa6d3811e6dea93cb818ff483bf6c3ca849d4034/src/plugins/intel_gpu/src/graph/include/pass_manager.h#L313) applies different decisions for compile time optimized nodes and runtime optimized nodes.
2828

2929
2. **Runtime optimization decision**
30-
- Once the shape is updated in `primitive_inst::prepare_primitive()`, `do_runtime_skip_*node_type*` for each type of operation decides whehther to skip the node at that exeuction or not.
30+
- Once the shape is updated in `primitive_inst::prepare_primitive()`, `do_runtime_skip_*node_type*` for each type of operation decides whether to skip the node at that execution or not.
3131

3232
3. **Caveats**
3333
- Once the `primitive_inst::_can_be_optimized` is set true, the runtime will only update its metadata such as shape or padding information and skip the actual execution.

0 commit comments

Comments
 (0)