Skip to main content

A library containing components related to model inferences in Gen AI applications.

Project description

GLLM Inference

Description

A library containing components related to model inferences in Gen AI applications.

Installation

Prerequisites

1. Installation from Artifact Registry

Choose one of the following methods to install the package:

Using pip

pip install gllm-inference-binary

Using Poetry

poetry add gllm-inference-binary

2. Development Installation (Git)

For development purposes, you can install directly from the Git repository:

poetry add "git+ssh://git@github.com/GDP-ADMIN/gen-ai-internal.git#subdirectory=libs/gllm-inference"

Available extras:

  • anthropic: Install Anthropic models dependencies
  • google-genai: Install Google Generative AI models dependencies
  • google-vertexai: Install Google Vertex AI models dependencies
  • huggingface: Install HuggingFace models dependencies
  • openai: Install OpenAI models dependencies
  • twelvelabs: Install TwelveLabs models dependencies

Managing Dependencies

  1. Go to root folder of gllm-inference module, e.g. cd libs/gllm-inference.
  2. Run poetry shell to create a virtual environment.
  3. Run poetry lock to create a lock file if you haven't done it yet.
  4. Run poetry install to install the gllm-inference requirements for the first time.
  5. Run poetry update if you update any dependency module version at pyproject.toml.

Contributing

Please refer to this Python Style Guide to get information about code style, documentation standard, and SCA that you need to use when contributing to this project

  1. Activate pre-commit hooks using pre-commit install
  2. Run poetry shell to create a virtual environment.
  3. Run poetry lock to create a lock file if you haven't done it yet.
  4. Run poetry install to install the gllm-inference requirements for the first time.
  5. Run which python to get the path to be referenced at Visual Studio Code interpreter path (Ctrl+Shift+P or Cmd+Shift+P)
  6. Try running the unit test to see if it's working:
poetry run pytest -s tests/unit_tests/

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

gllm_inference_binary-0.4.30-cp313-cp313-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.30-cp313-cp313-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.30-cp313-cp313-macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.4.30-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.30-cp312-cp312-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.30-cp312-cp312-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.30-cp312-cp312-macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.4.30-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.30-cp311-cp311-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.30-cp311-cp311-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.30-cp311-cp311-macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.4.30-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

Details for the file gllm_inference_binary-0.4.30-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.30-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 9866414a5e7fbc8429e80af59454ea80c300377c7a6b5b890f9980e59ffafe19
MD5 fe10cabc66eba8b329f6132c08ee1547
BLAKE2b-256 312709b9eab05aa0be7019f2a4a66d1c067015ef378b597fa6c2635489657b72

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.30-cp313-cp313-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_inference_binary-0.4.30-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.30-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e06da81e30996bb7280ee73f09c0171a975eaca7abf083f26bdec243c1e3b778
MD5 a9a11b9fedd00fee6efefa1b10d0feee
BLAKE2b-256 0c4fb2ec5f085b20c78927375a280059d8a12f2cb35e2d9354101a49299e2399

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.4.30-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.30-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a2dabeee0d8237c70e82f613edca605acc771d878ae7e5f315f710b36054efc8
MD5 0062f64ddb9212e6f2a88938e972bea3
BLAKE2b-256 41b0e1270c0afcce3227a24aa98f6cdacd1b3fe0995baa8632a58c8e7b324543

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.30-cp313-cp313-macosx_13_0_x86_64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_inference_binary-0.4.30-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.30-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 3a324c57a4efe42f4ac77ddc1dada0e80bf382b36a6811d36dfe222651023a3e
MD5 eaf467457f10ba96281769a5e9e13256
BLAKE2b-256 bcfe92662b4e1d09deca80e3818e36731e5bf8621674a8085e7a6837d267962a

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.30-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_inference_binary-0.4.30-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.30-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 75a1be42cf471d8b80a704c4be9306c0e03d98b2189461654bc5ae6e12fa6765
MD5 81dfe5a40fb269ecd7b891d8c37f39a0
BLAKE2b-256 b652879bc07d0a2d5463ebc64988dc7ce76036d92e2e6770302ba89d8b46bcd3

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.30-cp312-cp312-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_inference_binary-0.4.30-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.30-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 43add2e61843dfe4ee2213fb2bac587d5da80a76d1da8324ae35630fbcca155d
MD5 e67864be367bd86faa2d8c82c2e700af
BLAKE2b-256 fb906ae59ad2552d42a0bf7bb636a97a4abbac6738f69b5b5a1e10e4df56fbb2

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.4.30-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.30-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a9f1653286bf2c8644db682cb8b933ab0a7cdee5255dba108decc9e7585e6bbf
MD5 9b602add7bbefd5c634f15062bee86e7
BLAKE2b-256 6518ffde040cf77a738d01d2084093fd76b869afe702315f7a0022bc1ca7d8f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.30-cp312-cp312-macosx_13_0_x86_64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_inference_binary-0.4.30-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.30-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 4844345944a450143771f4f22a7f171ea5753475b4dfe43183a59dcb1fe9ca16
MD5 4e58e6ca6578a76308c6bd825de08a55
BLAKE2b-256 4362759be40437655a2164b65477daec1f0a6e5bd767cb9b8f0b2ee5b2f619ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.30-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_inference_binary-0.4.30-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.30-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 292c31a268c9d92ba0cce81a1791f0396cb3a5ad3134915ea15d4b0b7054c93d
MD5 0e2112527e5703d576acad179726afd7
BLAKE2b-256 e2d3595ba347cc9272375eb6a2e8627d933c45cf15c0d4ca0c0da3c703af9ecf

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.30-cp311-cp311-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_inference_binary-0.4.30-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.30-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 1f9b1509c1d887dfc983522d5ec5cb78ae467bdcff13244f3aacbe2b6e08654b
MD5 2a5f8ef9929d04f071c698343420f95d
BLAKE2b-256 f2b3077e7a6bc231b42f39acc8152c68ce31b5642eaca79c8c97e524b28e6701

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.4.30-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.30-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7819e2413fcc4da6dbd88916d6ae315e7b25b7330fd000f78b8e380d16acb6bb
MD5 4442ee4d406cbe2629cfc67ed93d63a1
BLAKE2b-256 cfd681a04bc3d4e7ec135a540ca2db88a7d790a572603a499c3882f5b1b21597

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.30-cp311-cp311-macosx_13_0_x86_64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_inference_binary-0.4.30-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.30-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 eba7ec818e30e388fd90928235d82b6b981d91e8f6f43bb559f8e8534e261c3e
MD5 5ed075dc2b3edbfa0ef628a89f701051
BLAKE2b-256 72558ab1e96cb8fff13a9b055629f2c4b1214b47751daa1871218917c3b0e6eb

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.30-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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