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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.19-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.5.19-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.5.19-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.19-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.5.19-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.5.19-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.19-cp311-cp311-manylinux_2_31_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.19-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.5.19-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.5.19-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.19-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 7da3260ab0f36bda92013fbd5075f44a8e24720ae712d95ee39aa22222036896
MD5 977f7460c6daf95180c22e4758352769
BLAKE2b-256 05c369aee71c76f7073881b97c0eb93545fc729f72abf38d5fb5d4dc3c11adb5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.19-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 645d2e7a254072d37b5a7bf9dc023cea500ada8e594c12f7be5ff376f9dff525
MD5 403dbf50c0c2d63ba79d22e2dc4545a4
BLAKE2b-256 10ca46748eb558f85c882dd866e153cbd258e788c8b252b4e78c49084269473c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.19-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 aa19a85d4073c23903ebea613a6bbf7390e2de3277b5421e3e224a0107c589d4
MD5 ba0619e9fbecae78bf1b2836ef03cad2
BLAKE2b-256 ecccc16645f05258a560445ab88e0af5a7f243fdf0127f008b524031aa9f3b37

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.19-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 60ce37b85d1b5e29eea1d865ceebf4aa69bba1cb4d3308aeaa618e9bc56cca90
MD5 76161ca57404453560facd79016920f2
BLAKE2b-256 90d5f476f8326c7900796ea95ca92ee98784a7997cf692211cee2f10488d8f0e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.19-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7353e0b0abc7e434682ca164df4bf4802406cd2db963449fe32c5ef8a949951b
MD5 f4e6c37ee026f2e5a39bf87fcd61d4de
BLAKE2b-256 1f486b1d52378677178628c5b8bebda3f61caef152cb367ea753ed066f7cdfc8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.19-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 78d02451c03bd3029883b7eab99f8c11bb2413ca265e0e45047afd810e66d5a2
MD5 9ec632e0263811c2e34c2cb9cd081195
BLAKE2b-256 6db3040806a14d47b4169595023ff8d3420e92b7dfcae59f3b8861522d825bed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.19-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 222434bf0842101d004442215d72a8bf5a45cd514e6720064bae817513c2ac3e
MD5 d14f1069fcb40b6d8279adcd316316ad
BLAKE2b-256 ab51c8a597536a6fb56d9990c66ff059accf7aff6c187637dbd96c7258388308

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.19-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 ebec2c1f6e1d847bbf5d3e07e2c8a9d5222cd51d4775fbe11b871dc95ef008e2
MD5 9d0c09df3fa09408190dc61c615d307b
BLAKE2b-256 741311cfdd236e71a4732eaf79cce612dcefb70a918d722683aa0cba9b5f90b8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.19-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 73ea18a924735fe962f30bda979a6a5ed84c7fbbdf406b29243b3c684237a56f
MD5 eebcbd0c78baa7ed806c27868df62c8b
BLAKE2b-256 6e2a1f52914fb58fe5686944f6c61283fcde35d29c84c7657ecaecbb86f5a0c0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.19-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 032fca96f833a929fbde2059bfac8c88bead26b2f214f5412cb268028b740510
MD5 dcf2e71f19d472ace02548f020d87d41
BLAKE2b-256 94543d0434fc9731b3c9638833b338324ed4e18712b9a34c62b03f209a2c2fd4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.19-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 083e688f72fbbe722627fa58246a9b2ecb3fc8a8a652fff6a797fe7f4cf5bbca
MD5 dfd2bd6805e00f24a42e3232408c8540
BLAKE2b-256 51e4720fc66637608c96e326f7e5f23c51a440c110bcfe4c29d6f0049fef86e9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.19-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 3c861baafb6e594b5a2c229128e70edd3685f743baa4e05b47d0f738df65472d
MD5 a84fab62fc5204f18dbf46aeb90fa043
BLAKE2b-256 2c1b73884faf5994acb6dff387fd90388eb8813706357c8b43c74eed3e39f634

See more details on using hashes here.

Provenance

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