Closed horheynm closed 5 months ago
Set up a registry folder and save all func, clases in the __init__ of the registry folder.
__init__
Has: max, average, identity
PythonLogger (default import logging) ListLogger (log will append to a list) Prometheus logger is a tweaked version of the exiting prometheus logger: https://github.com/neuralmagic/deepsparse/blob/main/src/deepsparse/loggers/prometheus_logger.py tests are also the tweaked version of the exiting: https://github.com/neuralmagic/deepsparse/blob/main/tests/deepsparse/loggers/test_prometheus_logger.py
Desctiption
Set up a registry folder and save all func, clases in the
__init__
of the registry folder.Functions
Has: max, average, identity
Loggers
PythonLogger (default import logging) ListLogger (log will append to a list) Prometheus logger is a tweaked version of the exiting prometheus logger: https://github.com/neuralmagic/deepsparse/blob/main/src/deepsparse/loggers/prometheus_logger.py tests are also the tweaked version of the exiting: https://github.com/neuralmagic/deepsparse/blob/main/tests/deepsparse/loggers/test_prometheus_logger.py