Skip to content

Commit

Permalink
Merge pull request #3583 from vladmandic/dev
Browse files Browse the repository at this point in the history
Merge dev
  • Loading branch information
vladmandic authored Nov 22, 2024
2 parents f5a2fa1 + a0403e7 commit a141e8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ def check_python(supported_minors=[9, 10, 11, 12], reason=None):
def check_diffusers():
if args.skip_all or args.skip_requirements:
return
sha = 'f6f7afa1d7c6f45f8568c5603b1e6300d4583f04'
sha = 'cd6ca9df2987c000b28e13b19bd4eec3ef3c914b'
pkg = pkg_resources.working_set.by_key.get('diffusers', None)
minor = int(pkg.version.split('.')[1] if pkg is not None else 0)
cur = opts.get('diffusers_version', '') if minor > 0 else ''
Expand Down
4 changes: 2 additions & 2 deletions modules/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,8 @@ def validate(self, opt, value):
value = [value]
for v in value:
if v not in choices:
log.warning(f'Setting validation: "{opt}"="{v}" default="{self.default}" choices={choices}')
return False
log.debug(f'Setting validation: "{opt}"="{v}" default="{self.default}" choices={choices}')
# return False
minimum = args.get("minimum", None)
maximum = args.get("maximum", None)
if (minimum is not None and value < minimum) or (maximum is not None and value > maximum):
Expand Down

0 comments on commit a141e8c

Please sign in to comment.