Skip to content

feat: add text context CLI parameter - #1838

Open
happyyzy wants to merge 1 commit into
leejet:masterfrom
happyyzy:agent/sdcpp-text-context-limit
Open

feat: add text context CLI parameter#1838
happyyzy wants to merge 1 commit into
leejet:masterfrom
happyyzy:agent/sdcpp-text-context-limit

Conversation

@happyyzy

Copy link
Copy Markdown
Contributor

Summary

Adds --text-ctx to limit text and cross-attention context before graph execution.

This bounds attention shapes and prevents oversized attention buffers from corrupting image quality. Related Adreno OpenCL backend work: ggml-org/llama.cpp#26331

Verification

cmake --build build-android-opencl-current-repro --target sd-cli -j 8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant