dynamic

package
v0.19.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2025 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package dynamic links the XLA/PJRT CPU plugin dynamically (as in ".so" libraries) with your binary.

The default is to load PJRT plugins only after the program starts, using unix `dlopen`. A binary build in this mode will fail to execute if the PJRT library is not available where the binary is being executed.

To use it, simply import it:

import _ "github.com/gomlx/gomlx/backends/xla/cpu/dynamic"

It also automatically includes the XLA engine ("github.com/gomlx/gomlx/backends/xla").

See also github.com/gomlx/gomlx/backends/xla/cpu/static for static linking.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL