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

[M3a] Sampling Primitives & Random Number Generator #421

Merged
merged 23 commits into from
Aug 12, 2021
Merged

[M3a] Sampling Primitives & Random Number Generator #421

merged 23 commits into from
Aug 12, 2021

Conversation

zxybazh
Copy link
Collaborator

@zxybazh zxybazh commented Jul 30, 2021

This PR introduced new implementation of Random Number Generator & Sampler based on a int64_t pointer. The current design has better serialization & more friendly for ForkSeed function, while being reproducible.

@zxybazh zxybazh changed the title [M3a] Sampler [WIP][M3a] Sampler Jul 30, 2021
@junrushao
Copy link
Member

Please rebase

@zxybazh zxybazh closed this Jul 30, 2021
@zxybazh
Copy link
Collaborator Author

zxybazh commented Jul 30, 2021

Rebased and still merging and testing with new updates on sampler class.

@zxybazh zxybazh reopened this Jul 30, 2021
@zxybazh zxybazh changed the title [WIP][M3a] Sampler [M3a] Sampler & Random Number Generator Jul 31, 2021
src/support/rng.h Outdated Show resolved Hide resolved
src/support/rng.h Outdated Show resolved Hide resolved
src/support/rng.h Outdated Show resolved Hide resolved
src/support/rng.h Outdated Show resolved Hide resolved
src/support/rng.h Outdated Show resolved Hide resolved
src/support/rng.h Outdated Show resolved Hide resolved
src/support/rng.h Outdated Show resolved Hide resolved
src/support/rng.h Outdated Show resolved Hide resolved
@junrushao
Copy link
Member

I am very excited about this PR, which paves the way for sampling instructions in our meta schedule DSL. Let's move fast and get it done on upstream by the end of this week

@zxybazh
Copy link
Collaborator Author

zxybazh commented Aug 5, 2021

Updated the random engine usage to be consistent with [Support] Linear Congruential Random Engine #8642
in main repo.

@junrushao
Copy link
Member

Thank you so much @zxybazh! I am going to do another round

Copy link
Collaborator Author

@zxybazh zxybazh left a comment

Choose a reason for hiding this comment

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

Just self reviewed and passed tests. Please review, thanks!

@junrushao
Copy link
Member

overall looks good! let's move fast and get it merged

@zxybazh
Copy link
Collaborator Author

zxybazh commented Aug 12, 2021

Fixed.

@junrushao
Copy link
Member

Thanks @zxybazh for the effort!

@junrushao junrushao merged commit 14632f0 into tlc-pack:main Aug 12, 2021
@junrushao
Copy link
Member

Please share the integration test errors in the github issue :-)

@zxybazh
Copy link
Collaborator Author

zxybazh commented Aug 12, 2021

Integration test errors shared in the github issue channel.
#436, #437, #438, #439, #440, #441

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.

3 participants