Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add memory stats #964

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zhenying-liu
Copy link

Log memory statistics, including host memory usage. When activation offloading is specified via remat_policy, display host memory usage for better insight into resource utilization.

f"Output size: {compiled_stats.output_size_in_bytes}, "
f"temp size: {compiled_stats.temp_size_in_bytes}, "
f"argument size: {compiled_stats.argument_size_in_bytes}, "
f"host temp size: {compiled_stats.host_temp_size_in_bytes}, in bytes."

This comment was marked as resolved.

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.

2 participants