示例#1
0
 def setUp(self):
     super().setUp()
     lib_file_path = find_library_location('libbackend_with_compiler.so')
     torch.ops.load_library(str(lib_file_path))
示例#2
0
 def setUp(self):
     super().setUp()
     lib_file_path = find_library_location('libjitbackend_test.so')
     torch.ops.load_library(str(lib_file_path))
示例#3
0
 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))