pub enum RepairStep {
Rocm,
AmdgpuDrivers,
PyTorch,
MlStackCore,
Aiter,
MigraphxPython,
DeepSpeed,
EnvironmentVariables,
}Expand description
Repair step identifier — matches the sequence in repair_ml_stack.sh.
The original script’s main() repair sequence is:
- ROCm installation (fix_rocm_installation)
- AMDGPU drivers (fix_amdgpu_drivers)
- PyTorch (fix_pytorch_installation)
- ML Stack Core (fix_ml_stack_core)
- AITER (fix_aiter_installation)
- MIGraphX Python (fix_migraphx_python_installation)
- DeepSpeed (fix_deepspeed_installation)
- Environment variables (fix_environment_variables)
Variants§
Rocm
Fix ROCm installation.
AmdgpuDrivers
Fix AMDGPU drivers.
PyTorch
Fix PyTorch installation.
MlStackCore
Fix ML Stack Core components.
Aiter
Fix AITER installation.
MigraphxPython
Fix MIGraphX Python bindings.
DeepSpeed
Fix DeepSpeed installation.
EnvironmentVariables
Fix environment variables.
Implementations§
Source§impl RepairStep
impl RepairStep
Sourcepub fn all_in_order() -> Vec<RepairStep>
pub fn all_in_order() -> Vec<RepairStep>
Get all repair steps in the correct order.
Sourcepub fn native_component_id(&self) -> &'static str
pub fn native_component_id(&self) -> &'static str
Get the native component ID that this repair step dispatches to. Each repair step re-runs the corresponding native installer module.
Sourcepub fn legacy_script_name(&self) -> &'static str
pub fn legacy_script_name(&self) -> &'static str
Legacy script name (kept for documentation/test reference only).
Trait Implementations§
Source§impl Clone for RepairStep
impl Clone for RepairStep
Source§fn clone(&self) -> RepairStep
fn clone(&self) -> RepairStep
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RepairStep
Source§impl Debug for RepairStep
impl Debug for RepairStep
impl Eq for RepairStep
Source§impl Hash for RepairStep
impl Hash for RepairStep
Source§impl PartialEq for RepairStep
impl PartialEq for RepairStep
Source§fn eq(&self, other: &RepairStep) -> bool
fn eq(&self, other: &RepairStep) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RepairStep
Auto Trait Implementations§
impl Freeze for RepairStep
impl RefUnwindSafe for RepairStep
impl Send for RepairStep
impl Sync for RepairStep
impl Unpin for RepairStep
impl UnsafeUnpin for RepairStep
impl UnwindSafe for RepairStep
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
Mutably borrows from an owned value. Read more
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
Compare self to
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>
Converts
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>
Converts
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