A package to perform LLM inference in Solenium/Unergy HQ
Project description
llm_serving_module
Esta liberÃa contiene distintos módulos para hacer inferencia de modelos de Ollama, HuggingFace y Google por medio de los servicios desplegados en el servidor local de Unergy/Solenium. El usuario debe tener configurada la conexión por medio de VPN al servidor para hacer uso de estos.
Entre algunas de las funcionalidades están:
- Servicio de inferencia a Google por medio de rotación automática: Con la función 'google_inference_request', puede hacer inferencia dando el prompt de sistema, de usuario y, opcionalmente, el formato en el que quiere recibir el resultado (un objeto que herede de BaseModel de Pydantic).
Este servicio usa como backend un sistema de colas por medio de Redis y Celery; también almacena la información de tokens en una base de datos PostgreSQL.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llm_serving-0.0.5.tar.gz.
File metadata
- Download URL: llm_serving-0.0.5.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5629a072cded41f4c8690bd4efbf96bcfd150229987243f866a414927ea392a1
|
|
| MD5 |
5569eddf9406cd96f7bbb72009364ca3
|
|
| BLAKE2b-256 |
5fde894203310d5d219a55e32dd0c0a7c5e94d011a3104d77d602b3a6f2a537c
|
File details
Details for the file llm_serving-0.0.5-py3-none-any.whl.
File metadata
- Download URL: llm_serving-0.0.5-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28f2e1f09ccbc363b8c5c49735d52d2cd035416a7124e47a2008dc2f9c119305
|
|
| MD5 |
01486fd3e9daa5d45865139139026e0c
|
|
| BLAKE2b-256 |
53c6e83a03334ba68bc17b439f76a1d828eb1322a633863bee858ed7376d40b1
|