mlx-bun library API
    Preparing search index...
    interface ConvertDependencies {
        catalog: Pick<
            ModelCatalog,
            "find"
            | "download"
            | "canPublish"
            | "publish",
        >;
        terminal: CliTerminal;
        log(line?: string): void;
        modelsDir(): string;
        quantize(
            config: Record<string, unknown>,
            outDir: string,
            progress: (message: string) => void,
            signal?: AbortSignal,
        ): Promise<{ outputPath: string }>;
    }
    Index
    catalog: Pick<ModelCatalog, "find" | "download" | "canPublish" | "publish">
    terminal: CliTerminal
    • The web quantize job's producer, run as an owned child process with the same snake_case config. The sensitivity sweep is synchronous, so only a separate process keeps the parent responsive; cancellation terminates and joins the child and discards its staging.

      Parameters

      • config: Record<string, unknown>
      • outDir: string
      • progress: (message: string) => void
      • Optionalsignal: AbortSignal

      Returns Promise<{ outputPath: string }>