Repository navigation
DGL inputs, server logic, IP adapter usage cut.. #2487
|
Why IP-Adapter input was deleted from server inputs? (6cd0ef1) For now I see it only in DGL? And why I can't using that new DGL launch same server logic with image upload from PC1 via post to PC2 as parameter? Yep I see that some code for dgl has input parameters, but the server is just ignores that Is it planned to be changed by someone (asking because i want fix that). As I see all pipelines going to dgl, so intertested saving server logic. |
Replies: 1 comment
|
Going by the current code, here's what changed and where a fix would go. IP-Adapter in the server. It is switched off deliberately. for (const char* name : {"ip_adapter", "slg", "shifted_timestep"})
features[name] = false;So even a recipe with an Why DGL jobs can't take an uploaded image. That's the
So a fix stays small and lives entirely in the server:
The script then looks like this: Your PC1 → PC2 case then becomes one POST with the image inline. The file-path problem goes away too, because script reads are limited to the configured model directories. I couldn't find an open PR or issue for DGL job inputs; the only related merged one is #2480 (media I/O in DGL). It looks free to pick up. Since |
Going by the current code, here's what changed and where a fix would go.
IP-Adapter in the server. It is switched off deliberately.
resolve_recipe_features()inexamples/server/model_catalog.cppends with:So even a recipe with an
ip_adapterslot never getsip_adapter_imagein its features. 6cd0ef1 also removed thesd1-ip-adapter.json/sdxl-ip-adapter.jsonrecipes and moved the workflow to DGL graphs (docs/dgl/ip_adapter/*.dgl).docs/models/ip_adapter.mdnow only documents IP-Adapter throughip_adapter::loadin DGL. The JSON parsing is still there (ip_adapter_imageinexamples/common/common.cpp)…