未验证 提交 95a526b2 编写于 作者: H huzhiqiang 提交者: GitHub

[infrt] add skip list (#40450)

上级 29453da1
...@@ -16,6 +16,8 @@ import os ...@@ -16,6 +16,8 @@ import os
import re import re
import json import json
skip_list = []
def parse_compat_registry(kernel_info): def parse_compat_registry(kernel_info):
name, inputs_str, attrs_str, outputs_str = kernel_info.split(",{") name, inputs_str, attrs_str, outputs_str = kernel_info.split(",{")
...@@ -42,6 +44,8 @@ def get_compat_kernels_info(): ...@@ -42,6 +44,8 @@ def get_compat_kernels_info():
compat_files.remove(file_) compat_files.remove(file_)
for file_ in compat_files: for file_ in compat_files:
if file_ in skip_list:
continue
with open("../../paddle/phi/ops/compat/" + file_) as in_file: with open("../../paddle/phi/ops/compat/" + file_) as in_file:
txt = in_file.readlines() txt = in_file.readlines()
content = "" content = ""
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册