Skip to main content

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:

  1. 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

llm_serving-0.0.4.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llm_serving-0.0.4-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file llm_serving-0.0.4.tar.gz.

File metadata

  • Download URL: llm_serving-0.0.4.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for llm_serving-0.0.4.tar.gz
Algorithm Hash digest
SHA256 6e9520ffab21118953ab94cd56bc8a590f3c892a3eef9478aaf760875abe7fca
MD5 fb3437f49641dcc6bf751a2fb7b23b88
BLAKE2b-256 d5701f748f18ecd951f7c7b6fa201cb20fe8878873c49946a03a8d3a4476ad8b

See more details on using hashes here.

File details

Details for the file llm_serving-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: llm_serving-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for llm_serving-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 93a3c248aa920a66926d6ca83bdb6a15b2221d30460a6ab08514b73ab0a87960
MD5 513adbf338458f0d7468a93d06ab7f9b
BLAKE2b-256 42fa04e79ef2d97b80fe8a5d397b8c33856006aad8ab1612cca2b369d2fda8ad

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page