Repository navigation
Replies: 2 comments
|
DGL landed in #2396 and runs inside |
|
Yes, DGL is a project-specific DSL introduced in #2396, which was merged on Nov 22, 2026. The key difference is that Bash orchestrates inference from outside the engine, while DGL lets you compose the inference pipeline itself. Some practical use cases already supported by DGL:
A concrete example is the MiniMax H3 latent hires script, which performs latent upscaling, audio/video latent manipulation and a second sampling pass before decoding the final output. Bash can certainly chain multiple sd-cli invocations, but it cannot directly access or manipulate internal values that the CLI does not expose. Conceptually, DGL is closer to a script workflow than a replacement for Bash. It allows users to implement custom diffusion pipelines without having to modify the C++ implementation for every new workflow. See also: |
Uh oh!
There was an error while loading. Please reload this page.
I have just found out about DGL. Web search did not find anything, is it a custom language of sd.cpp? Seems recent addition to the repo, correct?
I support efforts for developing scripting abilities, I also saw "tensors" mentioned so hope DGL will be able to be used for some precision tasks. Are there practical cases that can be done already in DGL that cannot be scripted in bash + sd-cli? TIA
All reactions