已合并
fix sk docs #3668
hujiawen_kaven创建于 25 天前
fix sk docs #3668
已合并
共 1 个文件变更+1-1
| @@ -69,7 +69,7 @@ SuperKernel的实现原理如下: | |||
| 69 | import torch | 69 | import torch |
| 70 | import torch_npu | 70 | import torch_npu |
| 71 | 71 | ||
| 72 | - opt_model = torch.compile(model, backend="npugraph_ex", options={"super_kernel_optimize": True, "super_kernel_optimize_options": dict, "super_kernel_debug_options": dict}, dynamic=False, fullgraph=True) | 72 | + opt_model = torch.compile(model, backend="npugraph_ex", options={"static_kernel_compile": True, "super_kernel_optimize": True, "super_kernel_optimize_options": dict, "super_kernel_debug_options": dict}, dynamic=False, fullgraph=True) |
| 73 | ``` | 73 | ``` |
| 74 | 74 | ||
| 75 | **表 1** 参数说明<a id="table1"></a> | 75 | **表 1** 参数说明<a id="table1"></a> |