Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fixing OMP lib installation issues on intel mac for other python versions #612

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

bcm-at-zama
Copy link
Collaborator

@bcm-at-zama bcm-at-zama commented Apr 15, 2024

Doing recompilation of our HF endpoints for python3.10 allowed me to see that this script was not working fine for 3.10. Still restricted to Intel Mac, I guess.

Tested on my machine for 3.8, 3.9 and 3.10
It will also be tested by the check_licenses on the weekly build

closes #https://github.com/zama-ai/concrete-ml-internal/issues/4386

@bcm-at-zama bcm-at-zama requested a review from a team as a code owner April 15, 2024 13:05
@cla-bot cla-bot bot added the cla-signed label Apr 15, 2024
@bcm-at-zama
Copy link
Collaborator Author

Draft: let me check it works fine again, after my experiments for HF.

@bcm-at-zama bcm-at-zama marked this pull request as draft April 15, 2024 13:06
else
echo "Please have a look to libraries libiomp5.dylib related to torch and then"
echo "apply appropriate fix"
exit -1
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because I guess it would be different for 3.11 as well!

RomanBredehoft
RomanBredehoft previously approved these changes Apr 15, 2024
Copy link
Collaborator

@RomanBredehoft RomanBredehoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah great, I didn't know what to change last time hence the && [ "$PYTHON_VERSION" != "3.10" ], thanks !

@bcm-at-zama
Copy link
Collaborator Author

@RomanBredehoft : you have an Intel Mac? in my understanding, the fixes were only needed for intel

@RomanBredehoft
Copy link
Collaborator

no but it was making the update license action fail when generating them for mac intel with python 3.10

@bcm-at-zama
Copy link
Collaborator Author

awesome, then! do we have an issue to close with this PR, then @RomanBredehoft ?

@RomanBredehoft
Copy link
Collaborator

no !

@bcm-at-zama bcm-at-zama force-pushed the fix_installation_issues_on_intel_mac_other_python branch from c172520 to c1c680b Compare April 15, 2024 15:16
@bcm-at-zama
Copy link
Collaborator Author

@RomanBredehoft : did it fail for other python versions? I could have a look

@RomanBredehoft
Copy link
Collaborator

I did not try, python 3.10 was the default version and we don't need a sepcific python version for generating licenses

but we currently support python 3.8 3.9 and 3.10 so you might also want to take a look at python 3.9 !

@bcm-at-zama bcm-at-zama marked this pull request as ready for review April 15, 2024 15:31
@bcm-at-zama
Copy link
Collaborator Author

Looks to work. Unless you ask me @RomanBredehoft to have a look for another python version

@RomanBredehoft
Copy link
Collaborator

@bcm-at-zama checking python 3.9 could be worth indeed

@bcm-at-zama
Copy link
Collaborator Author

3.9 was already done in the script. So, we're good?

rm "${WHICH_VENV}"/lib/"${WHICH_PYTHON}"/site-packages/functorch/.dylibs/libiomp5.dylib
ln -s "${WHICH_VENV}"/lib/"${WHICH_PYTHON}"/site-packages/concrete/.dylibs/libomp.dylib "${WHICH_VENV}"lib/"${WHICH_PYTHON}"/site-packages/functorch/.dylibs/libiomp5.dylib
# The error is specific to python version
if [ "$PYTHON_VERSION" == "3.9" ]
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RomanBredehoft
RomanBredehoft previously approved these changes Apr 15, 2024
Copy link
Collaborator

@RomanBredehoft RomanBredehoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah yes sorry, but python 3.8 does not need to do anything ? in that case yes all seem good thanks !

@bcm-at-zama
Copy link
Collaborator Author

ok let me check with 3.8

@bcm-at-zama bcm-at-zama marked this pull request as draft April 16, 2024 06:41
@bcm-at-zama
Copy link
Collaborator Author

Well, looks like for 3.10, it's still broken on my Mac intel, so it needs more work. Not sure when I have a look, let me create an issue

@bcm-at-zama
Copy link
Collaborator Author

OK finally it works on 3.10: I was able to make force_licences

make force_licenses ./script/make_utils/licenses.sh --cp_version ""concrete-python==2.6.0-rc1"" --force_update Doing licenses for user MD5 of the poetry.lock for which dependencies have been listed: de67ec7ae864ce9d686569b7498a4ada MD5 of the current poetry.lock: de67ec7ae864ce9d686569b7498a4ada Make licenses with python Python 3.10.8 Looking in indexes: https://pypi.org/simple, https://repo.zama.ai/repository/internal-pypi/simple Requirement already satisfied: pip in /private/tmp/tmp_venv/tmp_venv/lib/python3.10/site-packages (22.2.2) Collecting pip Using cached pip-24.0-py3-none-any.whl (2.1 MB) Collecting wheel Downloading wheel-0.43.0-py3-none-any.whl (65 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.8/65.8 kB 803.0 kB/s eta 0:00:00 Installing collected packages: wheel, pip Attempting uninstall: pip Found existing installation: pip 22.2.2 Uninstalling pip-22.2.2: Successfully uninstalled pip-22.2.2 Successfully installed pip-24.0 wheel-0.43.0 Installing dependencies from lock file

