#ifndef __SD_MODEL_IO_GGUF_IO_H__ #define __SD_MODEL_IO_GGUF_IO_H__ #include #include #include "tensor_storage.h" bool is_gguf_file(const std::string& file_path); bool read_gguf_file(const std::string& file_path, std::vector& tensor_storages, std::string* error = nullptr); bool write_gguf_file(const std::string& file_path, const std::vector& tensors, std::string* error = nullptr); #endif // __SD_MODEL_IO_GGUF_IO_H__