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

How to set seed before generation? #1595

Closed
baleksey opened this issue Nov 8, 2023 · 2 comments
Closed

How to set seed before generation? #1595

baleksey opened this issue Nov 8, 2023 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@baleksey
Copy link

baleksey commented Nov 8, 2023

I know, you can set any seed during model loading, but how specific seed can be set before each generation (without reloading model every time) or even better for every N prompt you feed to generator?

Thank you in advance!

@simon-mo simon-mo added enhancement New feature or request good first issue Good for newcomers labels Nov 8, 2023
@simon-mo
Copy link
Collaborator

simon-mo commented Nov 8, 2023

You are correct this is not supported at the moment. We welcome contributions!

@avirlrma
Copy link

Hi @simon-mo,
I've created a draft PR, could you please have a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants