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.