MCPcopy
hub / github.com/mudler/LocalAI / QuantizationProgress

Method QuantizationProgress

pkg/grpc/embed.go:311–317  ·  view source on GitHub ↗
(ctx context.Context, in *pb.QuantizationProgressRequest, f func(update *pb.QuantizationProgressUpdate), opts ...grpc.CallOption)

Source from the content-addressed store, hash-verified

309}
310
311func (e *embedBackend) QuantizationProgress(ctx context.Context, in *pb.QuantizationProgressRequest, f func(update *pb.QuantizationProgressUpdate), opts ...grpc.CallOption) error {
312 bs := &embedBackendQuantizationProgressStream{
313 ctx: ctx,
314 fn: f,
315 }
316 return e.s.QuantizationProgress(in, bs)
317}
318
319func (e *embedBackend) StopQuantization(ctx context.Context, in *pb.QuantizationStopRequest, opts ...grpc.CallOption) (*pb.Result, error) {
320 return e.s.StopQuantization(ctx, in)

Callers

nothing calls this directly

Calls 1

QuantizationProgressMethod · 0.65

Tested by

no test coverage detected