Progress Tracking#
Tracks evaluation progress by counting processed samples and optionally sending updates to a webhook endpoint.
Configuration#
YAML Configuration#
interceptors:
- name: "progress_tracking"
enabled: true
config:
progress_tracking_url: "http://monitoring:3828/progress"
progress_tracking_interval: 10
request_method: "PATCH"
output_dir: "/tmp/output"
Python Configuration#
from nemo_evaluator.adapters.adapter_config import AdapterConfig, InterceptorConfig
adapter_config = AdapterConfig(
interceptors=[
InterceptorConfig(
name="progress_tracking",
config={
"progress_tracking_url": "http://monitoring:3828/progress",
"progress_tracking_interval": 10,
"request_method": "PATCH",
"output_dir": "/tmp/output"
}
)
]
)
Configuration Options#
Parameter |
Type |
Default |
Description |
---|---|---|---|
|
|
|
URL to post progress updates. Supports expansion of shell variables. |
|
|
|
Update every N samples |
|
|
|
HTTP method for progress updates |
|
|
|
Directory to save progress file |
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_dir
is configured, writes progress count to aprogress
file in that directoryResumes from checkpoint: If a progress file exists on initialization, resumes counting from that value