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.47-cp313-cp313-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.47-cp313-cp313-manylinux_2_31_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.47-cp313-cp313-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.4.47-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.47-cp312-cp312-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.47-cp312-cp312-manylinux_2_31_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.47-cp312-cp312-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.4.47-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.47-cp311-cp311-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.47-cp311-cp311-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.47-cp311-cp311-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.4.47-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.47-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 60b64800d4ee6557c7251fd0581c7f9258de17ae6ff7fb138a7434ada77eabdf
MD5 5c90fe9b1b4de00ea4202b2145e5e701
BLAKE2b-256 21ea3b437782ee30ee20bd66f4022dad8010a6beb32ff9cfe348529770f81622

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.47-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.47-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.47-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 458acd4f426b5c8947389e3a10a8254219ecb577eefe567f64ffb92c6b086ec1
MD5 f2a9db21543ba70b89eb3f3af39c03ec
BLAKE2b-256 3fc9d8d7667eb1671395df25477ee00ec7ca4fd62af6ffa0ee0a1835489a2792

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.47-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 dce4b798d5666925b0356adfa3d199730adda2a22ff3ec49864c88d639270641
MD5 22133ed1ddd167f20c6ce86765c086e1
BLAKE2b-256 522f50d18cd35e466bf364916075afe2e1ae0ac1d2888e0b702e3370b876b7fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.47-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.47-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.47-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 222688873742c7665e8d21557ad25e0dd1fdcedc433b86e7bf1f75a4da903db0
MD5 b6a59cce66e9d24a2102d59d45be2049
BLAKE2b-256 36baf7f42942e535de3d5ce8223b7ec05ac8a25493913dd6e2ae317103ede589

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.47-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.47-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.47-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9f7f4d3ef43cb82864fdb8ed9c7b0815a363e986c752722915bd496a99aa86d7
MD5 1bf59e6cc698a8daa5af305a1bb5debb
BLAKE2b-256 fa297f19eed986e156e3cf1ab0a3aac5406f26efa47a32c747fbac5f359daf41

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.47-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.47-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.47-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 8243263ec565c4a9461c8db6ea0189d011d3c52649dc47bc1de9c4a941478fa4
MD5 c3e68bcfe36cbfda472909060e25b9dc
BLAKE2b-256 2b0873964939cb15b78a9ec0c8aa8b72869427a1cbbba2720572572064698122

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.47-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 092dddf5152e6697ffc07b43302f2949ab5d3c22d3e6774f9bf7ec2ada9b0bd5
MD5 5ae7dc3d27ba946f6bd9cdd93cd24b4a
BLAKE2b-256 019473bcde96193db3f85f60d0fcf2095931a22724e1800a76a44d9dfb12d908

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.47-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.47-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.47-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 c979c778fad66636aa9afa9c4eb9b3ba40b19e10f4e57a9ad23d7707927f5e16
MD5 30a33c05799dc0f52c9b57304848725f
BLAKE2b-256 a0c191b99b2b46ada04bcd2db9c67875ab4b831fc9c25f07f6165e4d139377d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.47-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.47-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.47-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 822ad1a18e3d638d655aa6728512a8e442875ff579ac83c5e8cabbaaa57943b8
MD5 a739bb5f7caff7047fdf277a8646f50b
BLAKE2b-256 a2c84da1a87f758ae28ec31053101369a338b06c418fb54a046d1e45804ffeef

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.47-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.47-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.47-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 1d0e557d2ddb2e7e574684dd5e2638245666c91d910eaea089536010cdd2ef0f
MD5 cd41037840843bb0bf7f7d97872f0355
BLAKE2b-256 ea80d44b3d8b088a0bc0b19891e4b0d8bd785049cfadfb5aed7222e6f37bd217

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.47-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 59bc48e48b32f126a428007806042ea9d046bf55b7c9c6ca2bf2f3148a4329db
MD5 1572188cbd8dac3d69336702c9817955
BLAKE2b-256 cf878703b3ef82706f87e6ee2a8500f0b3be0035bfa1eb0b37f5016bbd4d3f97

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.47-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.47-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.47-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 9c49d7a315fc9c0f2129042ad739704d92da9fe44f7b3097a1f8419110d10222
MD5 57d614847aa953c150017fbac0450f10
BLAKE2b-256 26d63785e2856eede16b24ac8fc20e11a91157e5bfad2edf2adde44443184128

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.47-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