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

Proper time measurement: Reproducing paper results for HyBit #227

Open
SEICS opened this issue Dec 12, 2024 · 0 comments
Open

Proper time measurement: Reproducing paper results for HyBit #227

SEICS opened this issue Dec 12, 2024 · 0 comments

Comments

@SEICS
Copy link

SEICS commented Dec 12, 2024

Hi,

Thank you for the great work!

I wonder if I want to reproduce the paper's results (https://dl.acm.org/doi/10.1145/3656412), what is a proper way to measure the time for running HyBit code?

For example:

using Dice, Distributions
DFiP = DistFix{6, 2}
code = @dice begin
            a = bitblast(DFiP, Normal(0, 1), 4, -8.0, 8.0)
            b = a < DFiP(0.0)
            b
end
@time @show pr(code)

Does this @time include both the computation of the proability format of code and the dice code defined within @dice?

Also, does HyBit provide separate time measurement for total execution time and inference only time that excludes the compilation time?

Or maybe HyBit use the same tool "hyperfine" as the Dice paper (https://dl.acm.org/doi/10.1145/3428208)?

Thank you for help.

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

No branches or pull requests

1 participant