Expand description
Benchmark comparison module Benchmark comparison module for UniLLM vs llama.cpp
This module provides infrastructure for comparing inference performance between UniLLM and llama.cpp using the same GGUF model files.
Structs§
- Benchmark
Comparison - Comparison between two backends
- Benchmark
Config - Configuration for benchmark runs
- Benchmark
Results - Aggregated benchmark results for a backend
- Benchmark
Runner - Benchmark runner that executes benchmarks on backends
- Generation
Result - Result of a single generation
- Inference
Metrics - Metrics collected per inference run
- UniLLM
Backend - UniLLM inference backend
Traits§
- Inference
Backend - Trait for inference backends that can be benchmarked
Functions§
- get_
process_ memory - Get current process memory usage in bytes
- print_
comparison_ table - Print comparison results as a formatted table
- print_
single_ results - Print results for a single backend