Skip to content

Add docs on how to control randomness#47

Merged
BirkhoffG merged 1 commit intomainfrom
generator-doc
Apr 28, 2025
Merged

Add docs on how to control randomness#47
BirkhoffG merged 1 commit intomainfrom
generator-doc

Conversation

@BirkhoffG
Copy link
Owner

This fixes #46

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@BirkhoffG BirkhoffG added the documentation Improvements or additions to documentation label Apr 28, 2025
@BirkhoffG BirkhoffG requested a review from Copilot April 28, 2025 22:32
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds documentation on how to control randomness for jax_dataloader and related backends by introducing a new example notebook.

  • Adds a new notebook (nbs/examples/random.ipynb) with detailed instructions and examples on setting a global seed and per-dataloader generators.
  • Updates the sidebar (nbs/sidebar.yml) to include the new randomness documentation.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
nbs/sidebar.yml Adds an entry for the new randomness control documentation notebook.
nbs/examples/random.ipynb Introduces comprehensive code examples and explanations on randomness control.

@BirkhoffG BirkhoffG merged commit 402d95c into main Apr 28, 2025
8 checks passed
@BirkhoffG BirkhoffG deleted the generator-doc branch April 28, 2025 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update docs to Explain this change

2 participants