Closed martindevans closed 1 month ago
I added an IProgress
parameter to the LoadFromFileAsync
from method as well.
It's not _quite) reporting the raw values. If there are LoRAs to apply it reports model loading in the [0 -> 0.9]
range and then reports LoRA loading progress in the [0.9 -> 1.0]
range.
LLamaWeights.LoadFromFileAsync
.LoadFromFileAsync
CancellationToken
:OperationCanceledException
is thrown.LoadWeightsFailedException
is thrown.This does not expose the progress callback on the
ModelParams
object. However the code as written does support custom callbacks being set so that can be easily exposed in the future.Resolve #699