torch 0.16.3 to 0.17.0
CRANRecord of 0.16.3Record of 0.17.0Both records side by side
- 0.16.3 and 0.17.0
- other releases
- daily mean, week by week
- after this copy’s series ends on 26 Oct 2026
No release lies between 0.16.3 and 0.17.0.
- Time between
- 160 daysno release between
- Advisories, method
Method
Security advisories
Advisories come from the R Consortium advisory database, a community record of security problems in R packages, as OSV publishes it.
- The copy
- The record is read once a day. The data is published under the Apache License 2.0 and is credited on the advisories list.
- Box under the name
- Under the package's name, a box names any advisory that affects the current release, with its fix or that there is none.
- Ranges
- Advisories state ranges, such as from 0.9.12 up to but not including 1.8.8. Each range is checked against every version CRAN has published, using the version rules R itself uses, so a release that came out after the advisory was written is still caught by its range.
- Not the package
- The rating is for the library flaw itself, not for how exposed the R package is, and it is never added up into a figure for the package.
- 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 Method Download figures count requests logged by each distribution channel. They are not counts of installs or of users, because each channel publishes its own totals and this site reads them.Downloads
| Release | Days newest | Days counted | CRAN downloads | Daily mean |
|---|---|---|---|---|
| 0.17.0 11 Apr to 28 Oct 2026, still the newest | 201 | 199 | 206,386 | 1,037 |
| 0.16.3 2 Nov 2025 to 10 Apr 2026 | 160 | 81,152 | 507 |
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_sitreptorch_float8_e4m3fntorch_float8_e5m2torch_ldexptorch_scaled_dot_product_attentiontorch_sparse_sampled_addmm
Licence and people
Method, licences Method Licence figures come from the Licences
License field of each package's DESCRIPTION file, read the way R itself reads it. No licence file is opened.tools::analyze_license() and R's own licence database, as CRAN's checks read it.| is read, so one string can offer two families.
| Part | 0.16.3 | 0.17.0 | |
|---|---|---|---|
| changed | Maintainer | Daniel Falbel | Tomasz Kalinowski |
| added | Person named | – | Tomasz Kalinowski |
| changed | Daniel Falbel | aut, cre, cph | aut, cph |
Side by side
| Measure | 0.16.3 | 0.17.0 | Change |
|---|---|---|---|
| Licence | MIT + file LICENSE | MIT + file LICENSE | |
| Maintainer | Daniel Falbel | Tomasz Kalinowski | changed |
| People named | Daniel Falbel, Javier Luraschi, Dmitriy Selivanov, Athos Damiani, Christophe Regouby, Krzysztof Joachimiak, Hamada S. Badr, Sebastian Fischer, Maximilian Pichler, RStudio | Tomasz Kalinowski, Daniel Falbel, Javier Luraschi, Dmitriy Selivanov, Athos Damiani, Christophe Regouby, Krzysztof Joachimiak, Hamada S. Badr, Sebastian Fischer, Maximilian Pichler, RStudio | changed |
Code
Method, code Method Code metrics come from reading the released source of each package version. The package is never installed, loaded or run.Code metrics
README, vignettes, a NEWS file and the shares read from its help pages. Files kept only in the repository, such as a pkgdown configuration or CI files, are read by the repository scan instead.
| Measure | 0.16.3 | 0.17.0 | Change |
|---|---|---|---|
| Lines of R code | 101,309 | 102,571 | +1,262 up |
| Lines of compiled code | 79,567 | 80,023 | +456 up |
| Files | 1,035 | 1,037 | +2 up |
| Public exports | 749 | 755 | +6 up |
| Internal functions | 6,256 | 6,280 | +24 up |
| Highest complexity | 46 | 155 | +109 up |
| Download size | 1.8 MB | 1.9 MB | +137 KB up |
| Source, unpacked | 18.2 MB | 23.1 MB | +4.9 MB up |
1 other figure of the code is the same in both.
Side by side
| Measure | 0.16.3 | 0.17.0 | Change |
|---|---|---|---|
| Lines of R code | 101,309 | 102,571 | +1,262 |
| Lines of compiled code | 79,567 | 80,023 | +456 |
| Files | 1,035 | 1,037 | +2 |
| Public exports | 749 | 755 | +6 |
| Internal functions | 6,256 | 6,280 | +24 |
| Mean complexity | 1.1 | 1.1 | |
| Highest complexity | 46 | 155 | +109 |
| Download size | 1.8 MB | 1.9 MB | +137 KB |
| Source, unpacked | 18.2 MB | 23.1 MB | +4.9 MB |
| Analysed with | rpkg-analyzer 0.5.2 | rpkg-analyzer 0.5.2 |
Tests
Method, tests Method Test coverage is measured by downloading each CRAN package's current source file, installing its dependencies, building it and running its tests under covr.Test coverage
| Measure | 0.16.3 | 0.17.0 | Change |
|---|---|---|---|
| Lines run by tests | Not measured | 0.3% | |
| Test cases | 718 | 735 | +17 up |
| Lines of tests | 11,594 | 11,858 | +264 up |
| Test lines per line of code | 0.11 | 0.12 | +0.01 up |
| Exports named in tests | 45.9% | 46.0% | +0.1 points up |
Test coverage is measured on each CRAN package's newest release since July 2026.
Side by side
| Measure | 0.16.3 | 0.17.0 | Change |
|---|---|---|---|
| Lines run by tests | Not measured | 0.3% | |
| Test cases | 718 | 735 | +17 |
| Lines of tests | 11,594 | 11,858 | +264 |
| Test lines per line of code | 0.11 | 0.12 | +0.01 |
| Exports named in tests | 45.9% | 46.0% | +0.1 points |
Documentation
| Measure | 0.16.3 | 0.17.0 | Change |
|---|---|---|---|
| Return value documented | 6.0% | 6.2% | +0.2 points up |
| Lines of documentation | 30,174 | 30,397 | +223 up |
| Lines of guides | 3,822 | 3,872 | +50 up |
2 other figures of the documentation are the same in both.
Side by side
| Measure | 0.16.3 | 0.17.0 | Change |
|---|---|---|---|
| Exports documented | 99.9% | 99.9% | |
| Arguments documented | 100.0% | 100.0% | |
| Return value documented | 6.0% | 6.2% | +0.2 points |
| Lines of documentation | 30,174 | 30,397 | +223 |
| Lines of guides | 3,822 | 3,872 | +50 |
Files changed
- Files changed
- 66in 0.17.0
- Lines added
- 217,179
- Lines deleted
- 655
Most changed files (12 of 66)
| File | Lines added | Lines deleted |
|---|---|---|
tools/torchgen/inst/declaration/Declarations-2.8.0.yaml | 213,851 | 0 |
R/install.R | 917 | 47 |
src/RcppExports.cpp | 384 | 90 |
po/R-fr.po | 190 | 93 |
R/gen-namespace.R | 165 | 110 |
po/R-torch.pot | 162 | 74 |
src/gen-namespace.cpp | 131 | 36 |
R/RcppExports.R | 112 | 36 |
R/gen-namespace-docs.R | 133 | 4 |
MD5 | 62 | 60 |
inst/include/lantern/lantern.h | 93 | 21 |
tests/testthat/test-tensor.R | 103 | 0 |
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()andtorch_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()andtail()methods for torch tensors (#1388). - Exported
torch_scaled_dot_product_attention()(#1404). - Exported
torch_sparse_sampled_addmm()(#1427). - Exported
torch_ldexp()(#1407). - Integrated
cudatoolkitR package for CUDA library loading (#1422). - Improved
as_array()support for sparse tensors (#1387). - Fixed sparse CSR tensor printing,
to_sparse()crash, andas_array()detection (#1431). - Fixed
dataset()/nn_module()crash wheninitializeparameter is namedd(#1424, @Chandraveer-Singh). - Fixed
bfloat16not being recognized as a floating point dtype (#1408). - Fixed handling of R longjump exceptions in autograd and tracing callbacks (#1406).
- Fixed redundant
lantern.hinclude causing macro redefinition warning (#1430). - Excluded glibc libraries from dependency bundling (#1397, @troyhernandez).
- Replaced non-API entry point
Rf_findVarInFramewithR_getVarExfor 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.