pypi ultralytics 8.4.115
v8.4.115 - Deprecate HUB in favor of Ultralytics Platform (#25608)

3 hours ago

๐ŸŒŸ Summary

v8.4.115 transitions Ultralytics from legacy HUB integrations to the streamlined Ultralytics Platform experience, with simpler authentication and a leaner training codebase. ๐Ÿš€

๐Ÿ“Š Key Changes

  • ๐Ÿ” Introduced validated Platform CLI authentication

    • Log in with yolo login API_KEY
    • Remove credentials with yolo logout
    • API keys are checked against the Platform before being saved.
  • ๐Ÿ”„ Added settings migration to schema 0.0.7

    • Existing compatible settings, such as custom dataset and run directories, are preserved.
    • Legacy HUB configuration and incompatible HUB API keys are removed automatically.
    • Users with old credentials are directed to create a Platform API key.
  • ๐Ÿงน Removed the legacy ultralytics.hub package

    • HUB authentication, remote training sessions, model loading, exports, dataset utilities, callbacks, and HUB-specific exceptions have been retired.
    • HUB-related API references, documentation pages, navigation entries, and the HUB example notebook were also removed.
  • ๐Ÿง  Simplified model and trainer workflows

    • Models no longer load directly from HUB URLs.
    • Training no longer manages HUB sessions, remote checkpoints, heartbeats, or HUB-specific training arguments.
    • Platform callbacks remain available for streaming training information.
  • ๐Ÿ“š Updated documentation and examples

    • Guides, notebooks, CLI help, and API documentation now reference the Ultralytics Platform instead of HUB.
    • Platform authentication and login commands are included in the quickstart and CLI documentation.
  • โœ… Expanded test coverage

    • Added tests for settings migration, API-key validation, login, and logout behavior.

๐ŸŽฏ Purpose & Impact

  • โœจ A clearer user experience: Platform is now the primary destination for dataset management, training, and deployment, avoiding confusion between HUB and Platform services.
  • โšก Simpler authentication: The new yolo login command validates credentials directly and provides a more intuitive alternative to manually editing settings.
  • ๐Ÿ› ๏ธ Cleaner and easier-to-maintain code: Removing obsolete HUB components reduces dependencies, integration complexity, and potential maintenance issues.
  • ๐Ÿ”’ Safer upgrades: Existing user settings are migrated instead of being reset, while outdated or incompatible HUB keys are discarded.
  • โš ๏ธ Compatibility consideration: Applications that import ultralytics.hub, use HUB training sessions, load models from HUB URLs, or rely on HUB-specific utilities must migrate to Ultralytics Platform workflows.
  • ๐Ÿš€ Recommended next step: Create a Platform API key and authenticate with:
yolo login YOUR_API_KEY

For no-code dataset annotation, training, and deployment, use the Ultralytics Platform.

What's Changed

Full Changelog: v8.4.114...v8.4.115

Don't miss a new ultralytics release

NewReleases is sending notifications on new releases.