Skip to content

Document scheduled model retraining#4981

Open
shannonbradshaw wants to merge 2 commits intomainfrom
claude/scheduled-retraining
Open

Document scheduled model retraining#4981
shannonbradshaw wants to merge 2 commits intomainfrom
claude/scheduled-retraining

Conversation

@shannonbradshaw
Copy link
Copy Markdown
Collaborator

Source changes

  • viamrobotics/app#11634 (7060a1b): Model retraining backend scheduler — runs daily at midnight UTC, checks models with a cron-based retraining schedule, and submits new training jobs
  • viamrobotics/app#11635 (2446206): Frontend UI for retraining schedule — adds a dialog to the model details page where users set daily, weekly, or monthly retraining

Docs changes

  • docs/vision/deploy-and-maintain/retrain.md: Added a "Schedule automatic retraining" subsection under "Train a new model version" describing how to set a retraining schedule from the model details page, the available frequencies, and the limitation that custom training scripts are not supported

How I found these

  • Detected the new schedulers/model_retraining_scheduler.go and ui/src/lib/api/training-jobs/retraining-schedule.ts files in the app repo diff
  • Confirmed the feature is not behind a feature flag (UI checks isRetrainable based on model metadata)
  • Grep for retrain across docs found the existing retrain guide as the natural location

Generated by daily docs change agent

The Viam app now supports setting a retraining schedule (daily, weekly,
or monthly) on ML models trained with a linked dataset. This adds a
subsection to the retrain guide describing the feature.

Source: viamrobotics/app#11634 (backend scheduler), viamrobotics/app#11635 (frontend UI)

https://claude.ai/code/session_01RpYY6JffBD27vcdBPV41vb
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 19, 2026

Deploy Preview for viam-docs ready!

Name Link
🔨 Latest commit ea74026
🔍 Latest deploy log https://app.netlify.com/projects/viam-docs/deploys/69e5ef167e07f70008a1b0ec
😎 Deploy Preview https://deploy-preview-4981--viam-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 38 (🔴 down 2 from production)
Accessibility: 99 (no change from production)
Best Practices: 92 (🟢 up 9 from production)
SEO: 89 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@viambot viambot added the safe to build This pull request is marked safe to build from a trusted zone label Apr 19, 2026
@shannonbradshaw shannonbradshaw requested a review from Copilot April 19, 2026 09:35
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the vision model drift/retraining guide to document the newly added “scheduled model retraining” feature available in the Viam app, so users can automate periodic retraining runs from the model details page.

Changes:

  • Adds a “Schedule automatic retraining” subsection under “Train a new model version”.
  • Documents how to configure daily/weekly/monthly schedules in the UI and notes current limitations (built-in training + linked dataset; no custom training scripts yet).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

### Schedule automatic retraining

Instead of manually starting a training job each time you add new data, you can set a retraining schedule on a model.
Viam checks the schedule daily and submits a new training job when the model is due.
Copy link

Copilot AI Apr 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The scheduler timing is ambiguous here. Since scheduled retraining is evaluated once per day (per PR description, at midnight UTC), the docs should state the timezone/time-of-day explicitly so users don’t assume local-time scheduling or an immediate retrain after the selected day begins.

Suggested change
Viam checks the schedule daily and submits a new training job when the model is due.
Viam evaluates retraining schedules once per day at midnight UTC and submits a new training job when the model is due.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in ea74026. Applied the suggestion — added "once per day at midnight UTC" to clarify the evaluation timing.


Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to build This pull request is marked safe to build from a trusted zone

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants