-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Tracker] change to posix for better Windows support #6585
Comments
Hi @sayakpaul, I checked the mentioned PR and also understood the issue. This is a documentation change right? We need to change every instance of |
Hey @Bhavay-2001 this is not a documentation change. Try going through this issue #6561 you'll understand why we are doing this. |
Hi @charchit7, yes I understood that this is to provide windows support for the adapter.py. I previously thought that it was a documentation change issue, however I have changed the file and opened the corresponding PR. |
Hi, @sayakpaul! Does this issue request to change all os.path.join() instances in the whole Diffusers repo? Can I just take any script containing os.path.join() and change it? |
I think so. |
@sayakpaul there are quite a few such instances in training examples. I will tackle a few. ok? |
I think those are fine to leave as is because most of the training doesn't take place on Windows. |
@sayakpaul I searched across the entire diffusers repo and 111 files contain instance(s) of |
Yeah that works for me. |
Hi @sayakpaul, could you please review my PR. |
Where is it? |
Please find the PR here |
Also, @Stepheni12 if you don't mind can we distribute the following tasks? |
Yes, @Bhavay-2001 that sounds good! There were 11 files in total and your PR already did one of them so we can just split the other 10 from this subset. You can take the top 5 files which are:
and then I'll take the bottom half of the list which are:
|
Sure @Stepheni12, I will update the mentioned files |
Hi @sayakpaul , @yiyixuxu it would be great if you guys could review the PRs associated with the issue and merge it or let us know of any changes to be made. Thanks |
The PRs are mentioned here. @sayakpaul |
In #6564, @fabiorigano introduced the use of Posix to better support Windows compatibility.
It'd be nice to change the instances of
os.path.join()
toPath(...).as_posix()
.Feel free to open PRs for this and tag me.
While opening PRs, please target only ONE script at a time.
Let's go 🚀
The text was updated successfully, but these errors were encountered: