Skip to content

Commit fe71ae3

Browse files
committed
Update macOS download link
1 parent d1f1920 commit fe71ae3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/fetch_libtorch.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
3333
message(WARNING "MacOS binaries do not support CUDA, will download CPU version instead.")
3434
set(LIBTORCH_DEVICE "cpu")
3535
endif()
36-
set(LIBTORCH_URL "https://download.pytorch.org/libtorch/cpu/libtorch-macos-${PYTORCH_VERSION}.zip")
36+
set(LIBTORCH_URL "https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-${PYTORCH_VERSION}.zip")
3737
else()
3838
message(FATAL_ERROR "Unsupported CMake System Name '${CMAKE_SYSTEM_NAME}' (expected 'Windows', 'Linux' or 'Darwin')")
3939
endif()

0 commit comments

Comments
 (0)