R Observatory
Search

torch

torch 0.16.3 to 0.17.0

CRAN

Record of 0.16.3Record of 0.17.0Both records side by side

Daily mean of CRAN downloads while each release was the newest, as blocks, and week by week as a line, one scale up to 2K. Choose a release to compare from or to it.
  • 0.16.3 and 0.17.0
  • other releases
  • daily mean, week by week
  • after this copy’s series ends on 26 Oct 2026
05001K1.5K2K

No release lies between 0.16.3 and 0.17.0.

Time between
160 daysno release between
Advisories, method
None knownfor either release
Exports, method
6 addednone removed
Dependencies
No changein any field
Licence
SameMIT + file LICENSE
Maintainer
Changednow Tomasz Kalinowski

Downloads while newest

Method, downloads

ReleaseDays newestDays countedCRAN downloadsDaily mean
0.17.0
11 Apr to 28 Oct 2026, still the newest
201199206,3861,037
0.16.3
2 Nov 2025 to 10 Apr 2026
16081,152507

Daily mean while newest, 0.17.0 +104% up since 0.16.3

Counted on the CRAN mirror from each release's day to the day before the next release. This copy's daily series ends on 26 Oct 2026, so a span that runs past it is counted to that day and its daily mean covers the days counted. Other channels repackage on their own schedules, so they are not split by release.

Exports

added Added (6)

  • install_torch_sitrep
  • torch_float8_e4m3fn
  • torch_float8_e5m2
  • torch_ldexp
  • torch_scaled_dot_product_attention
  • torch_sparse_sampled_addmm

Licence and people

Method, licences

Part0.16.30.17.0
changedMaintainerDaniel FalbelTomasz Kalinowski
addedPerson named–Tomasz Kalinowski
changedDaniel Falbelaut, cre, cphaut, cph
Side by side
Measure0.16.30.17.0Change
LicenceMIT + file LICENSEMIT + file LICENSE
MaintainerDaniel FalbelTomasz Kalinowskichanged
People namedDaniel Falbel, Javier Luraschi, Dmitriy Selivanov, Athos Damiani, Christophe Regouby, Krzysztof Joachimiak, Hamada S. Badr, Sebastian Fischer, Maximilian Pichler, RStudioTomasz Kalinowski, Daniel Falbel, Javier Luraschi, Dmitriy Selivanov, Athos Damiani, Christophe Regouby, Krzysztof Joachimiak, Hamada S. Badr, Sebastian Fischer, Maximilian Pichler, RStudiochanged
Measure0.16.30.17.0Change
Lines of R code101,309102,571+1,262 up
Lines of compiled code79,56780,023+456 up
Files1,0351,037+2 up
Public exports749755+6 up
Internal functions6,2566,280+24 up
Highest complexity46155+109 up
Download size1.8 MB1.9 MB+137 KB up
Source, unpacked18.2 MB23.1 MB+4.9 MB up

1 other figure of the code is the same in both.

Side by side
Measure0.16.30.17.0Change
Lines of R code101,309102,571+1,262
Lines of compiled code79,56780,023+456
Files1,0351,037+2
Public exports749755+6
Internal functions6,2566,280+24
Mean complexity1.11.1
Highest complexity46155+109
Download size1.8 MB1.9 MB+137 KB
Source, unpacked18.2 MB23.1 MB+4.9 MB
Analysed withrpkg-analyzer 0.5.2rpkg-analyzer 0.5.2
Measure0.16.30.17.0Change
Lines run by testsNot measured0.3%
Test cases718735+17 up
Lines of tests11,59411,858+264 up
Test lines per line of code0.110.12+0.01 up
Exports named in tests45.9%46.0%+0.1 points up

Test coverage is measured on each CRAN package's newest release since July 2026.

Side by side
Measure0.16.30.17.0Change
Lines run by testsNot measured0.3%
Test cases718735+17
Lines of tests11,59411,858+264
Test lines per line of code0.110.12+0.01
Exports named in tests45.9%46.0%+0.1 points
Measure0.16.30.17.0Change
Return value documented6.0%6.2%+0.2 points up
Lines of documentation30,17430,397+223 up
Lines of guides3,8223,872+50 up

2 other figures of the documentation are the same in both.

Side by side
Measure0.16.30.17.0Change
Exports documented99.9%99.9%
Arguments documented100.0%100.0%
Return value documented6.0%6.2%+0.2 points
Lines of documentation30,17430,397+223
Lines of guides3,8223,872+50

Files changed

Files changed
66in 0.17.0
Lines added
217,179
Lines deleted
655
Most changed files (12 of 66)
FileLines addedLines deleted
tools/torchgen/inst/declaration/Declarations-2.8.0.yaml213,8510
R/install.R91747
src/RcppExports.cpp38490
po/R-fr.po19093
R/gen-namespace.R165110
po/R-torch.pot16274
src/gen-namespace.cpp13136
R/RcppExports.R11236
R/gen-namespace-docs.R1334
MD56260
inst/include/lantern/lantern.h9321
tests/testthat/test-tensor.R1030

Each release is counted against the release before it, so a line changed twice counts twice.

Release notes

From the NEWS file of 0.17.0. Only the section for the newest release on record is kept.

  • Updated to LibTorch 2.8.0 (#1419).
  • torch_triu_indices() and torch_tril_indices() now return 1-based indexes (#1382).
  • $indices() now returns 1-based indexes (#1382).
  • Added torch_sitrep() for torch installation situation report (#1415, @cregouby).
  • Added %*% operator for torch tensors (#1379, @caio-hamamura).
  • Added head() and tail() methods for torch tensors (#1388).
  • Exported torch_scaled_dot_product_attention() (#1404).
  • Exported torch_sparse_sampled_addmm() (#1427).
  • Exported torch_ldexp() (#1407).
  • Integrated cudatoolkit R package for CUDA library loading (#1422).
  • Improved as_array() support for sparse tensors (#1387).
  • Fixed sparse CSR tensor printing, to_sparse() crash, and as_array() detection (#1431).
  • Fixed dataset()/nn_module() crash when initialize parameter is named d (#1424, @Chandraveer-Singh).
  • Fixed bfloat16 not being recognized as a floating point dtype (#1408).
  • Fixed handling of R longjump exceptions in autograd and tracing callbacks (#1406).
  • Fixed redundant lantern.h include causing macro redefinition warning (#1430).
  • Excluded glibc libraries from dependency bundling (#1397, @troyhernandez).
  • Replaced non-API entry point Rf_findVarInFrame with R_getVarEx for R 4.6 compatibility (#1421).
  • Added French translations for 5 missing messages (#1385, @cregouby).

Unchanged and not compared

Dependencies and licence are the same in both releases. No advisory is known for either release.

Checks, the install tree, dependents and the repository describe the package as it is now, so they are on the package page.