writeGraphToGgufBytes

fun writeGraphToGgufBytes(graph: ComputeGraph, weights: Map<String, Tensor<*, *>>, label: String = "graph", options: GgufExportOptions = GgufExportOptions()): Pair<GGUFWriteReport, ByteArray>(source)

Convenience: prepare and write GGUF bytes directly for a graph + weights.