Deep Learning with 'mlr3'
Overview
Deep Learning library that extends the mlr3 framework by building upon the 'torch' package. It allows to conveniently build, train, and evaluate deep learning models without having to worry about low level details. Custom architectures can be created using the graph language defined in 'mlr3pipelines'.
- Feat: Improve
lazy_tensorprinting. - Fix: Improve consistency in
as_lazy_tensor()when converting 1D tensors to lazy tensors. - Various minor bug fixes
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-08
- ERROR12 OK, 1 ERROR2026-06-07
- OK14 OK2026-03-10
Documentation
The repository also keeps web-only articles.
- Help pages
- 184 (3 internal)includes a package overview page
- Examples that run
- 100%112 run in a plain check (106 of them under a condition)
- Exported functions with examples
- 71%
- Documented parameters
- 97%
- Return-value docs
- 15%
- Help pages citing references
- 8%
Downloads
Repository
- PRs merged (all time)
- 81%
- Median days to close, 50 most recently updated closed issues
- 546
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
17 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/mlr-org/mlr3torch on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Funding links: GitHub Sponsors
The repository owner accepts GitHub Sponsors
GitHub Pages site last deployed 2026-10-20 · The repository has a site deploy workflow
pkgdown site last built 2026-03-03
Show all practicesHide 3 practices
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-01-31Seen in the repository: .claudeNamed in .Rbuildignore: .claudeNamed in .gitignore: .claudePull request it wrote: opened by a project memberCommits: at least 5 crediting it in the message
- Claude Opus 55 commits · Aug 2026
Dependencies
Installing mlr3torch adds 46 packages (21 with compiled code, 26 MB of source tarballs). Heaviest: data.table 5.7 MB, palmerpenguins 2.9 MB, torch 1.9 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.3.3Latest
- 0.3.22025-10-31 · diff ↗
- 0.3.12025-08-26 · diff ↗
- 0.3.02025-07-07 · diff ↗ ·
added 24 exports
CallbackSetLRSchedulerOneCycle, CallbackSetLRSchedulerReduceOnPlateau, LearnerTorchFTTransformer, LearnerTorchModule, PipeOpTorchFTCLS, PipeOpTorchFTTransformerBlock, PipeOpTorchFn, PipeOpTorchGeGLU, PipeOpTorchIdentity, PipeOpTorchReGLU, PipeOpTorchTokenizerCateg, PipeOpTorchTokenizerNum, infer_shapes, ingress_categ, ingress_ltnsr, ingress_num, lazy_shape, nn_ft_cls, nn_ft_transformer_block, nn_geglu, nn_reglu, nn_tokenizer_categ, nn_tokenizer_num, output_dim_for - RR 4.5.0 released · 2025-04-11
- 0.2.12025-02-13 · diff ↗
- 0.2.02025-02-07 · diff ↗ ·
added 12 exports
CallbackSetLRScheduler, CallbackSetTB, CallbackSetUnfreeze, PipeOpTorchAdaptiveAvgPool1D, PipeOpTorchAdaptiveAvgPool2D, PipeOpTorchAdaptiveAvgPool3D, as_lr_scheduler, select_all, select_grep, select_invert, select_name, select_none - 0.1.22024-10-15 · diff ↗
- 0.1.1
- 0.1.02024-07-08
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2024-07-08
- Total releases
- 9 / 2 yrs
- License
- LGPL (>= 3) OSI
- Minimum R
- ≥ 3.5.0
- Download size
- 1.0 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("mlr3torch")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.