Progress Tracking#
Overview#
ProgressTrackingInterceptor tracks evaluation progress by counting processed samples and optionally sending updates to a webhook endpoint.
Configuration#
CLI Configuration#
--overrides 'target.api_endpoint.adapter_config.use_progress_tracking=True,target.api_endpoint.adapter_config.progress_tracking_url=http://monitoring:3828/progress'
YAML Configuration#
target:
api_endpoint:
adapter_config:
interceptors:
- name: "endpoint"
enabled: true
config: {}
- name: "progress_tracking"
enabled: true
config:
progress_tracking_url: "http://monitoring:3828/progress"
progress_tracking_interval: 10
request_method: "PATCH"
output_dir: "/tmp/output"
Configuration Options#
For detailed configuration options, please refer to the nemo_evaluator.adapters.interceptors Python API reference.
Behavior#
The interceptor tracks the number of responses processed and:
Sends webhook updates: Posts progress updates to the configured URL at the specified interval
Saves progress to disk: If
output_diris configured, writes progress count to aprogressfile in that directoryResumes from checkpoint: If a progress file exists on initialization, resumes counting from that value