Package operations: 75 installs, 1 update, 0 removals

• Installing numpy (1.23.5)
• Installing protobuf (3.20.3)
• Installing typing-extensions (4.5.0)
• Installing certifi (2023.7.22)
• Installing charset-normalizer (3.3.2)
• Installing idna (3.6)
• Installing joblib (1.4.0)
• Installing onnx (1.13.1)
• Installing packaging (24.0)
• Installing scipy (1.10.1)
• Installing six (1.16.0)
• Installing threadpoolctl (3.4.0)
• Installing urllib3 (2.2.1)
• Installing exceptiongroup (1.2.0)
• Installing filelock (3.13.3)
• Installing fsspec (2024.3.1)
• Installing humanfriendly (10.0)
• Installing iniconfig (2.0.0)
• Installing jmespath (1.0.1)
• Installing mpmath (1.3.0)
• Installing onnxconverter-common (1.13.0)
• Installing pluggy (1.4.0)
• Installing python-dateutil (2.9.0.post0)
• Installing pyyaml (6.0.1)
• Installing requests (2.31.0)
• Installing scikit-learn (1.1.3)
• Installing sniffio (1.3.1)
• Installing tomli (2.0.1)
• Installing tqdm (4.66.2)
• Installing anyio (3.7.1)
• Installing botocore (1.34.80)
• Installing coloredlogs (15.0.1)
• Installing flatbuffers (24.3.25)
• Installing huggingface-hub (0.22.2)
• Installing pytest (7.4.1)
• Installing skl2onnx (1.12)
• Installing smmap (5.0.1)
• Installing sympy (1.12)
• Installing click (8.1.7)
• Installing dependencies (2.0.1)
• Installing dill (0.3.8)
• Installing gitdb (4.0.11)
• Installing h11 (0.14.0)
• Installing importlib-resources (6.4.0)
• Installing jsonpickle (3.0.3)
• Installing networkx (3.1)
• Installing onnxmltools (1.11.0)
• Installing onnxruntime (1.13.1)
• Installing psutil (5.9.8)
• Installing pydantic (1.10.15)
• Installing pytest-metadata (3.1.1)
• Installing pytz (2024.1)
• Installing regex (2023.12.25)
• Installing s3transfer (0.10.1)
• Installing safetensors (0.4.2)
• Updating setuptools (65.4.1 -> 65.6.3)
• Installing starlette (0.27.0)
• Installing tabulate (0.8.10)
• Installing tokenizers (0.15.2)
• Installing torch (1.13.1)
• Installing z3-solver (4.13.0.0)
• Installing tzdata (2024.1)
• Installing boto3 (1.34.80)
• Installing brevitas (0.8.0)
• Installing concrete-python (2.6.0rc1)
• Installing fastapi (0.103.2)
• Installing gitpython (3.1.41)
• Installing hummingbird-ml (0.4.8)
• Installing onnxoptimizer (0.3.10)
• Installing pandas (2.0.3)
• Installing pytest-json-report (1.5.0)
• Installing skops (0.5.0)
• Installing skorch (0.11.0)
• Installing transformers (4.39.3)
• Installing uvicorn (0.21.1)
• Installing xgboost (1.6.2)

