Skip to content

warn that pipeline.blocks is a copy - #15110

Open
chessing234 wants to merge 1 commit into
huggingface:mainfrom
chessing234:fix/warn-blocks-copy
Open

chessing234 wants to merge 1 commit into
huggingface:mainfrom
chessing234:fix/warn-blocks-copy

Conversation

@chessing234

Copy link
Copy Markdown

fixes #15067

pipeline.blocks is a deepcopy, so sub_blocks.insert(...) does not change the pipeline. the first access now says so, and points at blocks.init_pipeline().

@yiyixuxu

Made with Cursor

in-place edits of that copy do not change the pipeline.

This branch has not been deployed

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Warn when a copy of pipeline.blocks is modified

1 participant