pub struct FastVideoInstaller { /* private fields */ }Expand description
FastVideo installer.
Implementations§
Source§impl FastVideoInstaller
impl FastVideoInstaller
pub fn new(config: FastVideoConfig) -> Self
pub fn mkdir_build_dir(&self) -> ShellCommand
pub fn git_clone(&self) -> ShellCommand
Sourcepub fn git_checkout(&self) -> ShellCommand
pub fn git_checkout(&self) -> ShellCommand
Check out only the audited immutable fork commit in detached-HEAD mode.
Sourcepub fn chown_build_dir(&self, run_user: &str) -> ShellCommand
pub fn chown_build_dir(&self, run_user: &str) -> ShellCommand
Return ownership of the sudo-created clone to the install user.
Sourcepub fn managed_dependencies_preflight(&self) -> ShellCommand
pub fn managed_dependencies_preflight(&self) -> ShellCommand
Verify that Rusty’s centrally owned dependencies are present at exact pins.
This preflight is deliberately read-only: FastVideo may consume the managed environment, but it must never install, upgrade, or resolve dependencies.
Sourcepub fn source_policy_preflight(&self) -> ShellCommand
pub fn source_policy_preflight(&self) -> ShellCommand
Fail closed if the immutable fork violates the audited ROCm-only source policy.
Sourcepub fn flash_attention_preflight(&self) -> ShellCommand
pub fn flash_attention_preflight(&self) -> ShellCommand
Verify the selected managed flash-attention backend before compiling FastVideo.
Sourcepub fn pip_install_kernel(&self) -> ShellCommand
pub fn pip_install_kernel(&self) -> ShellCommand
Build and install fastvideo-kernel with ROCm support.
Sets only the HIP architecture list and selected managed Python interpreter through CMake. The pinned fork is HIP-only and has no CUDA/TK backend switch.
Uses pip install --no-build-isolation --no-deps --no-index . so the kernel
consumes Rusty’s managed build/runtime dependencies without resolving or
modifying them.
§Pip Target Directory
The working directory is the clone’s fastvideo-kernel subdirectory,
whose pyproject.toml installs the native fastvideo_kernel module.
Sourcepub fn pip_install_package(&self) -> ShellCommand
pub fn pip_install_package(&self) -> ShellCommand
Install the root FastVideo Python package without resolving CUDA dependencies.
Sourcepub fn distribution_snapshot(
&self,
phase: &str,
runtime_prefixes: &[&str],
) -> ShellCommand
pub fn distribution_snapshot( &self, phase: &str, runtime_prefixes: &[&str], ) -> ShellCommand
Snapshot all distributions before installation or validate the after-state.
Only FastVideo’s two own distributions may change. CUDA/NVIDIA distributions fail closed in either phase.
pub fn cleanup(&self) -> ShellCommand
Trait Implementations§
Source§impl Clone for FastVideoInstaller
impl Clone for FastVideoInstaller
Source§impl Debug for FastVideoInstaller
impl Debug for FastVideoInstaller
Auto Trait Implementations§
impl Freeze for FastVideoInstaller
impl RefUnwindSafe for FastVideoInstaller
impl Send for FastVideoInstaller
impl Sync for FastVideoInstaller
impl Unpin for FastVideoInstaller
impl UnsafeUnpin for FastVideoInstaller
impl UnwindSafe for FastVideoInstaller
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<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