Lines Matching full:patch

37         '0001-build-gn-c-api-for-OHOS.patch',
38 '0002-train-and-build.patch',
39 '0003-add-js-api.patch',
40 '0004-cross-compile-ndkso-fp16-nnrt-train_capi.patch',
41 '0005-micro-for-ohos.patch',
42 '0006-remove-lite-expression-fix-double-loadso.patch',
43 '0007-deobfuscator.patch',
44 '0008-upgrade-flatbuffers-fix_crash.patch',
45 '0009-npu-zero-copy.patch',
46 '0010-micro-dynamic-shape-support-discrete-value.patch',
47 '0011-fix-npu-infer-memory-leak-delete-liteGraph.patch',
48 '0012-add-mindir-ops.patch',
49 '0013-hiappevent.patch',
50 '0014-DynamicQuant-strategy-optimization.patch',
51 '0015-bugfix-for-cpu-kernel.patch',
52 '0016-bugfix-for-argminmax-swish-int8-and-vad-asan.patch',
53 '0017-bugfix-for-onnx-parser.patch',
54 '0018-nnrt-litegraph-dequant.patch',
55 '0019-adaper-NNCore-Api.patch',
56 '0020-fix-ocr-gcn-model-crash.patch',
57 '0021-add-mindir-ops.patch',
58 '0022-adapter-HiAI-Foundation-NPU.patch',
59 '0023-support-x86-emulator-build.patch',
60 '0024-fix-gcn-model-squeeze-transpose-infershape-not-do.patch',
61 '0025-support-kirin-npu-dynamic-dims.patch',
62 '0026-fix-depthwise-conv-kernel.patch',
63 '0027-reduce-memory-when-npu-compilation-with-cache.patch',
64 '0028-fix-onnx-parser-and-cpu-kernel.patch',
65 '0029-remove-recursive-lock.patch',
66 '0030-generate-flatbuffer-notice.patch',
67 '0031-fix-matmul-assemble-can-not-protect-stack-in-mutil-thread.patch',
68 '0032-fix-for-concat-bool-type.patch',
69 '0033-fix-nullptr-etal.patch',
70 '0034-fix-semicolon-and-nullptr-etal.patch',
71 '0035-fix-ArgMaxFusion_get_max_parameter_uninitialized.patch',
72 '0036-fix-split-non-uniform-split.patch',
73 '0037-fix-for-fuzz-problem.patch',
74 '0038-refactor-nnrt-allocator-to-singleton.patch',
75 '0039-add-compile-option-SP-extensions-white-list.patch',
76 '0040-fix-context-double-free.patch',
77 '0041-fix-MutableData-memory-leak.patch',
78 '0042-scatterND-indices-illegal.patch',
79 '0043-fix-too-many-hi-app-event-reports.patch',
89 for patch in patches:
90 print('Applying ', patch, '...')
91 ret = subprocess.run(['git', 'apply', '{0}/{1}'.format(patch_dir, patch)])
93 raise Exception("Apply patch {0} failed, ret: {1}".format(patch, ret))
95 subprocess.run(['git', 'commit', '-m', "auto-apply {0}".format(patch)])
114 if (file_name.endswith(".patch")):
119 md5_path = os.path.join(out_path, pf.replace(".patch", ".md5"))
130 if (file_name.endswith(".patch")):
139 if not os.path.exists(os.path.join(patch_path, md5_file.replace(".md5", ".patch"))):
143 if (origin_v != compute_md5(os.path.join(patch_path, md5_file.replace(".md5", ".patch")))):
174 print("patch files not changed and " + os.path.join(out_src_path, ".status") + " exists.")