Skip to content

[litertlm] Implement accurate peak memory benchmarking for Python#2349

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
litert_lm_pr_919269414
Open

[litertlm] Implement accurate peak memory benchmarking for Python#2349
copybara-service[bot] wants to merge 1 commit into
mainfrom
litert_lm_pr_919269414

Conversation

@copybara-service
Copy link
Copy Markdown
Contributor

[litertlm] Implement accurate peak memory benchmarking for Python

This change migrates the benchmarking execution from the Python FFI layer to a dedicated, lightweight C++ binary (benchmark_cc). This enables highly accurate, cross-platform memory footprint measurements of the LiteRT-LM C++ engine without Python runtime and garbage collection overhead.

This change migrates the benchmarking execution from the Python FFI layer to a dedicated, lightweight C++ binary (`benchmark_cc`). This enables highly accurate, cross-platform memory footprint measurements of the LiteRT-LM C++ engine without Python runtime and garbage collection overhead.

LiteRT-LM-PiperOrigin-RevId: 919269414
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant