-
Notifications
You must be signed in to change notification settings - Fork 121
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
When I run the fhe_compatibility, the program is killed #82
Comments
Most likely your are running out of memory. Compilation may require large amounts of memory and you can check that for example with the |
16 |
How much RAM do I need? |
It's hard to say and depends on multiple factors. |
16GB might not be enough for CIFAR, but the test I suggested in my previous reply should help you determine if you're running into memory issues |
yes, it is memory issues.If I use the image size of 3 * 224 * 224, how much RAM would I need? |
If I use the image size of 3 * 224 * 224, how much RAM would I need? |
That image size might require much more than 16GB, I think you may get away with 32GB for an image oe 3x32x32. |
qmodel = fhe_compatibility(quant_vgg, data)
print(
f"With {param_c10['dataset_name']}, the circuit has a maximum bit-width of "
f"{qmodel.fhe_circuit.graph.maximum_integer_bit_width()}-bits."
)
The text was updated successfully, but these errors were encountered: