DALL-E compatible image generation endpoint (#292)

Signed-off-by: dougbtv <dosmith@redhat.com>
This commit is contained in:
Doug Smith authored and GitHub committed 2025-12-23 09:05:37 +08:00
1 parent 0e878a92d2
commit 74c142460d
10 files changed
+1029

No files matched your search

+9
View File
@@ -136,6 +136,15 @@ def scan_package(package_name: str = "vllm_omni") -> dict[str, list[str]]:
relative_path = py_file.relative_to(ROOT_DIR)
module_path = str(relative_path.with_suffix("")).replace("/", ".").replace("\\", ".")
# Skip excluded modules (avoid importing vllm during docs build)
excluded_prefixes = [
"vllm_omni.diffusion.models.qwen_image",
"vllm_omni.entrypoints.async_diffusion",
"vllm_omni.entrypoints.openai",
]
if any(module_path.startswith(prefix) for prefix in excluded_prefixes):
continue
# Handle __init__.py - use parent module path
if py_file.name == "__init__.py":
# Remove .__init__ from module path