Skip to content

Commit

Permalink
chore: update concrete-python
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanBredehoft committed Jun 6, 2024
1 parent 69c218e commit a0664aa
Show file tree
Hide file tree
Showing 7 changed files with 753 additions and 823 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ OPEN_PR="true"
# Force the installation of a Concrete Python version, which is very useful with nightly versions
# /!\ WARNING /!\: This version should NEVER be a wildcard as it might create some
# issues when trying to run it in the future.
CONCRETE_PYTHON_VERSION="concrete-python==2.6.2.dev20240529"
CONCRETE_PYTHON_VERSION="concrete-python==2.6.2.dev20240605"

# Force the installation of Concrete Python's latest version, release-candidates included
# CONCRETE_PYTHON_VERSION="$$(poetry run python \
Expand Down
21 changes: 10 additions & 11 deletions deps_licenses/licenses_mac_silicon_user.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
Name, Version, License
PyYAML, 6.0.1, MIT License
brevitas, 0.8.0, UNKNOWN
certifi, 2023.7.22, Mozilla Public License 2.0 (MPL 2.0)
certifi, 2024.6.2, Mozilla Public License 2.0 (MPL 2.0)
charset-normalizer, 3.3.2, MIT License
coloredlogs, 15.0.1, MIT License
concrete-python, 2.6.2.dev20240529, BSD-3-Clause
concrete-python, 2.6.2.dev20240605, BSD-3-Clause
dependencies, 2.0.1, BSD License
dill, 0.3.8, BSD License
filelock, 3.13.4, The Unlicense (Unlicense)
filelock, 3.14.0, The Unlicense (Unlicense)
flatbuffers, 24.3.25, Apache Software License
fsspec, 2024.3.1, BSD License
huggingface-hub, 0.22.2, Apache Software License
fsspec, 2024.6.0, BSD License
huggingface-hub, 0.23.3, Apache Software License
humanfriendly, 10.0, MIT License
hummingbird-ml, 0.4.8, MIT License
idna, 3.7, BSD License
importlib_resources, 6.4.0, Apache Software License
joblib, 1.4.0, BSD License
joblib, 1.4.2, BSD License
jsonpickle, 3.0.4, BSD License
mpmath, 1.3.0, BSD License
networkx, 3.1, BSD License
Expand All @@ -31,21 +31,20 @@ protobuf, 3.20.3, BSD-3-Clause
psutil, 5.9.8, BSD License
python-dateutil, 2.9.0.post0, Apache Software License; BSD License
pytz, 2024.1, MIT License
requests, 2.32.1, Apache Software License
requests, 2.32.3, Apache Software License
scikit-learn, 1.1.3, BSD License
scipy, 1.10.1, BSD License
six, 1.16.0, MIT License
skl2onnx, 1.12, Apache Software License
skops, 0.5.0, MIT
skorch, 0.11.0, new BSD 3-Clause
sympy, 1.12, BSD License
sympy, 1.12.1, BSD License
tabulate, 0.8.10, MIT License
threadpoolctl, 3.4.0, BSD License
threadpoolctl, 3.5.0, BSD License
torch, 1.13.1, BSD License
tqdm, 4.66.2, MIT License; Mozilla Public License 2.0 (MPL 2.0)
tqdm, 4.66.4, MIT License; Mozilla Public License 2.0 (MPL 2.0)
typing_extensions, 4.5.0, Python Software Foundation License
tzdata, 2024.1, Apache Software License
urllib3, 2.2.1, MIT License
xgboost, 1.6.2, Apache Software License
z3-solver, 4.13.0.0, MIT License
zipp, 3.18.1, MIT License
2 changes: 1 addition & 1 deletion deps_licenses/licenses_mac_silicon_user.txt.md5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5e424e2fdfb0fe158f7f91eccd528367
6b3c4ae93d34bebfc892953f531a83a6
98 changes: 25 additions & 73 deletions docs/advanced_examples/LogisticRegressionTraining.ipynb

Large diffs are not rendered by default.

1,447 changes: 714 additions & 733 deletions poetry.lock

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ readme = "README.md"
# Investigate if it is better to fix specific versions or use lower and upper bounds
# FIXME: https://github.com/zama-ai/concrete-ml-internal/issues/2665
python = ">=3.8.1,<3.11"
concrete-python = {version="==2.6.2.dev20240529", source = "zama-pypi"}
# concrete-python = ">=2.6.2.dev20240523,<3.0"
concrete-python = {version="==2.6.2.dev20240605", source = "zama-pypi"}
setuptools = "65.6.3"
skops = {version = "0.5.0"}
xgboost = "1.6.2"
Expand Down
3 changes: 1 addition & 2 deletions src/concrete/ml/common/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@
# Enable input ciphertext compression
# Note: This setting is fixed and cannot be altered by users
# However, for internal testing purposes, we retain the capability to disable this feature
# TODO: remove this once the nightly with the fix is integrated
os.environ["USE_INPUT_COMPRESSION"] = os.environ.get("USE_INPUT_COMPRESSION", "0")
os.environ["USE_INPUT_COMPRESSION"] = os.environ.get("USE_INPUT_COMPRESSION", "1")


class FheMode(str, enum.Enum):
Expand Down

0 comments on commit a0664aa

Please sign in to comment.