-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Open
Labels
module: binariesAnything related to official binaries that we release to usersAnything related to official binaries that we release to usersmodule: docsRelated to our documentation, both in docs/ and docblocksRelated to our documentation, both in docs/ and docblocksmodule: macosMac OS related issuesMac OS related issuesneeds reproductionEnsure you have actionable steps to reproduce the issue. Someone else needs to confirm the repro.Ensure you have actionable steps to reproduce the issue. Someone else needs to confirm the repro.securitytriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Description
🐛 Describe the bug
C++ Execution Running lib torch on Mac. Using latest version of lib torch downloaded using https://pytorch.org/get-started/locally/.
Cmake file code
cmake_minimum_required(VERSION 3.1)
project(torchtest)
set(CMAKE_PREFIX_PATH "/Users/niharjani/Desktop/BRATSC++/libtorch")
find_package(Torch REQUIRED)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TORCH_CXX_FLAGS}")
add_executable(main main.cpp)
target_link_libraries(main "${TORCH_LIBRARIES}")
set_property(TARGET main PROPERTY CXX_STANDARD 14)
Versions
cc @seemethere @malfet @osalpekar @atalman @svekars @brycebortree @albanD
yhs0602
Metadata
Metadata
Assignees
Labels
module: binariesAnything related to official binaries that we release to usersAnything related to official binaries that we release to usersmodule: docsRelated to our documentation, both in docs/ and docblocksRelated to our documentation, both in docs/ and docblocksmodule: macosMac OS related issuesMac OS related issuesneeds reproductionEnsure you have actionable steps to reproduce the issue. Someone else needs to confirm the repro.Ensure you have actionable steps to reproduce the issue. Someone else needs to confirm the repro.securitytriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module