Merge branch 'main' into sync/main

This commit is contained in:
FrankLeeeee
2024-03-04 10:09:36 +08:00
80 changed files with 3464 additions and 1234 deletions

View File

@@ -126,7 +126,7 @@ class _CppExtension(_Extension):
def load(self):
try:
op_kernel = self.import_op()
except ImportError:
except (ImportError, ModuleNotFoundError):
# if import error occurs, it means that the kernel is not pre-built
# so we build it jit
op_kernel = self.build_jit()