Skip to content

luz

Higher Level 'API' for 'torch'

v0.5.2 · Apr 28, 2026 · MIT + file LICENSE

Description

A high level interface for 'torch' providing utilities to reduce the the amount of code needed for common tasks, abstract away torch details and make the same code work on both the 'CPU' and 'GPU'. It's flexible enough to support expressing a large range of models. It's heavily inspired by 'fastai' by Howard et al. (2020) <doi:10.48550/arXiv.2002.04688>, 'Keras' by Chollet et al. (2015) and 'PyTorch Lightning' by Falcon et al. (2019) <doi:10.5281/zenodo.3828935>.

Downloads

CRAN

2K

Last 30 days

2776th

10K

Last 90 days

41.3K

Last year

Trend: -28.5% (30d vs prior 30d)

r2u CRAN

62

Last 30 days

116

Last 90 days

366

Last year

Trend: +31.9% (30d vs prior 30d)

autoCRAN

5

Last 7 days

21

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (8)

imports

Dependency Network

Dependencies Reverse dependencies torch magrittr zeallot rlang coro glue progress R6 generics purrr fs prettyunits cli NNMoMo deepImp sits bundle genderBR innsight nn2poly vetiver luz

Version History

9 tracked
updated 0.5.2 ← 0.5.1 diff Apr 28, 2026
new 0.5.1 Mar 10, 2026
updated 0.5.1 ← 0.5.0 diff Oct 29, 2025
updated 0.5.0 ← 0.4.0 diff Jul 28, 2025
updated 0.4.0 ← 0.3.1 diff Apr 16, 2023
updated 0.3.1 ← 0.3.0 diff Sep 5, 2022
updated 0.3.0 ← 0.2.0 diff Aug 18, 2022
updated 0.2.0 ← 0.1.0 diff Oct 6, 2021
new 0.1.0 Jun 16, 2021