Installing the current project: concrete-ml (1.5.0)
Looking in indexes: https://pypi.org/simple, https://repo.zama.ai/repository/internal-pypi/simple
Requirement already satisfied: concrete-python==2.6.0-rc1 in /private/tmp/tmp_venv/tmp_venv/lib/python3.10/site-packages (2.6.0rc1)
Requirement already satisfied: importlib-resources>=6.1 in /private/tmp/tmp_venv/tmp_venv/lib/python3.10/site-packages (from concrete-python==2.6.0-rc1) (6.4.0)
Requirement already satisfied: jsonpickle>=3.0.3 in /private/tmp/tmp_venv/tmp_venv/lib/python3.10/site-packages (from concrete-python==2.6.0-rc1) (3.0.3)
Requirement already satisfied: networkx>=2.6 in /private/tmp/tmp_venv/tmp_venv/lib/python3.10/site-packages (from concrete-python==2.6.0-rc1) (3.1)
Requirement already satisfied: numpy>=1.23 in /private/tmp/tmp_venv/tmp_venv/lib/python3.10/site-packages (from concrete-python==2.6.0-rc1) (1.23.5)
Requirement already satisfied: scipy>=1.10 in /private/tmp/tmp_venv/tmp_venv/lib/python3.10/site-packages (from concrete-python==2.6.0-rc1) (1.10.1)
Requirement already satisfied: torch>=1.13 in /private/tmp/tmp_venv/tmp_venv/lib/python3.10/site-packages (from concrete-python==2.6.0-rc1) (1.13.1)
Requirement already satisfied: z3-solver>=4.12 in /private/tmp/tmp_venv/tmp_venv/lib/python3.10/site-packages (from concrete-python==2.6.0-rc1) (4.13.0.0)
Requirement already satisfied: typing-extensions in /private/tmp/tmp_venv/tmp_venv/lib/python3.10/site-packages (from torch>=1.13->concrete-python==2.6.0-rc1) (4.5.0)
Looking in indexes: https://pypi.org/simple, https://repo.zama.ai/repository/internal-pypi/simple
Collecting pip-licenses
Downloading pip_licenses-4.4.0-py3-none-any.whl.metadata (33 kB)
Collecting prettytable>=2.3.0 (from pip-licenses)
Downloading prettytable-3.10.0-py3-none-any.whl.metadata (30 kB)
Collecting wcwidth (from prettytable>=2.3.0->pip-licenses)
Using cached wcwidth-0.2.13-py2.py3-none-any.whl.metadata (14 kB)
Downloading pip_licenses-4.4.0-py3-none-any.whl (20 kB)
Downloading prettytable-3.10.0-py3-none-any.whl (28 kB)
Using cached wcwidth-0.2.13-py2.py3-none-any.whl (34 kB)
Installing collected packages: wcwidth, prettytable, pip-licenses
Successfully installed pip-licenses-4.4.0 prettytable-3.10.0 wcwidth-0.2.13
Name,Version,License
GitPython,3.1.41,BSD License
PyYAML,6.0.1,MIT License
anyio,3.7.1,MIT License
boto3,1.34.80,Apache Software License
botocore,1.34.80,Apache Software License
brevitas,0.8.0,UNKNOWN
certifi,2023.7.22,Mozilla Public License 2.0 (MPL 2.0)
charset-normalizer,3.3.2,MIT License
click,8.1.7,BSD License
coloredlogs,15.0.1,MIT License
concrete-python,2.6.0rc1,BSD-3-Clause
dependencies,2.0.1,BSD License
dill,0.3.8,BSD License
exceptiongroup,1.2.0,MIT License
fastapi,0.103.2,MIT License
filelock,3.13.3,The Unlicense (Unlicense)
flatbuffers,24.3.25,Apache Software License
fsspec,2024.3.1,BSD License
gitdb,4.0.11,BSD License
h11,0.14.0,MIT License
huggingface-hub,0.22.2,Apache Software License
humanfriendly,10.0,MIT License
hummingbird-ml,0.4.8,MIT License
idna,3.6,BSD License
importlib_resources,6.4.0,Apache Software License
iniconfig,2.0.0,MIT License
jmespath,1.0.1,MIT License
joblib,1.4.0,BSD License
jsonpickle,3.0.3,BSD License
mpmath,1.3.0,BSD License
networkx,3.1,BSD License
numpy,1.23.5,BSD License
onnx,1.13.1,Apache License v2.0
onnxconverter-common,1.13.0,MIT License
onnxmltools,1.11.0,Apache Software License
onnxoptimizer,0.3.10,Apache License v2.0
onnxruntime,1.13.1,MIT License
packaging,24.0,Apache Software License; BSD License
pandas,2.0.3,BSD License
pluggy,1.4.0,MIT License
protobuf,3.20.3,BSD-3-Clause
psutil,5.9.8,BSD License
pydantic,1.10.15,MIT License
pytest,7.4.1,MIT License
pytest-json-report,1.5.0,MIT
pytest-metadata,3.1.1,Mozilla Public License 2.0 (MPL 2.0)
python-dateutil,2.9.0.post0,Apache Software License; BSD License
pytz,2024.1,MIT License
regex,2023.12.25,Apache Software License
requests,2.31.0,Apache Software License
s3transfer,0.10.1,Apache Software License
safetensors,0.4.2,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
smmap,5.0.1,BSD License
sniffio,1.3.1,Apache Software License; MIT License
starlette,0.27.0,BSD License
sympy,1.12,BSD License
tabulate,0.8.10,MIT License
threadpoolctl,3.4.0,BSD License
tokenizers,0.15.2,Apache Software License
tomli,2.0.1,MIT License
torch,1.13.1,BSD License
tqdm,4.66.2,MIT License; Mozilla Public License 2.0 (MPL 2.0)
transformers,4.39.3,Apache Software License
typing_extensions,4.5.0,Python Software Foundation License
tzdata,2024.1,Apache Software License
urllib3,2.2.1,MIT License
uvicorn,0.21.1,BSD License
xgboost,1.6.2,Apache Software License
z3-solver,4.13.0.0,MIT License
Name Version License
GitPython 3.1.41 BSD License
PyYAML 6.0.1 MIT License
anyio 3.7.1 MIT License
boto3 1.34.80 Apache Software License
botocore 1.34.80 Apache Software License
brevitas 0.8.0 UNKNOWN
certifi 2023.7.22 Mozilla Public License 2.0 (MPL 2.0)
charset-normalizer 3.3.2 MIT License
click 8.1.7 BSD License
coloredlogs 15.0.1 MIT License
concrete-ml 1.5.0 Other/Proprietary License
concrete-python 2.6.0rc1 BSD-3-Clause
dependencies 2.0.1 BSD License
dill 0.3.8 BSD License
exceptiongroup 1.2.0 MIT License
fastapi 0.103.2 MIT License
filelock 3.13.3 The Unlicense (Unlicense)
flatbuffers 24.3.25 Apache Software License
fsspec 2024.3.1 BSD License
gitdb 4.0.11 BSD License
h11 0.14.0 MIT License
huggingface-hub 0.22.2 Apache Software License
humanfriendly 10.0 MIT License
hummingbird-ml 0.4.8 MIT License
idna 3.6 BSD License
importlib_resources 6.4.0 Apache Software License
iniconfig 2.0.0 MIT License
jmespath 1.0.1 MIT License
joblib 1.4.0 BSD License
jsonpickle 3.0.3 BSD License
mpmath 1.3.0 BSD License
networkx 3.1 BSD License
numpy 1.23.5 BSD License
onnx 1.13.1 Apache License v2.0
onnxconverter-common 1.13.0 MIT License
onnxmltools 1.11.0 Apache Software License
onnxoptimizer 0.3.10 Apache License v2.0
onnxruntime 1.13.1 MIT License
packaging 24.0 Apache Software License; BSD License
pandas 2.0.3 BSD License
pluggy 1.4.0 MIT License
protobuf 3.20.3 BSD-3-Clause
psutil 5.9.8 BSD License
pydantic 1.10.15 MIT License
pytest 7.4.1 MIT License
pytest-json-report 1.5.0 MIT
pytest-metadata 3.1.1 Mozilla Public License 2.0 (MPL 2.0)
python-dateutil 2.9.0.post0 Apache Software License; BSD License
pytz 2024.1 MIT License
regex 2023.12.25 Apache Software License
requests 2.31.0 Apache Software License
s3transfer 0.10.1 Apache Software License
safetensors 0.4.2 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
smmap 5.0.1 BSD License
sniffio 1.3.1 Apache Software License; MIT License
starlette 0.27.0 BSD License
sympy 1.12 BSD License
tabulate 0.8.10 MIT License
threadpoolctl 3.4.0 BSD License
tokenizers 0.15.2 Apache Software License
tomli 2.0.1 MIT License
torch 1.13.1 BSD License
tqdm 4.66.2 MIT License; Mozilla Public License 2.0 (MPL 2.0)
transformers 4.39.3 Apache Software License
typing_extensions 4.5.0 Python Software Foundation License
tzdata 2024.1 Apache Software License
urllib3 2.2.1 MIT License
uvicorn 0.21.1 BSD License
xgboost 1.6.2 Apache Software License
z3-solver 4.13.0.0 MIT License
Name Version License
GitPython 3.1.41 BSD License
PyYAML 6.0.1 MIT License
anyio 3.7.1 MIT License
boto3 1.34.80 Apache Software License
botocore 1.34.80 Apache Software License
certifi 2023.7.22 Mozilla Public License 2.0 (MPL 2.0)
charset-normalizer 3.3.2 MIT License
click 8.1.7 BSD License
coloredlogs 15.0.1 MIT License
concrete-ml 1.5.0 Other/Proprietary License
concrete-python 2.6.0rc1 BSD-3-Clause
dependencies 2.0.1 BSD License
dill 0.3.8 BSD License
exceptiongroup 1.2.0 MIT License
fastapi 0.103.2 MIT License
filelock 3.13.3 The Unlicense (Unlicense)
flatbuffers 24.3.25 Apache Software License
fsspec 2024.3.1 BSD License
gitdb 4.0.11 BSD License
h11 0.14.0 MIT License
huggingface-hub 0.22.2 Apache Software License
humanfriendly 10.0 MIT License
hummingbird-ml 0.4.8 MIT License
idna 3.6 BSD License
importlib_resources 6.4.0 Apache Software License
iniconfig 2.0.0 MIT License
jmespath 1.0.1 MIT License
joblib 1.4.0 BSD License
jsonpickle 3.0.3 BSD License
mpmath 1.3.0 BSD License
networkx 3.1 BSD License
numpy 1.23.5 BSD License
onnx 1.13.1 Apache License v2.0
onnxconverter-common 1.13.0 MIT License
onnxmltools 1.11.0 Apache Software License
onnxoptimizer 0.3.10 Apache License v2.0
onnxruntime 1.13.1 MIT License
packaging 24.0 Apache Software License; BSD License
pandas 2.0.3 BSD License
pluggy 1.4.0 MIT License
protobuf 3.20.3 BSD-3-Clause
psutil 5.9.8 BSD License
pydantic 1.10.15 MIT License
pytest 7.4.1 MIT License
pytest-json-report 1.5.0 MIT
pytest-metadata 3.1.1 Mozilla Public License 2.0 (MPL 2.0)
python-dateutil 2.9.0.post0 Apache Software License; BSD License
pytz 2024.1 MIT License
regex 2023.12.25 Apache Software License
requests 2.31.0 Apache Software License
s3transfer 0.10.1 Apache Software License
safetensors 0.4.2 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
smmap 5.0.1 BSD License
sniffio 1.3.1 Apache Software License; MIT License
starlette 0.27.0 BSD License
sympy 1.12 BSD License
tabulate 0.8.10 MIT License
threadpoolctl 3.4.0 BSD License
tokenizers 0.15.2 Apache Software License
tomli 2.0.1 MIT License
torch 1.13.1 BSD License
tqdm 4.66.2 MIT License; Mozilla Public License 2.0 (MPL 2.0)
transformers 4.39.3 Apache Software License
typing_extensions 4.5.0 Python Software Foundation License
tzdata 2024.1 Apache Software License
urllib3 2.2.1 MIT License
uvicorn 0.21.1 BSD License
xgboost 1.6.2 Apache Software License
z3-solver 4.13.0.0 MIT License
End of license script

