Skip to content

Conversation

@PENGUINLIONG
Copy link
Contributor

What does this PR do?

The current implementation doesn't import custom modules on Windows. Windows use back slash to separate directory hierarchies and os.path.join() follows that convention, which is different from the rfilenames extracted to filenames before.

Before submitting

Who can review?

Windows use back slash and `os.path.join()` follows that convention.
@sayakpaul
Copy link
Member

@PENGUINLIONG could you take care of the code quality issues?

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Nov 28, 2023

The documentation is not available anymore as the PR was closed or merged.

@patrickvonplaten patrickvonplaten merged commit d1b2a1a into huggingface:main Nov 29, 2023
@PENGUINLIONG PENGUINLIONG deleted the patch-1 branch November 30, 2023 02:40
yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023
* Fixed custom module importing on Windows

Windows use back slash and `os.path.join()` follows that convention.

* Apply suggestions from code review

Co-authored-by: Lucain <[email protected]>

* Update pipeline_utils.py

---------

Co-authored-by: Sayak Paul <[email protected]>
Co-authored-by: Lucain <[email protected]>
AmericanPresidentJimmyCarter pushed a commit to AmericanPresidentJimmyCarter/diffusers that referenced this pull request Apr 26, 2024
* Fixed custom module importing on Windows

Windows use back slash and `os.path.join()` follows that convention.

* Apply suggestions from code review

Co-authored-by: Lucain <[email protected]>

* Update pipeline_utils.py

---------

Co-authored-by: Sayak Paul <[email protected]>
Co-authored-by: Lucain <[email protected]>
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.

5 participants