Skip to content

Releases: s-u/torch

torch_0.13.0.9001+e93430 for CUDA 12.6

11 Jan 02:18
@s-u s-u
e93430f
Compare
Choose a tag to compare

This release contains torch_0.13.0.9001 R package (e93430) with pytorch 2.6.0a (g6e3047) binary built for CUDA 12.6 on Ubuntu 24.04.

Depending on how you want to install it, the files are as follows:

  • torch_0.13.0.9001.tar.gz: source torch package with libtorch and lantern binaries included in inst/lib. Install simply with
    R CMD INSTALL torch_0.13.0.9001.tar.gz
    (recommended installation, it is big and takes a bit, so be patient)

Alternative options:

  • lantern-0.13.0.9001+cu126+x86_64-Linux.zip: binary of lantern in the form that torch uses for installation. Use if you installed your own copy of torch (note that it still has to be the same version).
  • libtorch-2.6.0a+git6e3047-cu126-x86_64-ubuntu2404.tar.gz: dynamic libraries from libtorch build to be used with lantern. Use if you built your own torch and lantern, but only need the libtorch libraries.

The build script to replicate the build can be found in torch-build.sh

Details: libtorch has been built with c++11 ABI and following optional features and flags (mostly identical to pytorch ci builds):
TORCH_CUDA_ARCH_LIST="7.0 7.2 7.5 8.0 8.6 8.7 8.9 9.0 9.0a"
TORCH_NVCC_FLAGS="-Xfatbin -compress-all"
USE_STATIC_MKL=ON
Magma 2.8.2