LocalAI/backend/python
Ettore Di Giacinto 718a5d4a9e
fix(transformers*): add sentence-transformers and transformers-musicgen tests, fix musicgen wrapper (#1420)
* tests: add sentence-transformers and transformers-musicgen

Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>

* fix: tranformers-musicgen conda env

Initialize correctly the environment for the transformers-musicgen backend.

* fix(tests): transformer-musicgen tests fixups

---------

Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
2023-12-11 19:26:02 +01:00
..
autogptq Feat: new backend: transformers-musicgen (#1387) 2023-12-08 10:01:02 +01:00
bark Feat: new backend: transformers-musicgen (#1387) 2023-12-08 10:01:02 +01:00
diffusers tests: add diffusers tests (#1419) 2023-12-11 08:20:34 +01:00
exllama Feat: new backend: transformers-musicgen (#1387) 2023-12-08 10:01:02 +01:00
exllama2 exllama(v2): fix exllamav1, add exllamav2 (#1384) 2023-12-05 08:15:37 +01:00
petals Feat: new backend: transformers-musicgen (#1387) 2023-12-08 10:01:02 +01:00
sentencetransformers fix(transformers*): add sentence-transformers and transformers-musicgen tests, fix musicgen wrapper (#1420) 2023-12-11 19:26:02 +01:00
transformers tests: add diffusers tests (#1419) 2023-12-11 08:20:34 +01:00
transformers-musicgen fix(transformers*): add sentence-transformers and transformers-musicgen tests, fix musicgen wrapper (#1420) 2023-12-11 19:26:02 +01:00
vall-e-x Feat: new backend: transformers-musicgen (#1387) 2023-12-08 10:01:02 +01:00
vllm Feat: new backend: transformers-musicgen (#1387) 2023-12-08 10:01:02 +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>