exportModelToGguf

fun exportModelToGguf(model: Module<*, *>, forwardPass: (GraphExecutionContext) -> Unit, label: String = model.name, options: GgufExportOptions = GgufExportOptions(), baseOps: TensorOps = VoidTensorOps()): GgufWriteRequest(source)

Convenience: record a forward pass under a graph/tape context, collect weights, and prepare a GGUF request. The forwardPass lambda receives a GraphExecutionContext whose ops are tracing-enabled (VoidTensorOps base).