Skip to content

Conversation

@copybara-service
Copy link
Contributor

test: add LeNet MNIST CNN model e2e test (small)

@j2kun
Copy link
Collaborator

j2kun commented Nov 19, 2025

On my system it's using OpenMP and the individual calls to the OpenFHE API are quite a bit faster than we observed internally. I cut the openfhe IR at ct_9600 (just returned that SSA value directly, changed the function signature appropriately, and removed the decryption step) and the runtime of the encrypted main func is 81 seconds.

@j2kun
Copy link
Collaborator

j2kun commented Nov 19, 2025

After trying to run the full model I ran into:

terminate called after throwing an instance of 'lbcrypto::OpenFHEException'
  what():  external/openfhe/src/pke/include/cryptocontext.h:l.315:TypeCheck(): Null Ciphertext

@copybara-service copybara-service bot force-pushed the test_833907437 branch 4 times, most recently from dad9257 to dbcf705 Compare November 21, 2025 16:11
@copybara-service copybara-service bot force-pushed the test_833907437 branch 2 times, most recently from 78cdac7 to a726eee Compare December 1, 2025 16:04
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.

2 participants