You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a question about _generate_noise function in optimizer.py. From the comment in _generate_noise function, it references p=53 (as though using float64), but I don’t see any explicit dtype set. By default, PyTorch generates float32 noise (with p=23). I run few test and found that generated noise has dtype of torch.float32. If that’s correct, we might need 6 samples (n=3) to achieve 128-bit precision. Is the code/comment correct, or am I missing something?
Thanks a lot!
The text was updated successfully, but these errors were encountered:
Hi team,
I have a question about
_generate_noise
function inoptimizer.py
. From the comment in_generate_noise
function, it references p=53 (as though using float64), but I don’t see any explicit dtype set. By default, PyTorch generatesfloat32
noise (with p=23). I run few test and found that generated noise has dtype oftorch.float32
. If that’s correct, we might need 6 samples (n=3) to achieve 128-bit precision. Is the code/comment correct, or am I missing something?Thanks a lot!
The text was updated successfully, but these errors were encountered: