Runtime and numeric modes#

Process-wide numeric mode, device and backend queries.

Array

The array type mojolearn returns: typed, shaped, contiguous memory.

gpu_arch

The GPU architecture whose binaries this process loaded.

gpu_arch_how

How the GPU architecture was chosen, as a sentence.

numeric_mode

The current default numeric mode of this process.

numeric_profile

The numeric profile used when a call names none.

numeric_profile_measured

Measured speed of a numeric profile relative to fp32_v1.

numeric_profiles

Every registered numeric profile, the baseline first.

set_numeric_mode

Set the process-wide default numeric mode.

set_numeric_profile

Set the process-wide default numeric profile.

vendor

The GPU programming interface of the binaries this process runs.