@bcm-at-zama
Copy link
Collaborator Author

Let me do it with 3.11

@bcm-at-zama
Copy link
Collaborator Author

How do I install 3.11 on my Mac, first

@bcm-at-zama
Copy link
Collaborator Author

I've installed 3.11 now

@bcm-at-zama
Copy link
Collaborator Author

But

make sync_env
if [[ $(poetry --version) != "Poetry (version 1.7.1)" ]];then \
		echo "Current Poetry version is different than 1.7.1. Please update it.";\
	else \
		if [[ $(uname) != "Linux" ]] && [[ $(uname) != "Darwin" ]]; then \
			poetry install --remove-untracked --only dev; \
		else \
			poetry install --remove-untracked; \
		fi; \
		"/Applications/Xcode.app/Contents/Developer/usr/bin/make" setup_env; \
	fi

Current Python version (3.11.8) is not allowed by the project (>=3.8.1,<3.11).
Please change python executable via the "env use" command.
PIP_INDEX_URL=https://pypi.org/simple \
	PIP_EXTRA_INDEX_URL=https://pypi.org/simple \
	poetry run python --version

Current Python version (3.11.8) is not allowed by the project (>=3.8.1,<3.11).
Please change python executable via the "env use" command.
make[1]: *** [setup_env] Error 1
make: *** [sync_env] Error 2

