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.2.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.2-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for llm_serving-0.0.2.tar.gz
Algorithm Hash digest
SHA256 3ebe6f7ccd07c97cee83c599ec8e7f616499e6defd76316d31e3128fd553bd73
MD5 281e879c1b01a3fc01e3883e6c109ca2
BLAKE2b-256 4269a070bf8b73b3fad2eadbd630cfdfffc570f391c1414963152680c66c873b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llm_serving-0.0.2-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.3

File hashes

Hashes for llm_serving-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 45387be6510a2043e9d00ae4523e51f0dd579a9c60bb193540a58d60c15171f9
MD5 06a1ceccd008290513cc3ab525a9a486
BLAKE2b-256 8a2a0660cb759e455763b6f715cb6fe5e2cb66115d88150c60c8ee94cde31440

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