Skip to content

v0.1.49 - Add `ul cloud train|predict|export` workflows (#71)

Choose a tag to compare

@github-actions github-actions released this 20 Sep 14:46
· 106 commits to main since this release
c63e210

🌟 Summary

v0.1.49 adds end-to-end ul cloud train, ul cloud predict, and ul cloud export workflows, bringing familiar YOLO commands to Ultralytics Platform with automatic uploads, remote execution, and local-compatible outputs. 🚀

📊 Key Changes

  • New cloud YOLO workflows 🆕

    • Added:
      • ul cloud train
      • ul cloud predict
      • ul cloud export
    • Commands use familiar YOLO key=value arguments and support cfg=path.yaml.
  • Cloud training support 🏋️

    • Uploads local .pt models and local datasets automatically.
    • Supports dataset YAMLs, directories, ZIP archives, TAR archives, and classification folder structures.
    • Uses private Platform projects by default and prints reusable dataset/model URIs.
    • Waits for training to finish, then downloads best.pt, args.yaml, results.csv when available, and job details.
  • Cloud prediction support 🔍

    • Sends local images or videos to Platform for inference.
    • Forwards conf, iou, and imgsz to remote inference.
    • Reuses YOLO output behavior for annotated media, labels, crops, saved frames, and display options.
    • Applies supported local filtering such as classes and max_det.
    • Supports detection, segmentation, pose, oriented bounding box, classification, semantic segmentation, and depth results where returned by Platform.
  • Cloud export support 📦

    • Exports models remotely and downloads the completed artifact locally.
    • Supports export settings such as format, imgsz, quantize, and dynamic.
    • Clones official public weights into the user’s project when an owned model is required.
    • Preserves existing files until a new export downloads successfully.
    • Warns once and removes local-only options such as save, plots, workers, and cache.
  • Improved model and dataset handling ☁️

    • Recognizes hosted YOLO26, YOLO11, YOLOv8, and YOLOv5 weights.
    • Uploads local checkpoints as Platform models.
    • Packages local dataset files while preserving relevant labels, masks, depth data, and dataset configuration.
  • Local/cloud argument compatibility 🔄

    • Retains local output controls such as project, name, save_dir, and exist_ok.
    • Separates settings handled locally from those controlled by Platform.
    • Validates YOLO arguments before starting potentially charged cloud jobs.
  • Documentation and package release updates 📚

    • Added comprehensive CLI examples and workflow behavior documentation.
    • Bumped the Python SDK version to 0.1.49.
    • Existing local commands such as ul train, ul predict, and ul export remain unchanged.

🎯 Purpose & Impact

  • Simpler migration to cloud execution ✨ Users can reuse familiar YOLO commands by adding cloud, reducing the need to learn separate Platform-specific workflows.
  • Less manual file management 📤 Local models and datasets can be uploaded automatically, while completed weights and export artifacts are downloaded for local use.
  • Better workflow continuity 🔁 Local output conventions and saving options make cloud training and prediction feel more like standard YOLO usage.
  • Broader access to Platform compute ⚡ Training and export can run on managed cloud hardware through gpu_type=, while Platform handles remote execution and job monitoring.
  • Clearer operational behavior ✅ Commands wait for training and export completion, report progress, validate inputs early, and protect existing local artifacts from failed downloads.
  • Important limitation: Local and cloud results are not guaranteed to be identical. Platform controls remote execution, some accepted YOLO settings may be ignored, cloud jobs may incur charges, and interrupted commands stop waiting without cancelling the remote job.

What's Changed

Full Changelog: v0.1.48...v0.1.49