Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions R/install.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
branch <- "main"
torch_version <- "2.7.1"
torch_version <- "2.8.0"

#' Install Torch
#'
Expand Down Expand Up @@ -279,7 +279,7 @@ libtorch_url <- function() {
url <- glue::glue("https://download.pytorch.org/libtorch/{kind}/libtorch-win-shared-with-deps-{torch_version}%2B{kind}.zip")
}
if (is_linux()) {
url <- glue::glue("https://download.pytorch.org/libtorch/{kind}/libtorch-cxx11-abi-shared-with-deps-{torch_version}%2B{kind}.zip")
url <- glue::glue("https://download.pytorch.org/libtorch/{kind}/libtorch-shared-with-deps-{torch_version}%2B{kind}.zip")
}

installer_message(c(
Expand Down
6 changes: 3 additions & 3 deletions src/lantern/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.19.2)
project(lantern)

set(TORCH_VERSION "2.7.1")
set(TORCH_VERSION "2.8.0")

if (NOT DEFINED TORCH_PATH)
if (DEFINED ENV{TORCH_PATH})
Expand Down Expand Up @@ -44,9 +44,9 @@ if (NOT EXISTS "${TORCH_PATH}")
endif()
elseif(UNIX)
if (DEFINED CUDA_VERSION_NUMBER)
set(TORCH_URL "https://download.pytorch.org/libtorch/cu${CUDA_VERSION_NUMBER}/libtorch-cxx11-abi-shared-with-deps-${TORCH_VERSION}%2Bcu${CUDA_VERSION_NUMBER}.zip")
set(TORCH_URL "https://download.pytorch.org/libtorch/cu${CUDA_VERSION_NUMBER}/libtorch-shared-with-deps-${TORCH_VERSION}%2Bcu${CUDA_VERSION_NUMBER}.zip")
else()
set(TORCH_URL "https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-${TORCH_VERSION}%2Bcpu.zip")
set(TORCH_URL "https://download.pytorch.org/libtorch/cpu/libtorch-shared-with-deps-${TORCH_VERSION}%2Bcpu.zip")
endif()
endif()
endif()
Expand Down
2 changes: 1 addition & 1 deletion tools/torchgen/R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#' @export
declarations <- function() {

version <- getOption("torchgen.version", default = "2.7.1")
version <- getOption("torchgen.version", default = "2.8.0")
path <- getOption("torchgen.path")

if (is.null(path)) {
Expand Down
Loading
Loading