Skip to main content

pjrt_cpu_client

Function pjrt_cpu_client 

Source
pub fn pjrt_cpu_client() -> Option<Client>
Expand description

Returns a client of the PJRT CPU plugin, or None if the plugin is not available.

The plugin is taken from RUXLA_PJRT_CPU_PLUGIN, or from .cache/pjrt/ in the workspace, where scripts/fetch-pjrt-plugins.sh puts it.