github Azure/azure-sdk-for-python azure-ai-finetuningsessions_1.0.0b3

pre-release11 hours ago

1.0.0b3 (2026-12-01)

Features Added

  • Add capability-negotiated completion-feed observation for synchronous and asynchronous convenience sampling. Notifications trigger authoritative result retrieval; services and sessions without exact enablement retain legacy polling.
  • Add the async-only connection_pool_limit client option to size the default connection pool without changing sampling concurrency or caller-supplied transports.
  • Expose checkpoint save status, typed CheckpointPublicationState, publication requirements, and deployment eligibility when returned by the service.
  • Add experimental native TIS loss, including reference-based text-only training, with an experimental warning when selected.
  • Add explicitly opted-in native score centering, decode-time sampling head capture, multidimensional tensor shapes, and head/provenance metadata. These require compatible service support and do not enable service capabilities.

Breaking Changes

  • Checkpoint.time can be None for pending or failed checkpoint saves. Handle missing completion timestamps before formatting, comparing, or sorting checkpoints. Completed saves retain their timestamps.

Bugs Fixed

  • Preserve completion-feed cursor progress across reconnects, honor bounded server retry hints, and recover missed notifications through sparse result retrieval.
  • Drain completion observers during client shutdown and let idle streams finish their bounded window so newly submitted sampling work can reuse the stream.
  • Preserve normal synchronous sampling submission and result timeouts when completion feeds are enabled. If a close call times out, finish the shared cleanup after the workers drain.
  • Report the canonical session ID on sampling submission and result errors without changing request routing or retry behavior.
  • Report cumulative final sampling-call totals per client/session across reconnects and idle periods, rather than resetting counts or counting notifications and retry attempts.
  • Preserve typed terminal errors and canonical session identifiers when session close fails, including engine_dead and worker_crashed HTTP 409 responses. Conflicting, malformed, or nonterminal codes and generic busy/deadline messages remain HTTP errors rather than being inferred as engine death.

Other Changes

  • Refresh generation source references and archived tooling to match the current shared SDK toolchain without changing generated APIs or runtime behavior.

Don't miss a new azure-sdk-for-python release

NewReleases is sending notifications on new releases.