Jeremy Kun

Results 465 comments of Jeremy Kun

CC @ZenithalHourlyRate as I think you may have some insights here, at least as to the correct values to set for openfhe performance. I think my next step is to...

So I think I have figured out the core of the issue here: By default OpenFHE uses FLEXIBLEAUTOEXT scaling, which in turn requires the minimal ring dimension to be 16384,...

Worth pointing out a stray TODO that was not logged as part of #1145 https://github.com/google/heir/blob/f7c321d866dc9a6909b673b6da8d77decb373e89/lib/Pipelines/ArithmeticPipelineRegistration.cpp#L449 But it basically seems that HEIR has no current method to pick the scaling technique...

It is weird, going back to the interpreter test that started this, with all else fixed (and 4096 slots), the performance of mul_plain between FLEXIBLEAUTOEXT and FIXEDMANUAL differs by 20x!...

FWIW, we at HEIR have a bzlmod setup that uses a hermetic python toolchain: https://github.com/google/heir/blob/main/MODULE.bazel We are also waiting on rules_hdl to migrate, but we haven't encountered any issues with...