Package: pjrt 0.7.0

Sebastian Fischer

pjrt: R Interface to PJRT

Provides an R interface to PJRT (Pluggable Jit RunTime), which compiles StableHLO and HLO programs with the XLA compiler and runs them on hardware backends such as CPU and GPU.

Authors:Sebastian Fischer [cre, aut], Daniel Falbel [aut], Hugh Graham [ctb], Daniel James [cph], The OpenXLA Authors [cph], Christian Rau [cph]

pjrt_0.7.0.tar.gz
pjrt_0.7.0.zip(r-4.7-x86_64)pjrt_0.7.0.zip(r-4.7-arm64)pjrt_0.7.0.zip(r-4.6-x86_64)pjrt_0.7.0.zip(r-4.6-arm64)pjrt_0.7.0.zip(r-4.5-x86_64)
pjrt_0.7.0.tgz(r-4.6-x86_64)pjrt_0.7.0.tgz(r-4.6-arm64)pjrt_0.7.0.tgz(r-4.5-x86_64)pjrt_0.7.0.tgz(r-4.5-arm64)
pjrt_0.7.0.tar.gz(r-4.7-arm64)pjrt_0.7.0.tar.gz(r-4.7-x86_64)pjrt_0.7.0.tar.gz(r-4.6-arm64)pjrt_0.7.0.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
pjrt/json (API)

# Install 'pjrt' in R:
install.packages('pjrt', repos = c('https://r-xla.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/r-xla/pjrt/issues

Pkgdown/docs site:https://r-xla.github.io

Uses libs:
  • protobuf– Protocol buffers C++ library
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

deep-learninggpuxlaprotobufopenblascpp

5.36 score 8 stars 1 packages 16 scripts 56 exports 31 dependencies

Last updated from:6e8dde4f53 (on v0.7.0). Checks:14 OK, 1 FAIL. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK254
linux-devel-x86_64OK286
source / vignettesOK319
linux-release-arm64OK188
linux-release-x86_64OK279
macos-release-arm64OK235
macos-release-x86_64OK467
macos-oldrel-arm64OK279
macos-oldrel-x86_64OK581
windows-devel-arm64OK603
windows-devel-x86_64OK390
windows-release-arm64OK613
windows-release-x86_64OK408
windows-oldrel-x86_64OK362
wasm-releaseFAIL98

Exports:as_arrayas_pjrt_clientas_pjrt_deviceas_pjrt_pluginas_rawawaitbuild_treecopy_bufferdevicedevicesdispatchdispatcherdispatcher_sizedtypeelt_typeflattenflatten_funformat_bufferinspect_hloinstall_pjrtis_readymap_treepjrt_bufferpjrt_clientpjrt_compilepjrt_devicepjrt_emptypjrt_executepjrt_execution_optionspjrt_pluginpjrt_programpjrt_register_custom_callpjrt_scalarplatformplatform_supportplugin_attributesplugin_client_createplugins_downloadedpmap_treeregister_tree_nodeshapetree_child_kindstree_child_namestree_child_sizestree_concattree_difftree_equaltree_filter_by_namestree_hashtree_leaf_masktree_pathtree_reprtree_root_kindtree_sizeunflattenunregister_tree_node

Dependencies:backportsbitbit64briocallrcheckmateclicrayondescdiffobjevaluatefsgluejsonlitelifecyclemagrittrotelpkgbuildpkgloadpraiseprocessxpsR6Rcpprlangrprojrootsafetensorstestthatwaldowithrxlamisc

Readme and manuals

Help Manual

Help pageTopics
pjrt: R Interface to PJRTpjrt-package pjrt
Convert a PJRTBuffer to an R Arrayas_array.PJRTBuffer
Convert to PJRT Clientas_pjrt_client
Convert to PJRT Deviceas_pjrt_device
Convert to PJRT Pluginas_pjrt_plugin
Convert 'PJRTElementType' to stringas.character.PJRTElementType
Await an async operationawait
Build Treebuild_tree
Copy Buffer to Devicecopy_buffer
Devicesdevices
Native eager-dispatch fast pathdispatch dispatcher_size
Dispatcherdispatcher
Element Typeelt_type
Flattenflatten
Flatten a Functionflatten_fun
Format Buffer Dataformat_buffer
Inspect the HLO Source of a Programinspect_hlo
Install PJRT Pluginsinstall_pjrt
Check if an async operation is readyis_ready
Map Over a Treemap_tree
Create a PJRT Bufferpjrt_buffer pjrt_empty pjrt_scalar
Create a Clientpjrt_client
Compile a Programpjrt_compile
Create a PJRT Devicepjrt_device
Execute a PJRT programpjrt_execute
Create Execution Optionspjrt_execution_options
Create PJRT Pluginpjrt_plugin
Create a 'PJRTProgram'pjrt_program
Register a Custom Call Handlerpjrt_register_custom_call
Platform Nameplatform
Platform Supportplatform_support
Get Plugin Attributesplugin_attributes
Create PJRT Clientplugin_client_create
Check if Plugin is Downloadedplugins_downloaded
Map Over Multiple Treespmap_tree
Print a PJRT Bufferprint.PJRTBuffer
Register a Class as a Tree Noderegister_tree_node unregister_tree_node
Top-Level Child Kindstree_child_kinds
Top-Level Child Namestree_child_names
Top-Level Child Sizestree_child_sizes
Concatenate Trees Under a New Roottree_concat
Difference Between Treestree_diff
Compare Tree Structurestree_equal
Filter a Tree by Top-Level Namestree_filter_by_names
Structural Tree Hashtree_hash
Per-Leaf Mask From Top-Level Groupstree_leaf_mask
Tree Pathtree_path
Tree Representationtree_repr
Tree Root Node Kindtree_root_kind
Tree Sizetree_size
Unflattenunflatten