Skip to content

Add num_requests to lf.LMSamplingUsage. #235

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

Merged
merged 1 commit into from
Jun 28, 2024
Merged

Conversation

copybara-service[bot]
Copy link

Add num_requests to lf.LMSamplingUsage.

This allows users to also track number of requests made to models with lf.track_usages context manager.

@copybara-service copybara-service bot force-pushed the test_647720175 branch 2 times, most recently from 03533a2 to 6c65489 Compare June 28, 2024 17:28
This allows users to also track number of requests made to models with `lf.track_usages` context manager.

PiperOrigin-RevId: 647726511
@copybara-service copybara-service bot merged commit 2864063 into main Jun 28, 2024
1 check passed
@copybara-service copybara-service bot deleted the test_647720175 branch June 28, 2024 17:29
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