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

Fix random seed handling for "vi" #869

Merged
merged 2 commits into from
Jan 14, 2025

Conversation

B-Deforce
Copy link
Contributor

Random seed was not properly passed on when inference_method="vi". This is now resolved.

  • Install all the needed requirements (requirements.txt, requirements-dev.txt, etc.)
  • Make sure all test pass.
  • Make sure your code passes black.
  • Make sure your code passes pylint.

Random seed was not properly passed when `inference_method="vi"`. This is now resolved.
@GStechschulte
Copy link
Collaborator

GStechschulte commented Jan 13, 2025

Many thanks for catching this @B-Deforce ! 👍🏼 I think the failing test is unrelated to your code changes. Did the tests pass locally for you?

@B-Deforce
Copy link
Contributor Author

Hey @GStechschulte, one test indeed failed due to an issue unrelated to my changes. However, I looked into it and it appeared to be some boundary value issue for the beta regression test. I fixed this now in commit b9058b5 (latest commit in this PR) making all tests pass locally.

@GStechschulte
Copy link
Collaborator

Ah great @B-Deforce. Thanks for proactively fixing this and for the contribution!

@GStechschulte GStechschulte merged commit 2a4f7e1 into bambinos:main Jan 14, 2025
4 checks passed
@B-Deforce B-Deforce deleted the bugfix/random-seed-handling branch January 14, 2025 08:16
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