def setUp(self): super().setUp() lib_file_path = find_library_location('libbackend_with_compiler.so') torch.ops.load_library(str(lib_file_path))
def setUp(self): super().setUp() lib_file_path = find_library_location('libjitbackend_test.so') torch.ops.load_library(str(lib_file_path))
def setUp(self): if IS_SANDCASTLE or IS_WINDOWS or IS_MACOS or IS_FBCODE: raise unittest.SkipTest( "non-portable load_library call used in test") lib_file_path = find_library_location('libtorchbind_test.so') torch.ops.load_library(str(lib_file_path))