#ifndef __SD_CORE_LAYER_SPLIT_PARTITION_H__ #define __SD_CORE_LAYER_SPLIT_PARTITION_H__ #include #include #include #include "ggml-backend.h" #include "ggml.h" namespace sd { std::string layer_split_backend_device_display_name(ggml_backend_t backend); int layer_split_tensor_block_index(const std::string& name); std::vector> partition_layer_split_tensors( const std::string& desc, const std::map& tensors, const std::map& split_tensors, const std::vector& backends); } // namespace sd #endif // __SD_CORE_LAYER_SPLIT_PARTITION_H__