Skip to content

luz

Higher Level 'API' for 'torch'

v0.5.1 · Oct 30, 2025 · 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

2.5K

Last 30 days

2668th

7.5K

Last 90 days

37.2K

Last year

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

CRAN Check Status

14 OK
Show all 14 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-macos-arm64 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 geodl sits bundle genderBR innsight nn2poly vetiver luz

Version History

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