Complete implementation but runtime failing

This commit is contained in:
2023-11-01 17:58:17 +01:00
parent 296ed6b785
commit ee9d5e738c
8 changed files with 51 additions and 9 deletions

View File

@@ -9,5 +9,14 @@ find_package(Torch REQUIRED)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TORCH_CXX_FLAGS}")
# Temporary patch while find_package(Torch) is not fixed
file(
GLOB
LIBTORCH_PYTHON
"${TORCH_INSTALL_PREFIX}/lib/libtorch_python.so"
"${TORCH_INSTALL_PREFIX}/lib/libtorch_python.dylib"
)
message(STATUS "TORCH Libraries: ${LIBTORCH_PYTHON}")
add_subdirectory(lib/Files)
add_subdirectory(src)