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

docs(frontend): update links to zama pypi #910

Merged
merged 1 commit into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ci/scripts/test_cml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ echo "Installing CP version"

if [ "$CP_VERSION" == "last" ]
then
poetry run python -m pip install -U --index-url https://pypi.zama.ai --pre "concrete-python"
poetry run python -m pip install -U --index-url https://pypi.zama.ai/cpu/ --pre "concrete-python"
elif [ "$CP_VERSION" == "wheel" ]
then
poetry run python -m pip install ${WHEEL}
Expand All @@ -191,7 +191,7 @@ then
echo "That must be some: pip -e ."
exit 255
else
poetry run python -m pip install -U --index-url https://pypi.zama.ai --pre "concrete-python==${CP_VERSION}"
poetry run python -m pip install -U --index-url https://pypi.zama.ai/cpu/ --pre "concrete-python==${CP_VERSION}"
fi

INSTALLED_CP=`pip freeze | grep "concrete-python"`
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.concrete-python
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ ARG version
# provide the `ld` binary required by the compiler
RUN apt update && apt install -y binutils graphviz

RUN pip install --no-cache-dir --extra-index-url https://download.pytorch.org/whl/cpu --extra-index-url https://pypi.zama.ai concrete-python==${version}
RUN pip install --no-cache-dir --extra-index-url https://download.pytorch.org/whl/cpu --extra-index-url https://pypi.zama.ai/cpu/ concrete-python==${version}
2 changes: 1 addition & 1 deletion docs/compilation/common_errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ In this document, we list the most common errors, and mention how the user can f
**Possible solutions**:
- Be sure that you use a supported Python version (currently from 3.8 to 3.11, included)
- Check you have done `pip install -U pip wheel setuptools` before
- Consider adding a `--extra-index-url https://pypi.zama.ai`
- Consider adding a `--extra-index-url https://pypi.zama.ai/cpu/`
- Concrete requires glibc>=2.28, be sure to have a sufficiently recent version

## 2. Only integers are supported
Expand Down
2 changes: 1 addition & 1 deletion docs/get-started/installing.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pip install -U pip wheel setuptools
pip install concrete-python
```
{% hint style="info" %}
Not all versions are available on PyPI. If you need a version that is not on PyPI (including nightly releases), you can install it from our package index by adding `--extra-index-url https://pypi.zama.ai`.
Not all versions are available on PyPI. If you need a version that is not on PyPI (including nightly releases), you can install it from our package index by adding `--extra-index-url https://pypi.zama.ai/cpu/`. GPU wheels are also available under `https://pypi.zama.ai/gpu/` (check `https://pypi.zama.ai/` for all available platforms).
{% endhint %}

To enable all the optional features, install the `full` version of **Concrete**:
Expand Down
2 changes: 1 addition & 1 deletion frontends/concrete-python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ End-users should install `concrete-python` using `pip`:
pip install concrete-python
```

**Note:** Not all versions are available on PyPI. If you need a version that is not on PyPI (including nightly releases), you can install it from our package index by adding `--extra-index-url https://pypi.zama.ai`.
**Note:** Not all versions are available on PyPI. If you need a version that is not on PyPI (including nightly releases), you can install it from our package index by adding `--extra-index-url https://pypi.zama.ai/cpu/`. GPU wheels are also available under `https://pypi.zama.ai/gpu/` (check `https://pypi.zama.ai/` for all available platforms).

## Setup for development

Expand Down
Loading