chore: use consistent name of key_cache in config

This commit is contained in:
youben11
2022-05-19 08:20:58 +01:00
committed by Umut
parent 574446e6f5
commit c25f9b7782
5 changed files with 11 additions and 11 deletions

View File

@@ -201,8 +201,8 @@ def test_client_server_api(helpers):
client_specs = ClientSpecs.unserialize(serialized_client_specs)
clients = [
Client(client_specs, configuration.insecure_keycache_location),
Client.load(client_path, configuration.insecure_keycache_location),
Client(client_specs, configuration.insecure_key_cache_location),
Client.load(client_path, configuration.insecure_key_cache_location),
]
for client in clients:

View File

@@ -19,7 +19,7 @@ from concrete.numpy.compilation import Configuration
{
"enable_unsafe_features": True,
"use_insecure_key_cache": True,
"insecure_keycache_location": None,
"insecure_key_cache_location": None,
},
RuntimeError,
"Insecure key cache cannot be enabled without specifying its location",

View File

@@ -110,7 +110,7 @@ class Helpers:
dataflow_parallelize=False,
auto_parallelize=False,
jit=True,
insecure_keycache_location=INSECURE_KEY_CACHE_LOCATION,
insecure_key_cache_location=INSECURE_KEY_CACHE_LOCATION,
)
@staticmethod