{"id":51051362,"url":"https://github.com/experimaestro/xpm-mlboard","last_synced_at":"2026-06-22T17:30:49.010Z","repository":{"id":366302330,"uuid":"1275793402","full_name":"experimaestro/xpm-mlboard","owner":"experimaestro","description":"Lightweight experimaestro services to monitor ML learning curves (TensorBoard, ...)","archived":false,"fork":false,"pushed_at":"2026-06-21T06:29:59.000Z","size":125,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-21T08:17:24.013Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/experimaestro.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-21T06:21:35.000Z","updated_at":"2026-06-21T06:30:02.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/experimaestro/xpm-mlboard","commit_stats":null,"previous_names":["experimaestro/xpm-mlboard"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/experimaestro/xpm-mlboard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/experimaestro%2Fxpm-mlboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/experimaestro%2Fxpm-mlboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/experimaestro%2Fxpm-mlboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/experimaestro%2Fxpm-mlboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/experimaestro","download_url":"https://codeload.github.com/experimaestro/xpm-mlboard/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/experimaestro%2Fxpm-mlboard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34659895,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-22T17:30:48.543Z","updated_at":"2026-06-22T17:30:49.001Z","avatar_url":"https://github.com/experimaestro.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xpm-mlboard\n\nLightweight [experimaestro](https://experimaestro-python.readthedocs.io/) services\nto **monitor ML learning curves** during experiments. It launches a visualization\nbackend and aggregates the run directories produced by your tasks so you can watch\ntraining live.\n\nIt is intentionally torch-free: the package only depends on `experimaestro`, with\nthe heavier visualization tools pulled in as optional extras.\n\n## Backends\n\n- **TensorBoard** (`xpm_mlboard.TensorboardService`) — runs `tensorboard` as an\n  isolated subprocess on a free port and symlinks each task's tagged run directory\n  into a single `runs/` folder.\n\nThe `xpm_mlboard.MonitoringService` / `xpm_mlboard.SymlinkMonitoringService`\nbase classes make it straightforward to add other backends (e.g. Weights \u0026 Biases).\n\n## Installation\n\nAs a project dependency (with the TensorBoard backend):\n\n```bash\nuv add \"xpm-mlboard[tensorboard]\"\n```\n\n### Adding the plugin to `experimaestro` installed as a uv tool\n\nIf you run `experimaestro` as a [uv tool](https://docs.astral.sh/uv/concepts/tools/),\ninject this plugin into the tool's environment with `--with` (re-run the install to\nadd the plugin to the existing tool):\n\n```bash\nuv tool install experimaestro --with \"xpm-mlboard[tensorboard]\"\n```\n\n## Usage\n\nAdd the service to your experiment and register each task's run directory:\n\n```python\nfrom xpm_mlboard import TensorboardService\n\n# `xp` is the experimaestro experiment\nservice = xp.add_service(TensorboardService(xp.resultspath / \"runs\"))\n\n# When you submit a task, register its run directory so it shows up:\ntask = MyLearningTask(...).submit()\nservice.add(task, task.logpath)\n```\n\nWiring the service into an experiment is typically done through a project-specific\nexperiment helper (for instance `xpm_torch.experiments.LearningExperimentHelper`,\nwhich exposes `helper.monitoring_service`).\n\n### Custom backends\n\nSubclass `SymlinkMonitoringService` (filesystem-based backends) or\n`MonitoringService` (anything else) and implement the backend-specific bits:\n\n```python\nfrom xpm_mlboard import SymlinkMonitoringService\nfrom experimaestro.scheduler.services import ProcessWebService\n\n\nclass MyBackendService(SymlinkMonitoringService, ProcessWebService):\n    id = \"mybackend\"\n\n    def description(self):\n        return \"My backend service\"\n\n    def _build_command(self):\n        ...\n\n    def _wait_for_ready(self):\n        ...\n```\n\n## License\n\nGPL-3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexperimaestro%2Fxpm-mlboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexperimaestro%2Fxpm-mlboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexperimaestro%2Fxpm-mlboard/lists"}