Repository navigation
cookbook: sync latest Loom updates and use published SDK beta2 - #54
Harshith Arun Kumar (harshith-arunkumar) wants to merge 7 commits into
Conversation
Bring approved shared training recipes, recovery, grading, managed submission and dataset-validation fixes into the public cookbook. Preserve public-specific examples and eligibility, exclude private-only additions, and retain notebook state. Pin SDK 1.0.0b2 pending published-wheel qualification. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Declare Azure Core for the synced retry error classifiers in lightweight CI. Carry the canonical capstone ignore contract so credential-bearing runtime state and outputs cannot be accidentally tracked. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Match the existing reviewed offline-test dependency set for the newly synced Azure Core, OpenAI and HTTP exception fixtures. The exact CI selection passes in a clean environment with only these declared test requirements. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Completed the full provisional Programmed Training run using published SDK 1.0.0b1: 2,882 passed, 17 skipped, 9 strict SDK-version expected failures, 7 passing subtests. Beta2 must run those assertions without the beta1 expected-failure marks. The first hosted managed run exposed missing dependencies for the newly synced offline HTTP/SDK error fixtures. Follow-ups add the reviewed minimal test dependency set; the exact public CI selection now passes in a clean environment with only that requirements file installed, plus seven root checks and The hosted Programmed Training installer failure is confirmed as |
|
Verified all four hosted Managed documentation checks passed on final commit 2794b05 (Ubuntu/Windows, Python 3.11/3.13). The full Programmed Training tree is unchanged from the 2,882-pass provisional beta1 run. Programmed Training installation is still blocked by the unpublished PyPI beta2 release; the PR remains draft until the released artifact and complete CI are qualified. |
|
Rechecked the current failed gates on 2026-11-12: all 4 failures stop during dependency installation, before tests run, with: Official PyPI verification today:
There is no cookbook or workflow patch that can satisfy this dependency while retaining the explicitly requested beta2 pin. I did not downgrade to beta1, substitute a private feed/local SDK wheel, skip tests, or repeatedly rerun installers against an absent release. Required next step: publish the non-yanked azure-ai-finetuningsessions 1.0.0b2 wheel to PyPI, then rerun the failed workflows and qualify the complete tests against that released artifact. The PR remains draft until this succeeds. Both worktrees remain unchanged and clean. |
Remove weight-export handoff promotion and clarify that recipe checkpoints remain in the service. Add documentation regressions for download examples and ambiguous export claims, preserve all checkpoint save/resume APIs, and align session metadata guidance with released SDK beta2. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Three-way integrate the latest shared Loom changes, retain target-only behavior, fix SDK checkpoint route fixtures, and make unpublished beta3 release qualification explicit. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Document best-effort recovery and verify that beta2 preserves the engine-loss failure without opening a replacement when session close returns HTTP 409. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Released SDK beta2 bridge
This sync uses published
azure-ai-finetuningsessions==1.0.0b2while beta3 publication is pending. The non-yanked PyPI wheel was SHA-256 verified and used for the focused recovery, package and documentation checks. No SDK source, wheel, resolver override or alternate package index is added to the cookbook.Beta2 detects polled
engine_deadeven withshould_retry=true. Recovery remains best-effort: if closing the interrupted session returns HTTP 409 withengine_dead, beta2 raises a generic HTTP error. The cookbook preserves the original training failure and does not create a replacement. The integration test explicitly checks this outcome for beta2; successful checkpoint restart and fail-closed handling of unrelated conflicts remain covered. Runtime code and CI workflows are unchanged by this bridge.Local validation against released beta2: 265 passed in the focused run; an unchanged deadline case hit a Windows file-replace access error and passed on isolated rerun (both deadline variants passed). Review the hosted training gates for this head before merging.
Latest source and integration
fdaeb41c7ecc834f3781522d2a69d774359f8d30(2026-11-17).91e981aee4a6b4db76a011741c62606ff0a4f7cb.0b8bcfe9519ed382a5bc202f0f1b2ce65c22a2c9before the refresh; retained its independent README additions.1675e55b326183b61a1c2063d20bdb50fe39fcbf; beta2 bridge:90d982b8671e50d404720ffa36c04871db637101.Latest additions
policy_step, independent of batch/metrics indices; explicit resume state restores it without inventing legacy values.RequestRetryableErrorvalues enter bounded failed-slot recovery while retaining completed trajectories.Retained original sync and boundaries
The original shared recovery, Adam defaults, math grading isolation, LLM-judge/numerics recipes, tool/vision improvements, Managed Training safety contracts, canonical math-reference correction/hash manifest, and notebook/asset preservation remain included. Public-specific examples and MAI Code Repair remain. Model/region and GlobalStandard-only eligibility, SDK namespaces, logging contracts and opt-in paid smoke behavior are unchanged. No private recipes, backend/environment/telemetry adapters, SDK source/wheels or internal package indexes are exported.
Checkpoint docs describe service-side save/resume rather than generally available weight downloads; save/resume APIs and the documentation regression guard remain. Separate SDK README-only follow-up: Azure/azure-sdk-for-python#50014. Already-published PyPI description changes require the release owner's normal publication process.
Validation and release limitations
PYTHONPATH, with--runxfailso old beta1-version expected-failure marks did not mask assertions. The existing environment's installed distribution metadata remains beta1. This is source compatibility evidence, not a beta1-runtime claim or published-beta3 qualification.Upgrade to beta3 in a follow-up after publication and wheel-level recovery qualification; it is not a blocker for this beta2 sync. No SDK release, live training, deployment, paid sampling or merge was performed.