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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.21-cp313-cp313-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.21-cp313-cp313-macosx_13_0_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.4.21-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.4.21-cp312-cp312-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.21-cp312-cp312-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.21-cp312-cp312-macosx_13_0_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.4.21-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.4.21-cp311-cp311-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.21-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.4.21-cp311-cp311-macosx_13_0_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.4.21-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.21-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.21-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 3cff7efeeaf875b84ac30294e0c82bf639fca9fd6c2fb9a51410df40bf91077d
MD5 0555792bafe5f65a23135e3c773a0e24
BLAKE2b-256 4587fd3227ff82723fb671b07b97ed6e9a320e3acaf2ec675e3d9401fa84372e

See more details on using hashes here.

Provenance

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

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.21-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.21-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 7609e8d350b4346b5965ab015609ef97d49c82b21c524617d647454613383dd9
MD5 eb1a3b3edda3b64897019ede37a61a73
BLAKE2b-256 767922a5eac3ffbd92098cf41e6e27e09523a6e0f434ec4978584c30e0825c3c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.21-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d875316a2bab63c5eac79f1c6a9ad58d523c21e9ed99c6143be335f1f81bd4cb
MD5 7b0cfc5cc177ca733bafcb801d20f152
BLAKE2b-256 144f371106f7699696d7e7d7f25786bee0ab3b6bac5dbcf1f891eb7643d9db07

See more details on using hashes here.

Provenance

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

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.21-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.21-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 f020d7d42f0b082015a43fe91c6ca92fc58b8091de94ea4ed666167289db64bd
MD5 89647f0f16f0214b91f3335722c917a3
BLAKE2b-256 24edfc91a4e36611a025184f77ff7a76029d8d77baf0c0088a9f3c3ff7566700

See more details on using hashes here.

Provenance

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

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.21-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.21-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5d4c76cd7f07cb78f41720384ac278d81a544334af7c1d8d141008370d0ccb6c
MD5 2e0ed6d502dc4587d832dee6617b80de
BLAKE2b-256 1bdf0eb9f2bfb0b8a88c61b137c52d001eaa7f61e226217ec99f6ebcbe67a35d

See more details on using hashes here.

Provenance

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

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.21-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.21-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 5e944215e07f911b7f4e2d079d5fac0997ff71539c32f195aff13eab263ad62f
MD5 69bb5f8798ce21e91ca3100d21dbde86
BLAKE2b-256 6d3177952d934281ca709364df31fd904619ef2622279647cc3bda9e4a4e8fdc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.21-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2218cc8ea04b61c16572dbe1fd79d5bc688c285695847d4626f285ebd73cbf9b
MD5 fbe949e77967f1d07e11e2c8f99279ac
BLAKE2b-256 33947aceccda7082be3712e86f76630b239a911e066f7856897bf2f507db60b8

See more details on using hashes here.

Provenance

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

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.21-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.21-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 4347f7aa2300aa5929e1c5d9b9cdbd8dd6613758af348f0728fd284439eab282
MD5 bbbeee267aa3348371ebd6060e2b86aa
BLAKE2b-256 02bc51f553a51c1aa7da323e4187c826263a5548098d5b15a9742d3298eb7ded

See more details on using hashes here.

Provenance

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

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.21-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.21-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a29717d5ba3a279c7a48c8ec7274d06d8a6b980834c45907375ffeec498c69e5
MD5 aedf1f5b2728ddbd68c53ca2aaafe1b1
BLAKE2b-256 2203ed43c4bf3a7d49d8e74a68b9c7e2580856844831ff333e7d2f05bf28f710

See more details on using hashes here.

Provenance

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

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.21-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.21-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e5dea4281333f55f91fc81845b927dd178e7dfa7375a05ce928be960591ed3a1
MD5 925fc04f64a1a35189fa745ea2e90877
BLAKE2b-256 45b49d4bfa5349b6be95cda462b9a06ff35d49f63f72e7081dce967e5b031943

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.21-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 bda715818361c862685b5cc257626bdc31fc0262c8102a9fd992aeafeabdb32b
MD5 397af5318aeca690ebc9c5fe8e86d2b9
BLAKE2b-256 f1a7e152109c3fa188e2fe9a523fe8bdcd8705e124c117f4c23ccf63fa1157c8

See more details on using hashes here.

Provenance

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

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.21-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.21-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 6c87d2d005412cf1c42afd163b3b3a614dce2b74419d44a1e0df3dec81ed5e43
MD5 7b5171963e9a40cdd958025beb575e3a
BLAKE2b-256 c242e1a5248798e974becafdb36e08f3014b65a0128cc0935d88ef38a6b6532b

See more details on using hashes here.

Provenance

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

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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