Closed zhangyuhanjc closed 2 months ago
add torch dependency in cmakelist file in example will cause conflict
find_package(Torch REQUIRED) include_directories(${TORCH_INCLUDE_DIRS}) ... ... target_link_libraries(example PRIVATE ${TORCH_LIBRARIES})
likely you dropped the tokenizers dependencies, you need to add both
add torch dependency in cmakelist file in example will cause conflict
find_package(Torch REQUIRED) include_directories(${TORCH_INCLUDE_DIRS}) ... ... target_link_libraries(example PRIVATE ${TORCH_LIBRARIES})