Skip to content

corrects single file path validation logic#13363

Open
andrew-w-ross wants to merge 3 commits intohuggingface:mainfrom
andrew-w-ross:fix-single-file-path-check
Open

corrects single file path validation logic#13363
andrew-w-ross wants to merge 3 commits intohuggingface:mainfrom
andrew-w-ross:fix-single-file-path-check

Conversation

@andrew-w-ross
Copy link
Copy Markdown

@andrew-w-ross andrew-w-ross commented Mar 30, 2026

What does this PR do?

Fix's loading ModularPipelines loading component specs where pretrained_model_name_or_path is a path.

Didn't bother opening an issue considering the tiny size of the fix.

Before submitting

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

Copy link
Copy Markdown
Collaborator

@DN6 DN6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @andrew-w-ross! Small change requested to the test, but good to merge once that's updated 👍🏽

@andrew-w-ross
Copy link
Copy Markdown
Author

@DN6 Thanks for the review, I accepted your test changes. Is there anything else I need to do on my side to get this merged? I'm just seeing 5 workflows awaiting approval.

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.

2 participants