290 as default resources monitoring - #292
Merged
guillaume-byte merged 4 commits intoAug 14, 2026
Merged
Conversation
Background daemon thread, started alongside the watchdog in grpc_serve(), samples system and process resource usage on a wall-clock interval and logs each metric through the existing signal pipeline so it shows up in Weights Studio like any other loss/metric curve. GPU metrics use NVML (nvidia-ml-py) and degrade gracefully with no NVIDIA driver present. Enabled by default; configurable/disableable via env vars or a new resource_monitoring.yaml (per-category toggles), documented in docs/resource_monitoring.rst and docs/configuration.rst. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
New weightslab.export package collects bounding boxes and segmentation
masks (converted to polygons via OpenCV, optional weightslab[export]
extra) from the registered dataframe into a format-agnostic
representation, then encodes it to one of three relabeling-tool formats.
Bounding-box export needs no extra dependency.
Wired through three equally-weighted entry points sharing the same core
logic:
- Python API: wl.export_annotations(fmt, path=None, origin=None, ...)
- CLI: `weightslab export --format {cvat,label_studio,v7} [OUTPUT]`,
connecting over gRPC like `weightslab cli`
- gRPC: new ExportAnnotations RPC (experiment_service.proto), delegated
to DataService -- this backs the Weights Studio "Export" button
(frontend change tracked separately in weights_studio)
Class names and image paths/dimensions have no dedicated registry in the
current data model, so both are resolved best-effort (explicit override,
then dataset.class_names / common path attributes, then a synthetic
filename) -- documented explicitly in docs/export.rst so silent
mismatches aren't a surprise.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…-as-default-resources-monitoring
guillaume-byte
merged commit Aug 14, 2026
091a4df
into
288-data-tags-export-to-labelling-integration
9 checks passed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mix of resources monitoring and data export with tags feature.