ie we don't support 3.11!

@bcm-at-zama
Copy link
Collaborator Author

That's with 3.8 that I've to check, my bad.

…on version

Works (tested) for 3.8, 3.9 and 3.10.
@bcm-at-zama bcm-at-zama force-pushed the fix_installation_issues_on_intel_mac_other_python branch from c1c680b to d8eff0a Compare April 16, 2024 13:32
@bcm-at-zama
Copy link
Collaborator Author

make force_licenses also work on 3.8 now:

``` python --version Python 3.8.15 (.venv) ~/Documents/Zama/Git/concrete-ml % make force_licenses ./script/make_utils/licenses.sh --cp_version ""concrete-python==2.6.0-rc1"" --force_update Doing licenses for user MD5 of the poetry.lock for which dependencies have been listed: de67ec7ae864ce9d686569b7498a4ada MD5 of the current poetry.lock: de67ec7ae864ce9d686569b7498a4ada Make licenses with python Python 3.8.15 Looking in indexes: https://pypi.org/simple, https://repo.zama.ai/repository/internal-pypi/simple Requirement already satisfied: pip in /private/tmp/tmp_venv/tmp_venv/lib/python3.8/site-packages (22.0.4) Collecting pip Using cached pip-24.0-py3-none-any.whl (2.1 MB) Collecting wheel Using cached wheel-0.43.0-py3-none-any.whl (65 kB) Installing collected packages: wheel, pip Attempting uninstall: pip Found existing installation: pip 22.0.4 Uninstalling pip-22.0.4: Successfully uninstalled pip-22.0.4 Successfully installed pip-24.0 wheel-0.43.0 Installing dependencies from lock file

Package operations: 76 installs, 1 update, 0 removals

• Installing numpy (1.23.5)
• Installing protobuf (3.20.3)
• Installing typing-extensions (4.5.0)
• Installing certifi (2023.7.22)
• Installing charset-normalizer (3.3.2)
• Installing idna (3.6)
• Installing joblib (1.4.0)
• Installing onnx (1.13.1)
• Installing packaging (24.0)
• Installing scipy (1.10.1)
• Installing six (1.16.0)
• Installing threadpoolctl (3.4.0)
• Installing urllib3 (1.26.18)
• Installing exceptiongroup (1.2.0)
• Installing filelock (3.13.3)
• Installing fsspec (2024.3.1)
• Installing humanfriendly (10.0)
• Installing iniconfig (2.0.0)
• Installing jmespath (1.0.1)
• Installing mpmath (1.3.0)
• Installing onnxconverter-common (1.13.0)
• Installing pluggy (1.4.0)
• Installing python-dateutil (2.9.0.post0)
• Installing pyyaml (6.0.1)
• Installing requests (2.31.0)
• Installing scikit-learn (1.1.3)
• Installing sniffio (1.3.1)
• Installing tomli (2.0.1)
• Installing tqdm (4.66.2)
• Installing zipp (3.18.1)
• Installing anyio (3.7.1)
• Installing botocore (1.34.80)
• Installing coloredlogs (15.0.1)
• Installing flatbuffers (24.3.25)
• Installing huggingface-hub (0.22.2)
• Installing importlib-resources (6.4.0)
• Installing pytest (7.4.1)
• Installing skl2onnx (1.12)
• Installing smmap (5.0.1)
• Installing sympy (1.12)
• Installing click (8.1.7)
• Installing dependencies (2.0.1)
• Installing dill (0.3.8)
• Installing gitdb (4.0.11)
• Installing h11 (0.14.0)
• Installing jsonpickle (3.0.3)
• Installing networkx (3.1)
• Installing onnxmltools (1.11.0)
• Installing onnxruntime (1.13.1)
• Installing psutil (5.9.8)
• Installing pydantic (1.10.15)
• Installing pytest-metadata (3.1.1)
• Installing pytz (2024.1)
• Installing regex (2023.12.25)
• Installing s3transfer (0.10.1)
• Installing safetensors (0.4.2)
• Updating setuptools (56.0.0 -> 65.6.3)
• Installing starlette (0.27.0)
• Installing tabulate (0.8.10)
• Installing tokenizers (0.15.2)
• Installing torch (1.13.1)
• Installing tzdata (2024.1)
• Installing z3-solver (4.13.0.0)
• Installing boto3 (1.34.80)
• Installing brevitas (0.8.0)
• Installing concrete-python (2.6.0rc1)
• Installing fastapi (0.103.2)
• Installing gitpython (3.1.41)
• Installing hummingbird-ml (0.4.8)
• Installing onnxoptimizer (0.3.10)
• Installing pandas (2.0.3)
• Installing pytest-json-report (1.5.0)
• Installing skops (0.5.0)
• Installing skorch (0.11.0)
• Installing transformers (4.39.3)
• Installing uvicorn (0.21.1)
• Installing xgboost (1.6.2)

Installing the current project: concrete-ml (1.5.0)
Looking in indexes: https://pypi.org/simple, https://repo.zama.ai/repository/internal-pypi/simple
Requirement already satisfied: concrete-python==2.6.0-rc1 in /private/tmp/tmp_venv/tmp_venv/lib/python3.8/site-packages (2.6.0rc1)
Requirement already satisfied: importlib-resources>=6.1 in /private/tmp/tmp_venv/tmp_venv/lib/python3.8/site-packages (from concrete-python==2.6.0-rc1) (6.4.0)
Requirement already satisfied: jsonpickle>=3.0.3 in /private/tmp/tmp_venv/tmp_venv/lib/python3.8/site-packages (from concrete-python==2.6.0-rc1) (3.0.3)
Requirement already satisfied: networkx>=2.6 in /private/tmp/tmp_venv/tmp_venv/lib/python3.8/site-packages (from concrete-python==2.6.0-rc1) (3.1)
Requirement already satisfied: numpy>=1.23 in /private/tmp/tmp_venv/tmp_venv/lib/python3.8/site-packages (from concrete-python==2.6.0-rc1) (1.23.5)
Requirement already satisfied: scipy>=1.10 in /private/tmp/tmp_venv/tmp_venv/lib/python3.8/site-packages (from concrete-python==2.6.0-rc1) (1.10.1)
Requirement already satisfied: torch>=1.13 in /private/tmp/tmp_venv/tmp_venv/lib/python3.8/site-packages (from concrete-python==2.6.0-rc1) (1.13.1)
Requirement already satisfied: z3-solver>=4.12 in /private/tmp/tmp_venv/tmp_venv/lib/python3.8/site-packages (from concrete-python==2.6.0-rc1) (4.13.0.0)
Requirement already satisfied: zipp>=3.1.0 in /private/tmp/tmp_venv/tmp_venv/lib/python3.8/site-packages (from importlib-resources>=6.1->concrete-python==2.6.0-rc1) (3.18.1)
Requirement already satisfied: typing-extensions in /private/tmp/tmp_venv/tmp_venv/lib/python3.8/site-packages (from torch>=1.13->concrete-python==2.6.0-rc1) (4.5.0)
Looking in indexes: https://pypi.org/simple, https://repo.zama.ai/repository/internal-pypi/simple
Collecting pip-licenses
Using cached pip_licenses-4.4.0-py3-none-any.whl.metadata (33 kB)
Collecting prettytable>=2.3.0 (from pip-licenses)
Using cached prettytable-3.10.0-py3-none-any.whl.metadata (30 kB)
Collecting wcwidth (from prettytable>=2.3.0->pip-licenses)
Using cached wcwidth-0.2.13-py2.py3-none-any.whl.metadata (14 kB)
Using cached pip_licenses-4.4.0-py3-none-any.whl (20 kB)
Using cached prettytable-3.10.0-py3-none-any.whl (28 kB)
Using cached wcwidth-0.2.13-py2.py3-none-any.whl (34 kB)
Installing collected packages: wcwidth, prettytable, pip-licenses
Successfully installed pip-licenses-4.4.0 prettytable-3.10.0 wcwidth-0.2.13
Name,Version,License
GitPython,3.1.41,BSD License
PyYAML,6.0.1,MIT License
anyio,3.7.1,MIT License
boto3,1.34.80,Apache Software License
botocore,1.34.80,Apache Software License
brevitas,0.8.0,UNKNOWN
certifi,2023.7.22,Mozilla Public License 2.0 (MPL 2.0)
charset-normalizer,3.3.2,MIT License
click,8.1.7,BSD License
coloredlogs,15.0.1,MIT License
concrete-python,2.6.0rc1,BSD-3-Clause
dependencies,2.0.1,BSD License
dill,0.3.8,BSD License
exceptiongroup,1.2.0,MIT License
fastapi,0.103.2,MIT License
filelock,3.13.3,The Unlicense (Unlicense)
flatbuffers,24.3.25,Apache Software License
fsspec,2024.3.1,BSD License
gitdb,4.0.11,BSD License
h11,0.14.0,MIT License
huggingface-hub,0.22.2,Apache Software License
humanfriendly,10.0,MIT License
hummingbird-ml,0.4.8,MIT License
idna,3.6,BSD License
importlib_resources,6.4.0,Apache Software License
iniconfig,2.0.0,MIT License
jmespath,1.0.1,MIT License
joblib,1.4.0,BSD License
jsonpickle,3.0.3,BSD License
mpmath,1.3.0,BSD License
networkx,3.1,BSD License
numpy,1.23.5,BSD License
onnx,1.13.1,Apache License v2.0
onnxconverter-common,1.13.0,MIT License
onnxmltools,1.11.0,Apache Software License
onnxoptimizer,0.3.10,Apache License v2.0
onnxruntime,1.13.1,MIT License
packaging,24.0,Apache Software License; BSD License
pandas,2.0.3,BSD License
pluggy,1.4.0,MIT License
protobuf,3.20.3,BSD-3-Clause
psutil,5.9.8,BSD License
pydantic,1.10.15,MIT License
pytest,7.4.1,MIT License
pytest-json-report,1.5.0,MIT
pytest-metadata,3.1.1,Mozilla Public License 2.0 (MPL 2.0)
python-dateutil,2.9.0.post0,Apache Software License; BSD License
pytz,2024.1,MIT License
regex,2023.12.25,Apache Software License
requests,2.31.0,Apache Software License
s3transfer,0.10.1,Apache Software License
safetensors,0.4.2,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
smmap,5.0.1,BSD License
sniffio,1.3.1,Apache Software License; MIT License
starlette,0.27.0,BSD License
sympy,1.12,BSD License
tabulate,0.8.10,MIT License
threadpoolctl,3.4.0,BSD License
tokenizers,0.15.2,Apache Software License
tomli,2.0.1,MIT License
torch,1.13.1,BSD License
tqdm,4.66.2,MIT License; Mozilla Public License 2.0 (MPL 2.0)
transformers,4.39.3,Apache Software License
typing_extensions,4.5.0,Python Software Foundation License
tzdata,2024.1,Apache Software License
urllib3,1.26.18,MIT License
uvicorn,0.21.1,BSD License
xgboost,1.6.2,Apache Software License
z3-solver,4.13.0.0,MIT License
zipp,3.18.1,MIT License
Name Version License
GitPython 3.1.41 BSD License
PyYAML 6.0.1 MIT License
anyio 3.7.1 MIT License
boto3 1.34.80 Apache Software License
botocore 1.34.80 Apache Software License
brevitas 0.8.0 UNKNOWN
certifi 2023.7.22 Mozilla Public License 2.0 (MPL 2.0)
charset-normalizer 3.3.2 MIT License
click 8.1.7 BSD License
coloredlogs 15.0.1 MIT License
concrete-ml 1.5.0 Other/Proprietary License
concrete-python 2.6.0rc1 BSD-3-Clause
dependencies 2.0.1 BSD License
dill 0.3.8 BSD License
exceptiongroup 1.2.0 MIT License
fastapi 0.103.2 MIT License
filelock 3.13.3 The Unlicense (Unlicense)
flatbuffers 24.3.25 Apache Software License
fsspec 2024.3.1 BSD License
gitdb 4.0.11 BSD License
h11 0.14.0 MIT License
huggingface-hub 0.22.2 Apache Software License
humanfriendly 10.0 MIT License
hummingbird-ml 0.4.8 MIT License
idna 3.6 BSD License
importlib_resources 6.4.0 Apache Software License
iniconfig 2.0.0 MIT License
jmespath 1.0.1 MIT License
joblib 1.4.0 BSD License
jsonpickle 3.0.3 BSD License
mpmath 1.3.0 BSD License
networkx 3.1 BSD License
numpy 1.23.5 BSD License
onnx 1.13.1 Apache License v2.0
onnxconverter-common 1.13.0 MIT License
onnxmltools 1.11.0 Apache Software License
onnxoptimizer 0.3.10 Apache License v2.0
onnxruntime 1.13.1 MIT License
packaging 24.0 Apache Software License; BSD License
pandas 2.0.3 BSD License
pluggy 1.4.0 MIT License
protobuf 3.20.3 BSD-3-Clause
psutil 5.9.8 BSD License
pydantic 1.10.15 MIT License
pytest 7.4.1 MIT License
pytest-json-report 1.5.0 MIT
pytest-metadata 3.1.1 Mozilla Public License 2.0 (MPL 2.0)
python-dateutil 2.9.0.post0 Apache Software License; BSD License
pytz 2024.1 MIT License
regex 2023.12.25 Apache Software License
requests 2.31.0 Apache Software License
s3transfer 0.10.1 Apache Software License
safetensors 0.4.2 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
smmap 5.0.1 BSD License
sniffio 1.3.1 Apache Software License; MIT License
starlette 0.27.0 BSD License
sympy 1.12 BSD License
tabulate 0.8.10 MIT License
threadpoolctl 3.4.0 BSD License
tokenizers 0.15.2 Apache Software License
tomli 2.0.1 MIT License
torch 1.13.1 BSD License
tqdm 4.66.2 MIT License; Mozilla Public License 2.0 (MPL 2.0)
transformers 4.39.3 Apache Software License
typing_extensions 4.5.0 Python Software Foundation License
tzdata 2024.1 Apache Software License
urllib3 1.26.18 MIT License
uvicorn 0.21.1 BSD License
xgboost 1.6.2 Apache Software License
z3-solver 4.13.0.0 MIT License
zipp 3.18.1 MIT License
Name Version License
GitPython 3.1.41 BSD License
PyYAML 6.0.1 MIT License
anyio 3.7.1 MIT License
boto3 1.34.80 Apache Software License
botocore 1.34.80 Apache Software License
certifi 2023.7.22 Mozilla Public License 2.0 (MPL 2.0)
charset-normalizer 3.3.2 MIT License
click 8.1.7 BSD License
coloredlogs 15.0.1 MIT License
concrete-ml 1.5.0 Other/Proprietary License
concrete-python 2.6.0rc1 BSD-3-Clause
dependencies 2.0.1 BSD License
dill 0.3.8 BSD License
exceptiongroup 1.2.0 MIT License
fastapi 0.103.2 MIT License
filelock 3.13.3 The Unlicense (Unlicense)
flatbuffers 24.3.25 Apache Software License
fsspec 2024.3.1 BSD License
gitdb 4.0.11 BSD License
h11 0.14.0 MIT License
huggingface-hub 0.22.2 Apache Software License
humanfriendly 10.0 MIT License
hummingbird-ml 0.4.8 MIT License
idna 3.6 BSD License
importlib_resources 6.4.0 Apache Software License
iniconfig 2.0.0 MIT License
jmespath 1.0.1 MIT License
joblib 1.4.0 BSD License
jsonpickle 3.0.3 BSD License
mpmath 1.3.0 BSD License
networkx 3.1 BSD License
numpy 1.23.5 BSD License
onnx 1.13.1 Apache License v2.0
onnxconverter-common 1.13.0 MIT License
onnxmltools 1.11.0 Apache Software License
onnxoptimizer 0.3.10 Apache License v2.0
onnxruntime 1.13.1 MIT License
packaging 24.0 Apache Software License; BSD License
pandas 2.0.3 BSD License
pluggy 1.4.0 MIT License
protobuf 3.20.3 BSD-3-Clause
psutil 5.9.8 BSD License
pydantic 1.10.15 MIT License
pytest 7.4.1 MIT License
pytest-json-report 1.5.0 MIT
pytest-metadata 3.1.1 Mozilla Public License 2.0 (MPL 2.0)
python-dateutil 2.9.0.post0 Apache Software License; BSD License
pytz 2024.1 MIT License
regex 2023.12.25 Apache Software License
requests 2.31.0 Apache Software License
s3transfer 0.10.1 Apache Software License
safetensors 0.4.2 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
smmap 5.0.1 BSD License
sniffio 1.3.1 Apache Software License; MIT License
starlette 0.27.0 BSD License
sympy 1.12 BSD License
tabulate 0.8.10 MIT License
threadpoolctl 3.4.0 BSD License
tokenizers 0.15.2 Apache Software License
tomli 2.0.1 MIT License
torch 1.13.1 BSD License
tqdm 4.66.2 MIT License; Mozilla Public License 2.0 (MPL 2.0)
transformers 4.39.3 Apache Software License
typing_extensions 4.5.0 Python Software Foundation License
tzdata 2024.1 Apache Software License
urllib3 1.26.18 MIT License
uvicorn 0.21.1 BSD License
xgboost 1.6.2 Apache Software License
z3-solver 4.13.0.0 MIT License
zipp 3.18.1 MIT License
End of license script

</details>

@bcm-at-zama
Copy link
Collaborator Author

If the build is green, I would say: ready to go.

@bcm-at-zama bcm-at-zama marked this pull request as ready for review April 16, 2024 13:37
Copy link
Collaborator

@RomanBredehoft RomanBredehoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks !

@bcm-at-zama bcm-at-zama merged commit 422c84e into main Apr 16, 2024
13 checks passed
@bcm-at-zama bcm-at-zama deleted the fix_installation_issues_on_intel_mac_other_python branch April 16, 2024 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants