|
5 | 5 | C++ Implementation of PyTorch Tutorials for Everyone |
6 | 6 | <br /> |
7 | 7 | <img src="https://img.shields.io/github/license/prabhuomkar/pytorch-cpp"> |
8 | | -<img src="https://img.shields.io/badge/libtorch-2.3.0-ee4c2c"> |
9 | | -<img src="https://img.shields.io/badge/cmake-3.19-064f8d"> |
| 8 | +<img src="https://img.shields.io/badge/libtorch-2.6.0-ee4c2c"> |
| 9 | +<img src="https://img.shields.io/badge/cmake-3.28.6-064f8d"> |
10 | 10 | </p> |
11 | 11 |
|
12 | 12 |
|
13 | | -| OS (Compiler)\\LibTorch | 2.3.0 | |
| 13 | +| OS (Compiler)\\LibTorch | 2.6.0 | |
14 | 14 | | :--------------------- | :--------------------------------------------------------------------------------------------------- | |
15 | | -| macOS (clang 11, 12, 13) | [](https://github.com/prabhuomkar/pytorch-cpp/actions?query=workflow%3Aci-build-macos) | |
16 | | -| Linux (gcc 9, 10, 11) | [](https://github.com/prabhuomkar/pytorch-cpp/actions?query=workflow%3Aci-build-ubuntu) | |
17 | | -| Windows (msvc 2019, 2022) | [](https://github.com/prabhuomkar/pytorch-cpp/actions?query=workflow%3Aci-build-windows) | |
| 15 | +| macOS (clang 15, 16) | [](https://github.com/prabhuomkar/pytorch-cpp/actions?query=workflow%3Aci-build-macos) | |
| 16 | +| Linux (gcc 13, 14) | [](https://github.com/prabhuomkar/pytorch-cpp/actions?query=workflow%3Aci-build-ubuntu) | |
| 17 | +| Windows (msvc 2022, 2025) | [](https://github.com/prabhuomkar/pytorch-cpp/actions?query=workflow%3Aci-build-windows) | |
18 | 18 |
|
19 | 19 | ## Table of Contents |
20 | 20 |
|
@@ -51,8 +51,8 @@ This repository provides tutorial code in C++ for deep learning researchers to l |
51 | 51 | ## Requirements |
52 | 52 |
|
53 | 53 | 1. [C++-17](http://www.cplusplus.com/doc/tutorial/introduction/) compatible compiler |
54 | | -2. [CMake](https://cmake.org/download/) (minimum version 3.19) |
55 | | -3. [LibTorch version >= 1.12.0 and <= 2.3.0](https://pytorch.org/cppdocs/installing.html) |
| 54 | +2. [CMake](https://cmake.org/download/) (minimum version 3.28.6) |
| 55 | +3. [LibTorch version >= 1.12.0 and <= 2.6.0](https://pytorch.org/cppdocs/installing.html) |
56 | 56 | 4. [Conda](https://docs.conda.io/projects/conda/en/latest/user-guide/install/download.html) |
57 | 57 |
|
58 | 58 |
|
@@ -89,7 +89,7 @@ Some useful options: |
89 | 89 |
|
90 | 90 | | Option | Default | Description | |
91 | 91 | | :------------- |:------------|-----:| |
92 | | -| `-D CUDA_V=(11.8\|12.1\|none)` | `none` | Download LibTorch for a CUDA version (`none` = download CPU version). | |
| 92 | +| `-D CUDA_V=(11.8\|12.4\|12.6\|none)` | `none` | Download LibTorch for a CUDA version (`none` = download CPU version). | |
93 | 93 | | `-D LIBTORCH_DOWNLOAD_BUILD_TYPE=(Release\|Debug)` | `Release` | Determines which libtorch build type version to download (only relevant on **Windows**).| |
94 | 94 | | `-D DOWNLOAD_DATASETS=(OFF\|ON)` | `ON` | Download required datasets during build (only if they do not already exist in `pytorch-cpp/data`). | |
95 | 95 | |`-D CREATE_SCRIPTMODULES=(OFF\|ON)` | `OFF` | Create all required scriptmodule files for prelearned models / weights during build. Requires installed python3 with pytorch and torchvision. | |
|
0 commit comments