Skip to content

Conversation

@psychedelicious
Copy link
Contributor

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update
  • Community Node Submission

Have you discussed this change with the InvokeAI team?

  • Yes
  • No, because:

Have you updated all relevant documentation?

  • Yes
  • No: n/a

Description

At some point I typo'd this and set the max seed to signed int32 max. It should be unsigned int32 max.

This restored the seed range to what it was in v2.3.

Also fixed a bug in the Noise node which resulted in the max valid seed being one less than intended.

Related Tickets & Documents

QA Instructions, Screenshots, Recordings

You should be able to use seeds up to and including 4294967295.

Added/updated tests?

  • Yes
  • No : don't think we have any relevant tests

[optional] Are there any post deployment tasks we need to perform?

nope!

At some point I typo'd this and set the max seed to signed int32 max. It should be *un*signed int32 max.

This restored the seed range to what it was in v2.3.
This was incorect and resulted in the max seed being one less than intended.
@blessedcoolant blessedcoolant merged commit 1c44a0f into main Jul 24, 2023
@blessedcoolant blessedcoolant deleted the feat/increase-seed-range branch July 24, 2023 06:55
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.

[bug]: v3 frontend decreased max random seed and prevents reproducing 2.x outputs

3 participants