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

Changes to random utils #625

Merged
merged 19 commits into from
Feb 7, 2024
Merged

Changes to random utils #625

merged 19 commits into from
Feb 7, 2024

Conversation

priyakasimbeg
Copy link
Contributor

@priyakasimbeg priyakasimbeg commented Feb 2, 2024

  • Update function signatures for _split and _fold_in to accurately reflect SeedType inputs and outputs.
  • Change _fold_in to use data for sampling new seed instead of returning data.
  • Force PyTorch function SeedType outputs to be 1-dim as opposed to 2-dim which is typical for Jax PRNGKeys
  • Update run_workloads.py to use newly added randint for getting workload seeds.

Copy link

github-actions bot commented Feb 2, 2024

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

@priyakasimbeg priyakasimbeg changed the base branch from main to dev February 2, 2024 23:00
georgedahl
georgedahl previously approved these changes Feb 7, 2024
algorithmic_efficiency/random_utils.py Outdated Show resolved Hide resolved
@priyakasimbeg priyakasimbeg marked this pull request as ready for review February 7, 2024 00:24
@priyakasimbeg priyakasimbeg requested a review from a team as a code owner February 7, 2024 00:24
@priyakasimbeg priyakasimbeg merged commit 3421276 into dev Feb 7, 2024
31 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants