-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Example metric may be to track counts of each input type for identity backend * Initial metrics example counting instances of each input type * clang * Cleanup metrics on model state destruction, add ifdef guards for TRITON_ENABLE_METRICS * input_byte_size counter instead of dtype counter * Use BackendState to share metric family across all models in identity backend * Remove temp define * Tweak example metric family description * [FIXME] Add else showing TRITON_ENABLE_METRICS is not set in backend * Tweak CMake build var descriptions * Set build arg in compile definition, remove debug message * Update copyright * Add custom metric example description to README * Review feedback - init metricfamily in constructor, remove testing comments * Check nullptr on delete and clang-format
- Loading branch information
Showing
3 changed files
with
129 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters