Skip to content
Merged
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
1 change: 1 addition & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ torch::torch_manual_seed(1)
[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html)
[![Test](https://github.com/mlverse/torch/actions/workflows/main.yaml/badge.svg)](https://github.com/mlverse/torch/actions/workflows/main.yaml)
[![CRAN status](https://www.r-pkg.org/badges/version/torch)](https://CRAN.R-project.org/package=torch)
[![cuda](https://img.shields.io/badge/cuda-11.8~12.4-green)](https://developer.nvidia.com/cuda-downloads)
[![](https://cranlogs.r-pkg.org/badges/torch)](https://cran.r-project.org/package=torch)
[![Discord](https://img.shields.io/discord/837019024499277855?logo=discord)](https://discord.com/invite/s3D5cKhBkx)

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](h
[![Test](https://github.com/mlverse/torch/actions/workflows/main.yaml/badge.svg)](https://github.com/mlverse/torch/actions/workflows/main.yaml)
[![CRAN
status](https://www.r-pkg.org/badges/version/torch)](https://CRAN.R-project.org/package=torch)
[![cuda](https://img.shields.io/badge/cuda-11.8~12.4-green)](https://developer.nvidia.com/cuda-downloads)
[![](https://cranlogs.r-pkg.org/badges/torch)](https://cran.r-project.org/package=torch)
[![Discord](https://img.shields.io/discord/837019024499277855?logo=discord)](https://discord.com/invite/s3D5cKhBkx)

Expand Down
2 changes: 2 additions & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ navbar:
menu:
- text: Memory management
href: articles/memory-management.html
- text: CUDA compatibility matrix
href: articles/compatibility-matrix.html
- text: Building locally
href: articles/modifying-source-code.html
- text: Automatic Mixed Precision
Expand Down
30 changes: 30 additions & 0 deletions vignettes/articles/compatibility-matrix.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
title: "CUDA compatibility matrix"
---

Finding the right combination of libtorch, {torch}, and CUDA can be tricky. This guide provides a clear compatibility matrix to help you set-up your environment.

## {torch} versions compatibility

| {torch} | libtorch | Suitable CUDA versions |
|:-------:|:--------:|:-----------------------:|
| 0.16.x | 2.7.1 | 12.6, 12.8 |
| 0.15.x | 2.5.1 | 11.8, 12.4 |
| 0.14.x | 2.5.1 | 11.8, 12.4 |
| 0.13.0 | 2.0.1 | 11.7, 11.8 |
| 0.12.0 | 2.0.1 | 11.7, 11.8 |
| 0.11.0 | 1.13.1 | 11.6, 11.7 |
| 0.10.0 | 1.13.1 | 11.6 (Linux only), 11.7 |

: torch compatibility matrix

## CUDA version compatibility

| CUDA version | Suitable {torch} version |
|:------------:|:---------------------------:|
| 11.6 | 0.10.0 (Linux only), 0.11.0 |
| 11.7 | 0.10.0 to 0.13.0 |
| 11.8 | 0.12.0 to 0.15.x |
| 12.4 | 0.14.x to 0.15.x |
| 12.6 | 0.16.x |
| 12.8 | 0.16.x |
Loading