chore: rename package

This commit is contained in:
Arthur Meyre
2022-01-05 12:40:01 +01:00
parent c7b9380b4c
commit e2fc523596
50 changed files with 157 additions and 157 deletions

View File

@@ -506,7 +506,7 @@ def test_inpuset_eval_1_input(default_compilation_configuration):
assert output_node.outputs[0] == EncryptedScalar(UnsignedInteger(6))
# TODO: https://github.com/zama-ai/concrete-framework-internal/issues/772
# TODO: https://github.com/zama-ai/concrete-numpy-internal/issues/772
# Remove once this issue is done
def test_inpuset_eval_1_input_refuse_tuple(default_compilation_configuration):
"""Test case for a function with a single parameter and passing the inputset with tuples."""

View File

@@ -55,7 +55,7 @@ def pytest_addoption(parser):
)
DEFAULT_KEYRING_PATH = Path.home().resolve() / ".cache/concrete-framework_pytest"
DEFAULT_KEYRING_PATH = Path.home().resolve() / ".cache/concrete-numpy_pytest"
def get_keyring_dir_from_session_or_default(
@@ -404,7 +404,7 @@ def check_is_good_execution_impl(
# >= if there are 8 bits signed integers
allow_relaxed_tests_passing = max_bit_width >= ACCEPTABLE_MAXIMAL_BITWIDTH_FROM_CONCRETE_LIB
# FIXME: https://github.com/zama-ai/concrete-framework-internal/issues/1255
# FIXME: https://github.com/zama-ai/concrete-numpy-internal/issues/1255
# Increased with compiler accuracy which dropped, make sure to remove once accuracy improves
nb_tries = 10
@@ -432,7 +432,7 @@ def check_is_good_execution_impl(
if verbose:
print(f"Good computation after {i} tries")
return
# FIXME: https://github.com/zama-ai/concrete-framework-internal/issues/1264
# FIXME: https://github.com/zama-ai/concrete-numpy-internal/issues/1264
# Remove the relaxed tests once accuracy is good again for 7 bits
if allow_relaxed_tests_passing and cells_were_properly_computed.all():
print(

View File

@@ -242,7 +242,7 @@ def mix_x_and_y_and_call_f_with_integer_inputs(func, x, y):
def mix_x_and_y_and_call_f_which_expects_small_inputs(func, x, y):
"""Create an upper function to test `func`, which expects small values to not use too much
precision"""
# TODO: https://github.com/zama-ai/concrete-framework-internal/issues/993
# TODO: https://github.com/zama-ai/concrete-numpy-internal/issues/993
# Understand why it's failing with 0.77 for numpy.arctanh
a = numpy.abs(0.5 * numpy.sin(x))
z = numpy.abs(3 * func(a))
@@ -336,7 +336,7 @@ def subtest_compile_and_run_unary_ufunc_correctness(
default_compilation_configuration,
)
# TODO: https://github.com/zama-ai/concrete-framework-internal/issues/910
# TODO: https://github.com/zama-ai/concrete-numpy-internal/issues/910
args = [
numpy.random.randint(low, high, size=tensor_shape, dtype=numpy.uint8)
if tensor_shape != ()
@@ -377,7 +377,7 @@ def subtest_compile_and_run_binary_ufunc_correctness(
default_compilation_configuration,
)
# TODO: https://github.com/zama-ai/concrete-framework-internal/issues/910
# TODO: https://github.com/zama-ai/concrete-numpy-internal/issues/910
args = [
numpy.random.randint(low, high, size=tensor_shape, dtype=numpy.uint8)
if tensor_shape != ()