3 unstable releases
Uses new Rust 2024
| 0.3.0 | Feb 26, 2026 |
|---|---|
| 0.2.1 | Feb 22, 2026 |
| 0.2.0 | Feb 21, 2026 |
#1 in #upscaling
325KB
7K
SLoC
rave-cli
Command-line interface for the RAVE GPU video pipeline.
rave-cli wires all workspace crates into an operator-facing executable with
commands for pipeline execution, benchmarking, and environment probing.
Commands
upscale: full decode -> preprocess -> infer -> encode pathbenchmark: throughput-focused run with optional encode skip/fallbackprobe: CUDA/provider probe for runtime diagnosticsdevices: list visible CUDA devices
JSON Contract
--jsonemits one final JSON object on stdout- progress is emitted on stderr via
--progress(humanorjsonl) - payloads include
schema_versionfor parser stability
Quickstart
# Human-readable probe
target/debug/rave probe
# JSON probe
target/debug/rave probe --json
# Benchmark without encode
target/debug/rave benchmark --input in.mp4 --model model.onnx --skip-encode
# Benchmark JSON + output file
target/debug/rave benchmark --input in.mp4 --model model.onnx --skip-encode --json --json-out /tmp/bench.json
# Full upscale
target/debug/rave upscale --input in.mp4 --output out.mp4 --model model.onnx
Feature Flags
debug-alloc: enables allocation instrumentation acrossrave-core,rave-pipeline, andrave-tensorrt
Runtime Requirements
- NVIDIA CUDA driver + toolkit runtime
- NVDEC/NVENC runtime libraries
- FFmpeg runtime libraries
- ONNX Runtime + TensorRT provider dependencies
Notes
- Non-JSON human output and JSON machine output are intentionally separated.
- Progress streams are opt-in to keep stdout stable for scripting.
Dependencies
~22–30MB
~524K SLoC