Repository navigation
v0.1.103 - Update Platform API contract (#143)
🌟 Summary
v0.1.103 improves the Platform API and Python SDK, while making cloud dataset and model workflows easier to reuse and more reliable.
📊 Key Changes
- API and SDK update: The Platform API contract and Python SDK move to 0.1.103. Language-model responses can now optionally report input and output token usage.
- Download datasets from the CLI:
ul cloud download data=ul://...can download a Platform dataset into YOLO-compatible files, ready for training. - Reuse unchanged uploads: Cloud training can reuse an unchanged dataset, and training, prediction, or export can reuse an already-uploaded checkpoint when its contents match.
- Python 3.15 support: Python 3.15 is added to the tested CI versions and package classifiers.
- More reliable cloud workflows: Updates fix prediction class labels and repeated label-file output, validate prediction settings before downloading URL sources, handle API keys in private fallback folders, and report untrained models promptly instead of waiting indefinitely.
🎯 Purpose & Impact
- SDK users can access token-usage details when the API provides them, without requiring the field in every response.
- Dataset downloads and upload reuse reduce manual steps and avoid redundant transfers during common cloud workflows.
- Prediction outputs and authentication behave more consistently, while clearer errors help users resolve issues sooner.
- No model architecture or weights changed in this release; the main benefits are API access, CLI usability, and reliability.
What's Changed
- Add ul cloud download data= to download full datasets by @JaviChulvi in #130
- Show class names in ul cloud predict output by @JaviChulvi in #134
- Read the saved API key from the private config folder yolo login uses by @JaviChulvi in #135
- Stop ul cloud download waiting forever on untrained models by @JaviChulvi in #136
- Check ul cloud predict arguments before downloading a URL source by @JaviChulvi in #137
- Replace label files when ul cloud predict reruns into the same folder by @JaviChulvi in #138
- Reuse an unchanged local dataset when ul cloud train reruns by @JaviChulvi in #139
- Set predictor source type before saving ul cloud predict outputs by @glenn-jocher in #140
- Test and declare Python 3.15 support by @glenn-jocher in #141
- Reuse an unchanged checkpoint instead of uploading it again by @JaviChulvi in #142
- Update Platform API contract by @UltralyticsAssistant in #143
Full Changelog: v0.1.102...v0.1.103