-
Notifications
You must be signed in to change notification settings - Fork 56
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
Reading from the Public Parameter Cache Always Fails #401
Comments
Looking at the error and at Neptune, there's a handwritten serializer for PoseidonConstants, which seems to be causing issues for Also, if anyone can run on their machine to validate, that would be great confirmation too. |
If I understand the issue, we probably should have checked to see whether loading the parameters worked (ideally with test coverage) before merging #391 then. |
One thing to sanity-check: any change in serialization format between a read and a write is likely to generate this error. So any format change should lead to deletion of the comm data path, so as to not create false positives. |
If I understand correctly, you mean that any failure to read should delete the previous artifact and write a new one in? Or do you mean to delete all of |
I meant the former, all good then! |
This will be resolved by the next Nova release (microsoft/Nova#172) |
In #391, we optimized the time and space to cache with
bincode
. However, it seems like reading from the cache always results in failure. When we add some print statements for the errors:So, we always end up regenerating and writing new public params.
The text was updated successfully, but these errors were encountered: