LocalAI/backend/python
Ettore Di Giacinto a1aa6cb7c2
fix(entrypoint): cd to backend dir before start (#1530)
Certain backends as vall-e-x are not meant to be used as a library, so
we want to start the process in the same folder where the backend and
all the assets are fixes #1394
2024-01-01 22:02:48 +01:00
..
autogptq feat(diffusers): update, add autopipeline, controlnet (#1432) 2023-12-13 19:20:22 +01:00
bark feat(conda): share envs with transformer-based backends (#1465) 2023-12-21 08:35:15 +01:00
common-env/transformers feat: add 🐸 coqui (#1489) 2023-12-24 19:38:54 +01:00
coqui feat: add 🐸 coqui (#1489) 2023-12-24 19:38:54 +01:00
diffusers fix: guidance_scale not work in sd (#1488) 2023-12-24 19:24:52 +01:00
exllama fix(entrypoint): cd to backend dir before start (#1530) 2024-01-01 22:02:48 +01:00
exllama2 fix(entrypoint): cd to backend dir before start (#1530) 2024-01-01 22:02:48 +01:00
petals feat(conda): share envs with transformer-based backends (#1465) 2023-12-21 08:35:15 +01:00
sentencetransformers feat(conda): share envs with transformer-based backends (#1465) 2023-12-21 08:35:15 +01:00
transformers feat(conda): share envs with transformer-based backends (#1465) 2023-12-21 08:35:15 +01:00
transformers-musicgen feat(conda): share envs with transformer-based backends (#1465) 2023-12-21 08:35:15 +01:00
vall-e-x fix(entrypoint): cd to backend dir before start (#1530) 2024-01-01 22:02:48 +01:00
vllm feat(conda): share envs with transformer-based backends (#1465) 2023-12-21 08:35:15 +01:00
README.md refactor: move backends into the backends directory (#1279) 2023-11-13 22:40:16 +01:00

Common commands about conda environment

Create a new empty conda environment

conda create --name <env-name> python=<your version> -y

conda create --name autogptq python=3.11 -y

To activate the environment

As of conda 4.4

conda activate autogptq

The conda version older than 4.4

source activate autogptq

Install the packages to your environment

Sometimes you need to install the packages from the conda-forge channel

By using conda

conda install <your-package-name>

conda install -c conda-forge <your package-name>

Or by using pip

pip install <your-package-name>