Repository navigation
v0.1.49 - Add `ul cloud train|predict|export` workflows (#71)
🌟 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 trainul cloud predictul cloud export
- Commands use familiar YOLO
key=valuearguments and supportcfg=path.yaml.
- Added:
-
Cloud training support 🏋️
- Uploads local
.ptmodels 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.csvwhen available, and job details.
- Uploads local
-
Cloud prediction support 🔍
- Sends local images or videos to Platform for inference.
- Forwards
conf,iou, andimgszto remote inference. - Reuses YOLO output behavior for annotated media, labels, crops, saved frames, and display options.
- Applies supported local filtering such as
classesandmax_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, anddynamic. - 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, andcache.
-
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, andexist_ok. - Separates settings handled locally from those controlled by Platform.
- Validates YOLO arguments before starting potentially charged cloud jobs.
- Retains local output controls such as
-
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, andul exportremain 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
- Add
ul cloud train|predict|exportworkflows by @JaviChulvi in #71
Full Changelog: v0.1.48...v0.1.49