-
Notifications
You must be signed in to change notification settings - Fork 152
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
[Public issue] AssertionError assert repr_input_shape in self.clients in hybrid model with multiple submodules #844
Comments
Thanks for opening the issue. For further usage: it's related to what was discussed in https://discord.com/channels/901152454077452399/1276101101267189783 |
@gy-cao : yes, having the full code always help. If you can put it in the issue or in a new GitHub repository it would help. Thanks |
Hi @bcm-at-zama! Thanks! Is it ok if I send the code to you via discord then you can forward it to the team? |
As long as it's python code (no zip files), yes! Another possibility is to create a private GitHub repo, and to share it with me |
I am going to make a private issue for this, where we investigate. We'll tell you when we know |
Hi @bcm-at-zama. Not sure if it is a typo. But it is marked as "public issue" in the title. |
Yes I marked #844 as "[Public issue]" to make it clearly different from the working-issue we have done on our internal repo, to which you don't have access. |
Hi!
I am trying to use the hybrid model with multiple submodules to be evaluated in FHE.
I tried putting two submodules and the compilation of the circuit is ok.
But when I run the inference, it seems that the first submodules can be evaluated.
But when evaluating the second one, it shows
assert repr_input_shape in self.clients AssertionError
on the client side.So roughly, on the client side, I did something like
I am using the hybrid model for a unet. The submodules I put is
up1.pixel_shuffle
andfinal
. My Unet is as follows:For the server setup and compilation of the circuit, I am basically following this example https://github.com/zama-ai/concrete-ml/tree/main/use_case_examples/hybrid_model. Could you please check why this happens? Thanks!
P.S. If you need the full code from me, just DM me at
Gan
in CML channel of FHE discord...i am pretty active there....Thanks!Best,
Gan
The text was updated successfully, but these errors were encountered: