mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-11 11:26:34 +00:00
feat: add IP-Adapter support for SD 1.5 and SDXL (#1803)
This commit is contained in:
1 parent
5114672c48
commit
8d377073e3
13 files changed
+366
-41
No files matched your search
@@ -1689,6 +1689,8 @@ struct GGMLRunnerContext {
|
||||
bool conv2d_direct_enabled = false;
|
||||
bool circular_x_enabled = false;
|
||||
bool circular_y_enabled = false;
|
||||
ggml_tensor* ip_context = nullptr;
|
||||
float ip_scale = 1.0f;
|
||||
std::shared_ptr<WeightAdapter> weight_adapter = nullptr;
|
||||
std::vector<std::pair<ggml_tensor*, std::string>>* debug_tensors = nullptr;
|
||||
std::function<ggml_tensor*(const std::string&)> get_cache_tensor;
|
||||
|
||||
Reference in new issue
Block a user