diff --git a/README.md b/README.md index 928148d8d..0ad1560f6 100644 --- a/README.md +++ b/README.md @@ -254,18 +254,22 @@ This software is distributed under the **BSD-3-Clause-Clear** license. Read [thi #### FAQ **Is Zama’s technology free to use?** ->Zama’s libraries are free to use under the BSD 3-Clause Clear license only for development, research, prototyping, and experimentation purposes. However, for any commercial use of Zama's open source code, companies must purchase Zama’s commercial patent license. + +> Zama’s libraries are free to use under the BSD 3-Clause Clear license only for development, research, prototyping, and experimentation purposes. However, for any commercial use of Zama's open source code, companies must purchase Zama’s commercial patent license. > ->All our work is open source and we strive for full transparency about Zama's IP strategy. To know more about what this means for Zama product users, read about how we monetize our open source products in [this blog post](https://www.zama.ai/post/open-source). +> All our work is open source and we strive for full transparency about Zama's IP strategy. To know more about what this means for Zama product users, read about how we monetize our open source products in [this blog post](https://www.zama.ai/post/open-source). **What do I need to do if I want to use Zama’s technology for commercial purposes?** ->To commercially use Zama’s technology you need to be granted Zama’s patent license. Please contact us at hello@zama.ai for more information. + +> To commercially use Zama’s technology you need to be granted Zama’s patent license. Please contact us at hello@zama.ai for more information. **Do you file IP on your technology?** ->Yes, all of Zama’s technologies are patented. + +> Yes, all of Zama’s technologies are patented. **Can you customize a solution for my specific use case?** ->We are open to collaborating and advancing the FHE space with our partners. If you have specific needs, please email us at hello@zama.ai. + +> We are open to collaborating and advancing the FHE space with our partners. If you have specific needs, please email us at hello@zama.ai.

↑ Back to top diff --git a/docs/advanced_examples/EncryptedPandas.ipynb b/docs/advanced_examples/EncryptedPandas.ipynb index 8778da536..2699d9ddf 100644 --- a/docs/advanced_examples/EncryptedPandas.ipynb +++ b/docs/advanced_examples/EncryptedPandas.ipynb @@ -492,31 +492,31 @@ " \n", " \n", " \n", - " ..926a227729..\n", - " ..638abe63c5..\n", - " ..2bea63a1bb..\n", - " ..f18453d172..\n", + " ..f915460bb8..\n", + " ..2516cc2849..\n", + " ..863d7dfe70..\n", + " ..def69f8873..\n", " \n", " \n", - " ..6e88f7b547..\n", - " ..36d5835072..\n", - " ..610ac6e86a..\n", - " ..e47ae10040..\n", + " ..a71b8807d3..\n", + " ..3898f1290c..\n", + " ..d2ed2b92b5..\n", + " ..35885dd5df..\n", " \n", " \n", - " ..7740069dfe..\n", - " ..aef895be71..\n", - " ..6537fa92d0..\n", - " ..ab5df453fe..\n", + " ..a09e0ec21b..\n", + " ..c4c723ba41..\n", + " ..0e80736a37..\n", + " ..249c21a1d6..\n", " \n", " \n", "" ], "text/plain": [ " index day time size\n", - "..926a227729.. ..638abe63c5.. ..2bea63a1bb.. ..f18453d172..\n", - "..6e88f7b547.. ..36d5835072.. ..610ac6e86a.. ..e47ae10040..\n", - "..7740069dfe.. ..aef895be71.. ..6537fa92d0.. ..ab5df453fe.." + "..f915460bb8.. ..2516cc2849.. ..863d7dfe70.. ..def69f8873..\n", + "..a71b8807d3.. ..3898f1290c.. ..d2ed2b92b5.. ..35885dd5df..\n", + "..a09e0ec21b.. ..c4c723ba41.. ..0e80736a37.. ..249c21a1d6.." ] }, "execution_count": 9, @@ -584,7 +584,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Total execution time: 8.18s\n" + "Total execution time: 8.59s\n" ] } ], @@ -1036,5 +1036,5 @@ } }, "nbformat": 4, - "nbformat_minor": 2 + "nbformat_minor": 4 } diff --git a/src/concrete/ml/pandas/_client_server_files/client.zip b/src/concrete/ml/pandas/_client_server_files/client.zip index 04830a816..98c00d463 100644 --- a/src/concrete/ml/pandas/_client_server_files/client.zip +++ b/src/concrete/ml/pandas/_client_server_files/client.zip @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c5fc80d766552a65cbeada36fa63c091fc29b7419c98c379f59f770153a04bc8 -size 594 +oid sha256:a381c81460742d4d2f58cb74dd5bc75f22e06cd5d78aebc9449f40bc802e1978 +size 597 diff --git a/src/concrete/ml/pandas/_client_server_files/server.zip b/src/concrete/ml/pandas/_client_server_files/server.zip index 5dc09ce2a..e8092ec80 100644 --- a/src/concrete/ml/pandas/_client_server_files/server.zip +++ b/src/concrete/ml/pandas/_client_server_files/server.zip @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:80d81a73f1ebf8742f4c0243c9cdedbe4ed0e3b4a246069d04e73aaff2e4886f -size 1396 +oid sha256:be0a6745629386ab3dae36156fc2f55b332c8d27a912752c993f9dd2f09a0e56 +size 1410 diff --git a/src/concrete/ml/pandas/_development.py b/src/concrete/ml/pandas/_development.py index ab5e3801f..b419ae253 100644 --- a/src/concrete/ml/pandas/_development.py +++ b/src/concrete/ml/pandas/_development.py @@ -5,6 +5,7 @@ from pathlib import Path from typing import Dict, List, Tuple, Union +from concrete.fhe import Configuration from concrete.fhe.tracing import Tracer from concrete import fhe @@ -163,9 +164,12 @@ def save_client_server(client_path: Path = CLIENT_PATH, server_path: Path = SERV # Get the input-set and circuit generating functions inputset = config["get_inputset"]() cp_func = config["to_compile"] + compilation_configuration = Configuration(compress_evaluation_keys=True) # Compile the circuit and allow it to be composable with itself - merge_circuit = cp_func.compile(inputset, composable=True) + merge_circuit = cp_func.compile( + inputset, composable=True, configuration=compilation_configuration + ) # Save the client and server files using the MLIR merge_circuit.client.save(client_path)