Skip to content
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

Bug fixes for validate_requirements.py #991

Merged
merged 3 commits into from
Jun 14, 2023
Merged

Conversation

primeinc
Copy link
Contributor

Discussed in #921

I've made some changes to fix the issues I was having with not being able to import the library.custom_logging. I couldn't use relative imports and it was looking for library.custom_logging in site_packages instead of where it actually was. This resolves this problem.

Additionally, I noticed it insisted on reinstalling diffusers every time because of the bracketed torch requirement. I've fixed that as well in a separate commit.

Tested on Windows 11 with Python 3.10.9

@bmaltais
Copy link
Owner

Thanks, I will give it a try and publish it in the next release.

@bmaltais bmaltais changed the base branch from master to dev2 June 14, 2023 21:31
@bmaltais bmaltais merged commit 7d8fc97 into bmaltais:dev2 Jun 14, 2023
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