Skip to main content

Module migraphx_multi

Module migraphx_multi 

Source
Expand description

MIGraphX installer — ports scripts/install_migraphx_multi.sh.

Constructs correct pip install with version for MIGraphX Python bindings. Also installs system packages via package manager.

§Arch Linux / CachyOS Handling

On Arch-family distros, only the migraphx system package is available. The migraphx-dev and python3-migraphx packages are Debian/Ubuntu-specific. The pip migraphx Python wheel is also not available for Arch. The installer installs the system package only and skips pip install with a clear informational message.

§Validation Assertion

  • VAL-INSTALL-019: MIGraphX correct pip command

Structs§

MigraphxConfig
Configuration for the MIGraphX installer.
MigraphxInstaller
The MIGraphX installer.
ShellCommand
A constructed shell command.

Enums§

MigraphxSupport
MIGraphX support level for a given distro.

Functions§

migraphx_driver_functional
Boolean form of migraphx_driver_status for detection.
migraphx_driver_status
Run migraphx-driver --version. Returns Ok(()) if it loads, or Err(missing_libs) listing the shared libraries that failed to load (from ldd), so the failure is actionable rather than a vague “verify error”.
migraphx_driver_version
Run migraphx-driver --version and return the parsed semantic version, or None if the driver is missing/non-functional/has no parseable version.