Skip to main content

Module fastvideo

Module fastvideo 

Source
Expand description

FastVideo installer — native Rust build for ROCm gfx11 support.

Clones scooter-lacroix/FastVideo and checks out an audited immutable commit, then builds both Python distributions against Rusty’s managed ROCm environment.

Instead of delegating to ./build.sh --rocm (which calls uv pip install without --system and fails outside a venv), this module replicates the build steps individually with proper env var injection and pip prefix handling consistent with the rest of the rusty-stack installer ecosystem.

§Validation Assertion

  • VAL-INSTALL-050: FastVideo builds from fork with ROCm gfx11 support

Structs§

FastVideoConfig
Configuration for the FastVideo installer.
FastVideoInstaller
FastVideo installer.
ShellCommand
A constructed shell command.

Enums§

FastVideoInstallStep
Read-only preflights and dependency-free install operations after checkout.

Constants§

FASTVIDEO_COMMIT

Functions§

detect_discrete_gpu_archs_from_sysfs
Discover known discrete AMD GPUs directly from DRM sysfs in stable card order.
fastvideo_build_warning
Explain the bounded cost before kernel compilation begins.
fastvideo_verification_snippet
Functional FastVideo verification run through the selected Python interpreter.
max_jobs_for_parallelism
Leave one CPU free and never run more than four compile jobs.
post_checkout_plan
resolve_gpu_archs
Resolve a canonical, ordered, semicolon-delimited architecture list.
resolve_install_user
Select the effective non-root install user.
select_visible_gpu_archs
Apply the first configured visibility mask to enumerated discrete GPUs.