Skip to content

tensorflow 2.13.0

Compare
Choose a tag to compare
@t-kalinowski t-kalinowski released this 15 Aug 17:33
  • install_tensorflow() changes:

    • Installs TensorFlow v2.13 by default now.
    • The envname argument new default is "r-tensorflow". This means that
      unless the envname argument supplied, install_tensorflow() will now
      install into the "r-tensorflow" environment, bootstrapping a venv of
      that name if necessary.
    • gains a new_env argument. If TRUE, any existing environment
      specified by envname is deleted and created anew. Defaults to TRUE if
      envname is "r-tensorflow", FALSE otherwise.
    • If running on Linux, now detects if NVIDIA GPUs on Linux are installed,
      and if so, and installs cuDNN (via pip), configures symlinks for tensorflow
      to find cuDNN, and emits additional instructions for how to install the necessary CUDA
      drivers to enable GPU usage. Set new arg configure_cudnn = FALSE to disable.
    • pip_ignore_installed default is now FALSE again.
    • On Arm Macs (M1/M2), the default tensorflow package is once again installed,
      rather than tensorflow-macos and tensorflow-metal.
  • New pillar:type_sum() method for Tensors, giving a
    more informative printout of Tensors in R tracebacks and tibbles.