Table of Contents

Method ProvisionAsync

Namespace
Qavren.Edge.Chat
Assembly
Qavren.Edge.Chat.Onnx.dll

ProvisionAsync(IProgress<ModelProvisioningProgress>?, CancellationToken)

Pre-checks free disk against the bundle total, then delegates to sub-project 2's IOnnxModelStore.EnsureAsync - resumable ranged GET, per-file SHA-256 against the git-LFS oid, atomic marker, stale-revision purge - all reused unchanged.

ValueTask<ProvisionedModel> ProvisionAsync(IProgress<ModelProvisioningProgress>? progress = null, CancellationToken cancellationToken = default)

Parameters

progress IProgress<ModelProvisioningProgress>

Optional progress, for a determinate bar.

cancellationToken CancellationToken

Cancellation. Never converted.

Returns

ValueTask<ProvisionedModel>

The provisioned model.