pub enum OnnxInstallMethod {
MigraphxWheel,
SourceBuild,
PrebuiltWheel,
}Expand description
ONNX Runtime install method.
Option ordering: [MigraphxWheel] is the primary/default (PyPI
onnxruntime-migraphx, current release); [PrebuiltWheel] is the legacy
fallback; [SourceBuild] is the last resort (custom/when no wheel exists).
Variants§
MigraphxWheel
Option 1 (primary, default): install the pinned
onnxruntime-migraphx wheel from PyPI (PREBUILT_MIGRAPHX_VERSION,
currently 1.27.1). PyPI’s Microsoft-published wheel ships the
MIGraphXExecutionProvider built against ROCm and tracks the current
release. The AMD manylinux repo (repo.radeon.com) is NOT used — it lags
far behind (1.23.2 for ROCm 7.2.4) and fabricates 404 URLs for newer
versions.
SourceBuild
Option 3 (last resort): build from source with ROCm + MIGraphX EP
(includes ROCMExecutionProvider), targeting DEFAULT_ONNXRUNTIME_VERSION.
Use only when the PyPI wheel is unavailable or a custom build is required.
PrebuiltWheel
Option 2 (legacy): install prebuilt onnxruntime-rocm from PyPI.
May be ABI-incompatible with the installed ROCm; prefer [MigraphxWheel].
Trait Implementations§
Source§impl Clone for OnnxInstallMethod
impl Clone for OnnxInstallMethod
impl Copy for OnnxInstallMethod
Source§impl Debug for OnnxInstallMethod
impl Debug for OnnxInstallMethod
Source§impl Default for OnnxInstallMethod
impl Default for OnnxInstallMethod
impl Eq for OnnxInstallMethod
Source§impl PartialEq for OnnxInstallMethod
impl PartialEq for OnnxInstallMethod
impl StructuralPartialEq for OnnxInstallMethod
Auto Trait Implementations§
impl Freeze for OnnxInstallMethod
impl RefUnwindSafe for OnnxInstallMethod
impl Send for OnnxInstallMethod
impl Sync for OnnxInstallMethod
impl Unpin for OnnxInstallMethod
impl UnsafeUnpin for OnnxInstallMethod
impl UnwindSafe for OnnxInstallMethod
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more