Skip to main content

LBI: LLM Batch Inference

Many LLM providers offer 50% token discounts by using batches. This project wraps each provider's batch API in a unified interface.

Publishing to PyPI

  1. Bump the version in [pyproject.toml](./pyproject.toml):

    version = "0.1.2"
    
  2. Build the package:

    uv build
    
  3. Publish package:

    uv publish
    
  4. Add tag in Git:

    git add pyproject.toml
    git commit -m "Bump version to 0.1.2"
    git tag v0.1.2
    git push origin main --tags
    

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llm_batch_inference-0.1.3.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

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

llm_batch_inference-0.1.3-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file llm_batch_inference-0.1.3.tar.gz.

File metadata

  • Download URL: llm_batch_inference-0.1.3.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for llm_batch_inference-0.1.3.tar.gz
Algorithm Hash digest
SHA256 0d353192a64849e783fe0c9c5c2c1003a2c059fbf59bd733402b5764b5e662c9
MD5 1ca6b62c7970ac50333592bad9d3f946
BLAKE2b-256 d2199ca15d405ef18a744a5fbdcfb518c2b8392e96a2fab98fe072f2a8d3284c

See more details on using hashes here.

File details

Details for the file llm_batch_inference-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: llm_batch_inference-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 20.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for llm_batch_inference-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d4acf8890db09055e5415bd5adbeea8bfffb811a859e18c56a31b3f597b1267b
MD5 dc77474292ff557cad5086d7a72b9b60
BLAKE2b-256 4a980ab970f5dd1cd5677ecdfb46a35aabcfe54ea0eef5863c9c15e61ae82b08

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 Sentry Error logging StatusPage Status page