Skip to main content

Crate rusty_stack

Crate rusty_stack 

Source
Expand description

Rusty-Stack Library

This library contains the core TUI installer, benchmark infrastructure, and the new platform modules (core, platform, orchestrator, telemetry, adapter).

Modules§

adapter
Adapter module — maps component IDs to executors (Rust or legacy shell script).
app
benchmark_logs
benchmark_runners
Native Rust benchmark runner module.
benchmarks
Performance benchmark infrastructure for Rusty-Stack. Heavy lifting is delegated to a small embedded Python helper that runs ROCm-enabled PyTorch kernels to exercise the real hardware.
bootstrap
Native Rust bootstrap module.
component_status
config
core
Core module — foundational types, contracts, and shared abstractions.
gpu
GPU classification — the SINGLE source of truth for distinguishing AMD discrete GPUs (dGPUs) from integrated GPUs (iGPUs).
hardware
installer
installers
Native Rust installer modules.
logging
Logging infrastructure for Rusty Stack.
orchestrator
Orchestrator module — upgrade and update command orchestration.
platform
Platform module — hardware detection, environment management, and OS abstraction.
state
telemetry
Telemetry module — opt-in anonymous hardware telemetry and stability benchmarking.
uninstall
Uninstall orchestrator — removes the Rusty-managed ML stack so a clean reinstall is possible without manual purging.
verification
Native Rust verification module.
widgets
Widgets module for Rusty-Stack TUI

Functions§

detect_scripts_dir
Detect the scripts directory by checking current dir and parent dir.
run_tui
Run the TUI application.
set_repo_root
Set the MLSTACK_REPO_ROOT environment variable based on scripts dir location.