Skip to content

Commit

Permalink
Merge branch 'blawrence/update-torch' into 'master'
Browse files Browse the repository at this point in the history
Update our libtorch

See merge request machine-learning/dorado!527
  • Loading branch information
tijyojwad committed Aug 8, 2023
2 parents 09c5b28 + 5592a93 commit d131786
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions cmake/Torch.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ else()
endif()
else()
if (TRY_USING_STATIC_TORCH_LIB)
set(TORCH_URL https://cdn.oxfordnanoportal.com/software/analysis/torch-2.0.0-linux-aarch64-ont.zip)
set(TORCH_PATCH_SUFFIX -ont)
set(TORCH_URL https://cdn.oxfordnanoportal.com/software/analysis/torch-2.0.0.1-linux-aarch64-ont.zip)
set(TORCH_PATCH_SUFFIX -ont.1)
set(TORCH_LIB_SUFFIX "/libtorch")
set(USING_STATIC_TORCH_LIB TRUE)
else()
Expand All @@ -89,11 +89,11 @@ else()
else()
if (TRY_USING_STATIC_TORCH_LIB)
if(DORADO_USING_OLD_CPP_ABI)
set(TORCH_URL https://cdn.oxfordnanoportal.com/software/analysis/torch-2.0.0-linux-x64-ont-pre-cxx11.zip)
set(TORCH_PATCH_SUFFIX -ont-pre-cxx11)
set(TORCH_URL https://cdn.oxfordnanoportal.com/software/analysis/torch-2.0.0.1-linux-x64-ont-pre-cxx11.zip)
set(TORCH_PATCH_SUFFIX -ont.1-pre-cxx11)
else()
set(TORCH_URL https://cdn.oxfordnanoportal.com/software/analysis/torch-2.0.0-linux-x64-ont-cxx11-abi.zip)
set(TORCH_PATCH_SUFFIX -ont-cxx11-abi)
set(TORCH_URL https://cdn.oxfordnanoportal.com/software/analysis/torch-2.0.0.1-linux-x64-ont-cxx11-abi.zip)
set(TORCH_PATCH_SUFFIX -ont.1-cxx11-abi)
endif()
set(USING_STATIC_TORCH_LIB TRUE)
else()
Expand Down Expand Up @@ -135,8 +135,8 @@ else()
endif()
elseif(WIN32)
if (TRY_USING_STATIC_TORCH_LIB)
set(TORCH_URL https://cdn.oxfordnanoportal.com/software/analysis/torch-2.0.0.2-Windows-ont.zip)
set(TORCH_PATCH_SUFFIX -ont.2)
set(TORCH_URL https://cdn.oxfordnanoportal.com/software/analysis/torch-2.0.0.3-Windows-ont.zip)
set(TORCH_PATCH_SUFFIX -ont.3)
set(TORCH_LIB_SUFFIX "/libtorch")
set(USING_STATIC_TORCH_LIB TRUE)
add_compile_options(
Expand Down

0 comments on commit d131786

Please sign in to comment.