Skip to content

Commit

Permalink
chore: review
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrery committed May 29, 2024
1 parent 4f75979 commit a49f686
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/concrete/ml/deployment/fhe_client_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@ def run(
"""
assert_true(self.server is not None, "Model has not been loaded.")

if isinstance(serialized_encrypted_quantized_data, bytes):
serialized_encrypted_quantized_data = (serialized_encrypted_quantized_data,)
serialized_encrypted_quantized_data = to_tuple(serialized_encrypted_quantized_data)

deserialized_data = tuple(
fhe.Value.deserialize(data) for data in serialized_encrypted_quantized_data
Expand Down

0 comments on commit a49f686

Please sign in to comment.