ezkl is an engine for doing inference for deep learning models and other computational graphs in a zk-snark (ZKML). Use it from Python, Javascript, or the command line.
I've been trying to use EZKL with the apple/mobilevit-xx-small model, but I got an error during the first step of the EZKL library, when calling gen_settings. I exported the model in ONNX format and performed inference, and then I attempted to use EZKL.
Description error:
[tensor] dimension mismatch in tensor op: Given groups=128, expected kernel to be at least 128 at dimension 0 but got 0 instead
Traceback (most recent call last):
File "mobilevit.py", line 83, in
res = ezkl.gen_settings(onnx_path, settings_path, py_run_args=py_run_args)
RuntimeError: Failed to generate settings: [graph] [halo2] General synthesis
I've been trying to use EZKL with the apple/mobilevit-xx-small model, but I got an error during the first step of the EZKL library, when calling gen_settings. I exported the model in ONNX format and performed inference, and then I attempted to use EZKL.
Description error:
Here is my code: