docs(frontend): update links to zama pypi

This commit is contained in:
youben11
2024-06-24 11:39:03 +01:00
committed by Quentin Bourgerie
parent da55bb3bdb
commit 20c6427551
5 changed files with 6 additions and 6 deletions

View File

@@ -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}
@@ -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"`

View File

@@ -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}

View File

@@ -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

View File

@@ -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**:

View File

@@ -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