Skip to content

Commit 985fd82

Browse files
authored
Merge pull request #17 from AtomicBot-ai/upstream-sync/master-1163-0915ceb
Sync upstream master-1163-0915ceb
2 parents 76b7f72 + eaee7d7 commit 985fd82

773 files changed

Lines changed: 54804 additions & 25269 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/build.yml‎

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ on:
1515
[
1616
".github/workflows/**",
1717
".dockerignore",
18+
"docs/dgl-builtins.md",
1819
"docker/Dockerfile*",
1920
"scripts/ci-cuda-cache.sh",
2021
"**/CMakeLists.txt",
@@ -38,6 +39,7 @@ on:
3839
[
3940
".github/workflows/**",
4041
".dockerignore",
42+
"docs/dgl-builtins.md",
4143
"docker/Dockerfile*",
4244
"scripts/ci-cuda-cache.sh",
4345
"**/CMakeLists.txt",
@@ -100,6 +102,7 @@ jobs:
100102
cd build
101103
cmake .. -DSD_BUILD_SHARED_LIBS=ON -DGGML_NATIVE=OFF -DSD_BUILD_SHARED_GGML_LIB=ON -DGGML_BACKEND_DL=ON -DGGML_CPU_ALL_VARIANTS=ON -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_RPATH='$ORIGIN'
102104
cmake --build . --config Release
105+
cmake --build . --config Release --target dgl-check-builtins
103106
104107
- name: Get commit hash
105108
id: commit
@@ -121,6 +124,8 @@ jobs:
121124
run: |
122125
cp ggml/LICENSE ./build/bin/ggml.txt
123126
cp LICENSE ./build/bin/stable-diffusion.cpp.txt
127+
cp thirdparty/libwebm/LICENSE.TXT ./build/bin/libwebm.txt
128+
cp thirdparty/libwebp/COPYING ./build/bin/libwebp.txt
124129
chmod +x start-server.sh
125130
zip -j sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-${{ steps.system-info.outputs.OS_TYPE }}-${{ steps.system-info.outputs.OS_NAME }}-${{ steps.system-info.outputs.OS_VERSION }}-${{ steps.system-info.outputs.CPU_ARCH }}.zip ./build/bin/* ./start-server.sh ./start-server.bat
126131
@@ -186,6 +191,8 @@ jobs:
186191
run: |
187192
cp ggml/LICENSE ./build/bin/ggml.txt
188193
cp LICENSE ./build/bin/stable-diffusion.cpp.txt
194+
cp thirdparty/libwebm/LICENSE.TXT ./build/bin/libwebm.txt
195+
cp thirdparty/libwebp/COPYING ./build/bin/libwebp.txt
189196
chmod +x start-server.sh
190197
zip -j sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-${{ steps.system-info.outputs.OS_TYPE }}-${{ steps.system-info.outputs.OS_NAME }}-${{ steps.system-info.outputs.OS_VERSION }}-${{ steps.system-info.outputs.CPU_ARCH }}-vulkan.zip ./build/bin/* ./start-server.sh ./start-server.bat
191198
@@ -366,6 +373,8 @@ jobs:
366373
run: |
367374
cp ggml/LICENSE ./build/bin/ggml.txt
368375
cp LICENSE ./build/bin/stable-diffusion.cpp.txt
376+
cp thirdparty/libwebm/LICENSE.TXT ./build/bin/libwebm.txt
377+
cp thirdparty/libwebp/COPYING ./build/bin/libwebp.txt
369378
chmod +x start-server.sh
370379
zip -j sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-${{ steps.system-info.outputs.OS_TYPE }}-${{ steps.system-info.outputs.OS_NAME }}-${{ steps.system-info.outputs.OS_VERSION }}-${{ steps.system-info.outputs.CPU_ARCH }}.zip ./build/bin/* ./start-server.sh ./start-server.bat
371380
@@ -474,8 +483,11 @@ jobs:
474483
ls .\build\bin
475484
throw "Can't find stable-diffusion.dll"
476485
}
486+
$binPath = Split-Path -Parent $filePath
487+
Copy-Item thirdparty/libwebm/LICENSE.TXT (Join-Path $binPath 'libwebm.txt')
488+
Copy-Item thirdparty/libwebp/COPYING (Join-Path $binPath 'libwebp.txt')
477489
if ("${{ matrix.build }}" -eq "cuda12") {
478-
Copy-Item thirdparty/cutlass/LICENSE.txt (Join-Path (Split-Path -Parent $filePath) 'cutlass.txt')
490+
Copy-Item thirdparty/cutlass/LICENSE.txt (Join-Path $binPath 'cutlass.txt')
479491
}
480492
7z a sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-win-${{ matrix.build }}-x64.zip $filePath .\start-server.sh .\start-server.bat
481493
@@ -633,6 +645,8 @@ jobs:
633645
- name: Pack artifacts
634646
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }}
635647
run: |
648+
Copy-Item thirdparty/libwebm/LICENSE.TXT .\build\bin\libwebm.txt
649+
Copy-Item thirdparty/libwebp/COPYING .\build\bin\libwebp.txt
636650
7z a sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-win-rocm-${{ env.ROCM_VERSION }}-x64.zip .\build\bin\* .\start-server.sh .\start-server.bat
637651
638652
- name: Upload artifacts
@@ -796,6 +810,8 @@ jobs:
796810
run: |
797811
cp ggml/LICENSE ./build/bin/ggml.txt
798812
cp LICENSE ./build/bin/stable-diffusion.cpp.txt
813+
cp thirdparty/libwebm/LICENSE.TXT ./build/bin/libwebm.txt
814+
cp thirdparty/libwebp/COPYING ./build/bin/libwebp.txt
799815
chmod +x start-server.sh
800816
zip -y -r sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-${{ steps.system-info.outputs.OS_TYPE }}-Ubuntu-${{ env.UBUNTU_VERSION }}-${{ steps.system-info.outputs.CPU_ARCH }}-rocm-${{ matrix.ROCM_VERSION }}.zip ./build/bin ./start-server.sh ./start-server.bat
801817
@@ -819,7 +835,6 @@ jobs:
819835
- ubuntu-latest-cmake
820836
- ubuntu-latest-cmake-vulkan
821837
- ubuntu-latest-rocm
822-
- build-and-push-docker-images
823838
- macOS-latest-cmake
824839
- windows-latest-cmake
825840
- windows-latest-rocm

‎.gitignore‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@ build*/
22
cmake-build-*/
33
test/
44
tests/
5+
/dgl/*
6+
!/dgl/.gitkeep
57
logs/
8+
input/
9+
output/
610
.vscode/
711
.idea/
812
.cache/

‎AGENTS.md‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,18 @@ Core implementation lives under `src/`.
5050

5151
Current source layout includes:
5252

53+
* `src/api/` - C API options, generation requests, and translation to DGL.
5354
* `src/core/` - shared tensor, ggml integration, backend, graph, RNG, and utility
5455
code.
56+
* `src/dgl/` - DGL compilation, execution, and built-in operations. See the
57+
[DGL architecture guide](docs/development/dgl.md) for layer boundaries.
5558
* `src/model/` - model families and model components.
5659
* `src/model_io/` - model file loading, GGUF, safetensors, pickle, and related
5760
serialization helpers.
5861
* `src/runtime/` - sampling, denoising, guidance, caching, preprocessing, and
5962
runtime execution helpers.
63+
* `src/weights/` - weight residency state and reclaim decisions. See the
64+
[weight residency internals](docs/development/weights.md).
6065
* `src/tokenizers/` - tokenizer implementations.
6166
* `src/conditioning/` - conditioning and prompt-related implementation.
6267
* `src/extensions/` - optional feature extensions.
@@ -92,6 +97,7 @@ documentation.
9297

9398
* `docs/` - documentation for supported models, build options, behavior, and
9499
workflows; start from `docs/README.md`.
100+
* `docs/dgl/` - runnable DGL examples grouped by model.
95101
* `docs/models/` - model and component usage guides, including LoRAs, adapters,
96102
auxiliary models, and model-specific examples.
97103
* `docs/guides/` - shared usage workflows, configuration, and performance guides.
@@ -127,6 +133,12 @@ documentation.
127133
6. Keep edits scoped to the requested behavior.
128134
7. Run the narrowest useful build, test, or inspection command available.
129135

136+
Regenerate [the DGL built-in catalog](docs/dgl-builtins.md) whenever a
137+
registered function is added, removed, renamed, or changes its parameters,
138+
defaults, or outputs. Run the `dgl-update-builtins` CMake target to
139+
regenerate the catalog and `dgl-check-builtins` to verify it. Update the
140+
DGL guide or examples when a built-in changes behavior.
141+
130142
Follow `CONTRIBUTING.md` for formatting, naming, PR expectations, dependency
131143
update policy, and security rules. For tokenizer additions, follow its embedded-data
132144
allowlist and default to an external `tokenizer.json`.

‎CMakeLists.txt‎

Lines changed: 70 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.12)
1+
cmake_minimum_required(VERSION 3.16)
22
project("stable-diffusion")
33

44
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
@@ -9,21 +9,16 @@ if (NOT XCODE AND NOT MSVC AND NOT CMAKE_BUILD_TYPE)
99
endif()
1010

1111
if (MSVC)
12-
cmake_host_system_information(RESULT SD_LOGICAL_CORES QUERY NUMBER_OF_LOGICAL_CORES)
13-
if (SD_LOGICAL_CORES GREATER 8)
14-
math(EXPR SD_DEFAULT_MSVC_MP_COUNT "${SD_LOGICAL_CORES} - 2")
15-
elseif (SD_LOGICAL_CORES GREATER 2)
16-
math(EXPR SD_DEFAULT_MSVC_MP_COUNT "${SD_LOGICAL_CORES} - 1")
17-
else()
18-
set(SD_DEFAULT_MSVC_MP_COUNT "${SD_LOGICAL_CORES}")
19-
endif()
12+
cmake_host_system_information(RESULT SD_PHYSICAL_CORES QUERY NUMBER_OF_PHYSICAL_CORES)
13+
set(SD_DEFAULT_MSVC_MP_COUNT "${SD_PHYSICAL_CORES}")
2014
if (NOT SD_DEFAULT_MSVC_MP_COUNT GREATER 0)
2115
set(SD_DEFAULT_MSVC_MP_COUNT 1)
2216
endif()
2317
set(SD_MSVC_MP_COUNT "${SD_DEFAULT_MSVC_MP_COUNT}" CACHE STRING "Maximum parallel MSVC compilations per project")
2418
if (NOT SD_MSVC_MP_COUNT MATCHES "^[1-9][0-9]*$" OR SD_MSVC_MP_COUNT GREATER 65536)
2519
message(FATAL_ERROR "SD_MSVC_MP_COUNT must be an integer between 1 and 65536")
2620
endif()
21+
message("-- SD_MSVC_MP_COUNT: ${SD_MSVC_MP_COUNT}")
2722
add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
2823
add_compile_definitions(_SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING)
2924
# /MP is MSVC-only: icx rejects it outright once offloading is enabled.
@@ -96,9 +91,10 @@ endif()
9691
# general
9792
#option(SD_BUILD_TESTS "sd: build tests" ${SD_STANDALONE})
9893
option(SD_BUILD_EXAMPLES "sd: build examples" ${SD_STANDALONE})
94+
option(SD_BUILD_PCH "sd: use a C++ precompiled header for the library" ON)
9995
option(SD_WEBP "sd: enable WebP image I/O support" ${SD_WEBP_DEFAULT})
10096
option(SD_USE_SYSTEM_WEBP "sd: link against system libwebp" OFF)
101-
option(SD_WEBM "sd: enable WebM video output support" ${SD_WEBM_DEFAULT})
97+
option(SD_WEBM "sd: enable WebM video I/O support" ${SD_WEBM_DEFAULT})
10298
option(SD_USE_SYSTEM_WEBM "sd: link against system libwebm" OFF)
10399
option(SD_CUDA "sd: cuda backend" OFF)
104100
option(SD_HIPBLAS "sd: rocm backend" OFF)
@@ -127,9 +123,6 @@ endif()
127123

128124
if(SD_METAL)
129125
if(NOT SD_USE_UPSTREAM_GGML)
130-
if(CMAKE_VERSION VERSION_LESS 3.16)
131-
message(FATAL_ERROR "SD_METAL with SD_USE_UPSTREAM_GGML=OFF requires CMake 3.16 or later for OBJC and OBJCXX support")
132-
endif()
133126
enable_language(OBJC OBJCXX)
134127
endif()
135128
message("-- Use Metal as backend stable-diffusion")
@@ -184,13 +177,21 @@ if(SD_WEBP)
184177
"Expected WebP::libwebpmux or WebP::webpmux."
185178
)
186179
endif()
180+
if(TARGET WebP::webpdemux)
181+
add_library(webpdemux ALIAS WebP::webpdemux)
182+
elseif(TARGET WebP::libwebpdemux)
183+
add_library(webpdemux ALIAS WebP::libwebpdemux)
184+
else()
185+
message(FATAL_ERROR "System WebP package must provide WebP::webpdemux or WebP::libwebpdemux.")
186+
endif()
187187
else()
188188
find_package(PkgConfig REQUIRED)
189189
pkg_check_modules(WebP REQUIRED IMPORTED_TARGET GLOBAL libwebp)
190190
pkg_check_modules(WebPMux REQUIRED IMPORTED_TARGET GLOBAL libwebpmux)
191-
link_libraries(PkgConfig::WebP)
192-
link_libraries(PkgConfig::WebPMux)
191+
pkg_check_modules(WebPDemux REQUIRED IMPORTED_TARGET GLOBAL libwebpdemux)
192+
add_library(webp ALIAS PkgConfig::WebP)
193193
add_library(libwebpmux ALIAS PkgConfig::WebPMux)
194+
add_library(webpdemux ALIAS PkgConfig::WebPDemux)
194195
endif()
195196
endif()
196197
endif()
@@ -210,7 +211,7 @@ if(SD_WEBM)
210211
pkg_check_modules(WebM REQUIRED IMPORTED_TARGET GLOBAL libwebm)
211212
endif()
212213
if(PkgConfig_FOUND AND WebM_FOUND)
213-
link_libraries(PkgConfig::WebM)
214+
add_library(webm ALIAS PkgConfig::WebM)
214215
else()
215216
find_path(WEBM_INCLUDE_DIR
216217
NAMES mkvmuxer/mkvmuxer.h mkvparser/mkvparser.h common/webmids.h
@@ -236,6 +237,17 @@ endif ()
236237

237238
set(SD_LIB stable-diffusion)
238239

240+
file(GLOB SD_API_TEMPLATES CONFIGURE_DEPENDS "src/api/templates/*.dgl")
241+
set(SD_API_TEMPLATE_CONTENT "#ifndef __SD_API_TEMPLATES_H__\n#define __SD_API_TEMPLATES_H__\n#include <map>\n#include <string>\n#include <string_view>\nnamespace sd::api::templates {\ninline const std::map<std::string, std::string_view> sources = {\n")
242+
foreach(SD_API_TEMPLATE IN LISTS SD_API_TEMPLATES)
243+
set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS "${SD_API_TEMPLATE}")
244+
get_filename_component(SD_API_TEMPLATE_NAME "${SD_API_TEMPLATE}" NAME_WE)
245+
file(READ "${SD_API_TEMPLATE}" SD_API_TEMPLATE_TEXT)
246+
string(APPEND SD_API_TEMPLATE_CONTENT "{\"${SD_API_TEMPLATE_NAME}\", R\"SD_DGL(${SD_API_TEMPLATE_TEXT})SD_DGL\"},\n")
247+
endforeach()
248+
string(APPEND SD_API_TEMPLATE_CONTENT "};\n}\n#endif\n")
249+
file(GENERATE OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/generated/api_templates.h" CONTENT "${SD_API_TEMPLATE_CONTENT}")
250+
239251
file(GLOB SD_LIB_SOURCES CONFIGURE_DEPENDS
240252
"src/*.h"
241253
"src/*.cpp"
@@ -255,11 +267,19 @@ file(GLOB SD_LIB_SOURCES CONFIGURE_DEPENDS
255267
"src/extensions/*.h"
256268
"src/extensions/*.cpp"
257269
"src/extensions/*.hpp"
270+
"src/dgl/*.h"
271+
"src/dgl/*.cpp"
272+
"src/dgl/syntax/*.h"
273+
"src/dgl/syntax/*.cpp"
274+
"src/dgl/bindings/*.h"
275+
"src/dgl/bindings/*.cpp"
276+
"src/dgl/models/*.h"
277+
"src/dgl/models/*.cpp"
278+
"src/dgl/ops/*.h"
279+
"src/dgl/ops/*.cpp"
258280
"src/model/*/*.h"
259281
"src/model/*/*.cpp"
260282
"src/model/*/*.hpp"
261-
"src/pipeline/*.h"
262-
"src/pipeline/*.cpp"
263283
"src/runtime/*.h"
264284
"src/runtime/*.cpp"
265285
"src/runtime/*.hpp"
@@ -269,8 +289,18 @@ file(GLOB SD_LIB_SOURCES CONFIGURE_DEPENDS
269289
"src/tokenizers/*.cpp"
270290
"src/tokenizers/vocab/*.h"
271291
"src/tokenizers/vocab/*.cpp"
292+
"src/weights/*.h"
293+
"src/weights/*.cpp"
272294
)
273295

296+
if(CMAKE_GENERATOR MATCHES "^Ninja")
297+
# Compile the vocabulary data alongside PCH generation to shorten the build tail.
298+
set(SD_VOCAB_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/src/tokenizers/vocab/vocab.cpp")
299+
list(REMOVE_ITEM SD_LIB_SOURCES "${SD_VOCAB_SOURCE}")
300+
list(PREPEND SD_LIB_SOURCES "${SD_VOCAB_SOURCE}")
301+
set_source_files_properties("${SD_VOCAB_SOURCE}" PROPERTIES SKIP_PRECOMPILE_HEADERS ON)
302+
endif()
303+
274304
find_program(GIT_EXE NAMES git git.exe NO_CMAKE_FIND_ROOT_PATH)
275305
if(GIT_EXE)
276306
execute_process(COMMAND ${GIT_EXE} describe --tags --abbrev=7 --dirty=+
@@ -363,6 +393,14 @@ target_link_libraries(${SD_LIB} PUBLIC ggml)
363393
find_package(Threads REQUIRED)
364394
target_link_libraries(${SD_LIB} PRIVATE Threads::Threads)
365395
target_link_libraries(${SD_LIB} PRIVATE onig sd-utf8proc)
396+
if(SD_WEBP)
397+
target_compile_definitions(${SD_LIB} PRIVATE SD_USE_WEBP)
398+
target_link_libraries(${SD_LIB} PRIVATE webp webpdemux)
399+
endif()
400+
if(SD_WEBM)
401+
target_compile_definitions(${SD_LIB} PRIVATE SD_USE_WEBM)
402+
target_link_libraries(${SD_LIB} PRIVATE webm)
403+
endif()
366404
if (SD_CUDA)
367405
find_package(CUDAToolkit REQUIRED)
368406
# Keep the driver stub on downstream link lines when no driver is installed.
@@ -430,9 +468,20 @@ if (SD_HIPBLAS)
430468
endif()
431469
endif()
432470
target_include_directories(${SD_LIB} PUBLIC include)
433-
target_include_directories(${SD_LIB} PRIVATE src src/core)
471+
target_include_directories(${SD_LIB} PRIVATE src src/core "${CMAKE_CURRENT_BINARY_DIR}/generated")
434472
target_include_directories(${SD_LIB} PUBLIC thirdparty)
435473
target_compile_features(${SD_LIB} PUBLIC c_std_11 cxx_std_17)
474+
# oneAPI 2025.x cannot bundle precompiled headers when -fsycl is enabled.
475+
if(SD_BUILD_PCH AND NOT SD_SYCL)
476+
set(SD_PCH_HEADERS ${SD_LIB_SOURCES})
477+
list(FILTER SD_PCH_HEADERS INCLUDE REGEX "[.]hpp$")
478+
list(FILTER SD_PCH_HEADERS EXCLUDE REGEX "/tokenizers/vocab/")
479+
list(TRANSFORM SD_PCH_HEADERS PREPEND "$<$<COMPILE_LANGUAGE:CXX>:")
480+
list(TRANSFORM SD_PCH_HEADERS APPEND ">")
481+
target_precompile_headers(${SD_LIB} PRIVATE
482+
"$<$<COMPILE_LANGUAGE:CXX>:<json.hpp$<ANGLE-R>>"
483+
${SD_PCH_HEADERS})
484+
endif()
436485
set_target_properties(${SD_LIB} PROPERTIES
437486
CXX_VISIBILITY_PRESET hidden
438487
VISIBILITY_INLINES_HIDDEN ON)
@@ -444,6 +493,7 @@ endif()
444493

445494

446495

496+
447497
#
448498
# install
449499
#
@@ -459,12 +509,9 @@ set(SD_INCLUDE_INSTALL_DIR ${CMAKE_INSTALL_INCLUDEDIR} CACHE PATH "Location of h
459509
set(SD_LIB_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR} CACHE PATH "Location of library files")
460510
set(SD_BIN_INSTALL_DIR ${CMAKE_INSTALL_BINDIR} CACHE PATH "Location of binary files")
461511

462-
set(SD_PUBLIC_HEADERS
463-
${CMAKE_CURRENT_SOURCE_DIR}/include/stable-diffusion.h)
464-
465512
set_target_properties(${SD_LIB}
466513
PROPERTIES
467-
PUBLIC_HEADER "${SD_PUBLIC_HEADERS}")
514+
PUBLIC_HEADER "${CMAKE_CURRENT_SOURCE_DIR}/include/stable-diffusion.h")
468515

469516

470517
install(TARGETS ${SD_LIB}

‎CONTRIBUTING.md‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ Link new documentation from [the documentation index](docs/README.md) or
4343
[the model index](docs/models/README.md), as appropriate. Keep supported model
4444
entries and their guide links in the project README.
4545

46+
Use **DGL** for the language name in headings, prose, link text, UI labels,
47+
comments, logs, and diagnostics. Preserve literal spellings in commands, files,
48+
paths, and protocol or metadata fields, such as `-M dgl`, `.dgl`, `docs/dgl/`,
49+
and the metadata key `dgl`. Code identifiers follow their existing naming style,
50+
such as `sd_dgl_run`, `sd::dgl`, `SD_DGL_VALUE_TENSOR`, and `DglWorkspace`.
51+
4652
### Model Documentation
4753

4854
Every new model or component integration must include a user guide in
@@ -60,7 +66,9 @@ omitting other sections when they have no content:
6066
- `Model files`, with component, weights/downloads, CLI option, and requirement
6167
columns. Include tokenizers, projectors, connectors, downloads, conversion, and
6268
required preprocessing.
63-
- `Usage`, with `Web UI` and `CLI` subsections where applicable. Link to the
69+
- `Usage`, with `Web UI`, `DGL`, and `Legacy CLI` subsections in that order
70+
where applicable. Group DGL scripts in a task table with descriptive links;
71+
put shared run instructions below the table. Link to the
6472
server's shared Web UI guide and list compatible recipes/components. Group
6573
complete CLI examples by task or variant within this section; do not add a
6674
separate `Quick start` or `Examples` section. Keep API usage in its own

0 commit comments

Comments
 (0)