library("rplatypus")
platypus_device()Where the work will happen
Description
Reports the PyTorch build in use and the device it can see. Starts the engine if it is not running.
Usage
platypus_device()
Details
The answer comes from the engine’s own device_report() since 0.8.0a38 - this package used to compute it, in a file of Python it ships, where no user of the engine could reach it. What stays here is the advice: the line telling you to call platypus_use_torch() is about R’s session model and would mean nothing to somebody who installed the engine with pip.
An accelerator that is not CUDA is named, because the published weights were all trained on CUDA cards and a score from another backend is not directly comparable with the registry’s. Until 0.8.0a38 the engine asked about CUDA alone, so an Apple Silicon Mac reported cpu while a working mps backend sat in the same installation.
Value
A list, printed readably.
Why this page shows no output
What this prints is a property of the machine it runs on, so an example output here would describe whichever machine built this page rather than yours. Run it and read your own.