mirror of
https://github.com/zama-ai/concrete.git
synced 2026-04-17 03:00:54 -04:00
chore: use consistent name of key_cache in config
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user