Modernize Compel for Transformers 5 and add diffusers smoke coverage#1
Merged
Conversation
Apply upstream PR damian0815#129: - raise support floor to Python >=3.10 and align CI matrix - update transformers guidance to >=5,<6; pin pyparsing~=3.0 - migrate deprecated pyparsing API (delimited_list -> DelimitedList) - remove stray networkx import in convenience_wrappers - add public-API/CLIP/SD/SDXL/T5 smoke tests and diffusers prompt_embeds/pooled_prompt_embeds coverage (incl. opt-in local SDXL single-file checkpoint tests) - add provider tests for pooled output and BOS-less T5 behavior - README cleanup and example typo fixes Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Applies upstream PR damian0815/compel#129 ("Modernize Compel for Transformers 5 and add diffusers smoke coverage") to this fork.
Changes
>=3.10; align CI matrix (drop 3.9)transformersguidance to>=5,<6; pinpyparsing~=3.0delimited_list→DelimitedList)networkximport inconvenience_wrappers.pyprompt_embeds/pooled_prompt_embedscoverage (incl. opt-in local SDXL single-file checkpoint tests gated behindCOMPEL_RUN_LOCAL_CHECKPOINT_TESTS=1)negative_prompt_embed→negative_prompt_embeds)Validation
transformers 5.9.0,diffusers 0.38.0,pyparsing 3.3.2PYTHONPATH=src:test python -m unittest discover -s test→ 61 passed, 1 skipped (the opt-in local checkpoint test)This raises the dependency floor to
transformers >=5,<6. Please confirm compatibility with InvokeAI's owntransformerspins before merging intomain.🤖 Generated with Claude Code