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

pass seed to sampler #697

Merged
merged 4 commits into from
May 22, 2024
Merged

pass seed to sampler #697

merged 4 commits into from
May 22, 2024

Conversation

misko
Copy link
Collaborator

@misko misko commented May 15, 2024

Currently we do not pass the seed through to our BalancedBatchSampler and a seed=0 is used by default. This changes that so the seed specified on command line is passed through to permute the order of our data.

Copy link

codecov bot commented May 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Files Coverage Δ
src/fairchem/core/common/data_parallel.py 74.61% <ø> (ø)
src/fairchem/core/trainers/base_trainer.py 86.52% <ø> (ø)

@misko misko marked this pull request as ready for review May 15, 2024 20:17
@misko misko requested review from lbluque and mshuaibii May 20, 2024 17:41
@mshuaibii mshuaibii added this pull request to the merge queue May 22, 2024
Merged via the queue into main with commit e68cdf6 May 22, 2024
5 checks passed
@mshuaibii mshuaibii deleted the pass_seed_to_sampler branch May 22, 2024 16:33
levineds pushed a commit that referenced this pull request Jul 11, 2024
* pass seed to sampler

* fix up tests

---------

Co-authored-by: Muhammed Shuaibi <[email protected]>
misko added a commit that referenced this pull request Jan 17, 2025
* pass seed to sampler

* fix up tests

---------

Co-authored-by: Muhammed Shuaibi <[email protected]>
Former-commit-id: 190360373648b2c07288555c49c26e7c6a396669
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