Cohesive.Adapters.AzureML 0.1.0-alpha.64

This is a prerelease version of Cohesive.Adapters.AzureML.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Cohesive.Adapters.AzureML --version 0.1.0-alpha.64
                    
NuGet\Install-Package Cohesive.Adapters.AzureML -Version 0.1.0-alpha.64
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Cohesive.Adapters.AzureML" Version="0.1.0-alpha.64" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Cohesive.Adapters.AzureML" Version="0.1.0-alpha.64" />
                    
Directory.Packages.props
<PackageReference Include="Cohesive.Adapters.AzureML" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Cohesive.Adapters.AzureML --version 0.1.0-alpha.64
                    
#r "nuget: Cohesive.Adapters.AzureML, 0.1.0-alpha.64"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Cohesive.Adapters.AzureML@0.1.0-alpha.64
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Cohesive.Adapters.AzureML&version=0.1.0-alpha.64&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Cohesive.Adapters.AzureML&version=0.1.0-alpha.64&prerelease
                    
Install as a Cake Tool

Cohesive.Adapters.AzureML

Azure Machine Learning adapters for model training and dataset registry workflows.

Install

dotnet add package Cohesive.Adapters.AzureML

Use When

  • You want to run Cohesive training requests against Azure Machine Learning.
  • You need dataset and model registry integration backed by Azure ML workspace resources.
  • You want model training to remain behind Cohesive.AI provider-neutral contracts.

Example

using Cohesive.Adapters.AzureML;

var azureMl = new AzureMLOptions
{
    SubscriptionId = configuration["AzureML:SubscriptionId"],
    ResourceGroupName = configuration["AzureML:ResourceGroupName"],
    WorkspaceName = configuration["AzureML:WorkspaceName"],
    RegistryName = configuration["AzureML:RegistryName"]
};

var trainer = azureMl.GetModelTrainer();
var registry = azureMl.GetRegistry();

Training submission recovery

AzureMLModelTrainer realizes TrainingJobSubmission with a deterministic Azure ML job name derived from the complete logical submission identity. The job retains the original logical identity and the versioned exact-request fingerprint in cohesive.submissionId and cohesive.requestFingerprint properties.

Submitting the same identity and request returns the existing job. Reusing the identity with different request content, or colliding with a provider job that lacks Cohesive submission evidence, fails with TrainingJobSubmissionConflictException; the adapter never treats that job as accepted for the caller.

ReconcileSubmissionAsync performs a direct lookup by deterministic job name:

  • a matching job returns Accepted;
  • an authoritative not-found result returns ConfirmedAbsent;
  • an Azure request failure returns Unresolved with portable error and retryability evidence; and
  • mismatched identity or fingerprint evidence throws TrainingJobSubmissionConflictException.

This is stable-identity idempotency, not a claim of physical exactly-once delivery. The calling durable workflow retains attempt, timeout, cancellation, and retry authority and must reuse the exact same TrainingJobSubmission through reconciliation and any admitted retry.

Training cancellation recovery

AzureMLModelTrainer implements ICancellableModelTrainer through Azure ML's command-job cancellation operation. It first observes the exact provider job:

  • Completed, Failed, or Cancelled returns AlreadyTerminal without issuing cancellation;
  • CancelRequested returns Accepted without redundant dispatch;
  • authoritative absence returns NotFound; and
  • any other observed state is eligible for Azure ML cancellation.

A successful Azure cancellation request returns Accepted, which remains non-terminal evidence. If dispatch fails, the adapter observes the job again before classifying the attempt. A terminal race or CancelRequested state wins over the transport failure. Absence after a cancellation 404 is NotFound; a still-observable job plus the same 404 is Unresolved because the provider evidence conflicts. Throttling, timeout, conflict, transport, and server failures remain retryable Unresolved evidence, while deterministic authorization or validation refusal is Rejected.

Azure ML's CancelRequested status maps to TrainingJobStatus.CancellationRequested, never ordinary Running. The calling workflow must continue status observation until the provider reports terminal state. Cancelling the method's CancellationToken stops only the local wait and does not prove that the Azure ML job stopped.

  • Cohesive.AI for training, dataset, and model registry contracts.
  • Cohesive.Adapters.AzureStorage for Azure Blob-backed training artifacts and dataset streams.
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-alpha.66 44 8/25/2026
0.1.0-alpha.65 43 8/25/2026
0.1.0-alpha.64 36 8/25/2026
0.1.0-alpha.63 60 8/24/2026
0.1.0-alpha.62 49 8/24/2026
0.1.0-alpha.61 63 8/24/2026
0.1.0-alpha.60 50 8/24/2026
0.1.0-alpha.59 49 8/24/2026
0.1.0-alpha.58 45 8/24/2026
0.1.0-alpha.57 42 8/24/2026
0.1.0-alpha.56 45 8/24/2026
0.1.0-alpha.55 45 8/23/2026
0.1.0-alpha.54 53 8/23/2026
0.1.0-alpha.53 53 8/23/2026
0.1.0-alpha.52 52 8/23/2026
0.1.0-alpha.51 44 8/23/2026
0.1.0-alpha.50 45 8/23/2026
0.1.0-alpha.49 37 8/23/2026
0.1.0-alpha.48 45 8/23/2026
Loading failed