Skip to content

Commit

Permalink
Mention we need to force python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
bcm-at-zama committed Apr 16, 2024
1 parent 87fa71d commit 25969fd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fhe-endpoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,14 @@ export HF_TOKEN=[your token hf_XX..XX]
Lastly, your user machines need to have Concrete ML installed locally: Make a virtual environment, source it, and install the necessary dependencies:
```bash
python3.9 -m venv .venv
python3.10 -m venv .venv
pip install -U setuptools pip wheel
source .venv/bin/activate
pip install -r requirements.txt
```
> [!NOTE] Remark that we currently force the use of python3.10 (which is also the default python version used in Hugging Face Endpoints). This is because our files for development currently are dependant of python version. We are working on making them independant, this should be available in a further version.
### Running inferences
Now, your users can run inference on the Endpoint launching the script:
Expand Down

0 comments on commit 25969fd

Please sign in to comment.