Skip to contents

Get the attributes of a PJRT plugin. This commonly includes:

  • xla_version

  • stablehlo_current_version

  • stablehlo_minimum_version

But the implementation depends on the plugin.

Usage

plugin_attributes(plugin)

Arguments

plugin

(PJRTPlugin | character(1))
The plugin (or platform name) to get the attributes of.

Value

named list()

Examples

plugin_attributes("cpu")
#> $xla_version
#> [1] 2
#> 
#> $stablehlo_current_version
#> [1]  1 12  1
#> 
#> $stablehlo_minimum_version
#> [1] 0 9 0
#>