To cite package ‘torch’ in publications use:

Falbel D, Luraschi J (2026). torch: Tensors and Neural Networks with 'GPU' Acceleration. R package version 0.17.0.9000, https://github.com/mlverse/torch.

Corresponding BibTeX entry:

  @Manual{,
    title = {torch: Tensors and Neural Networks with 'GPU'
      Acceleration},
    author = {Daniel Falbel and Javier Luraschi},
    year = {2026},
    note = {R package version 0.17.0.9000},
    url = {https://github.com/mlverse/torch},
  }