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.3.11-cp313-cp313-win_amd64.whl (947.8 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.3.11-cp313-cp313-manylinux_2_36_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.36+ x86-64

gllm_inference_binary-0.3.11-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64macOS 15.0+ x86-64

gllm_inference_binary-0.3.11-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (982.5 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.3.11-cp312-cp312-win_amd64.whl (951.5 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.3.11-cp312-cp312-manylinux_2_36_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.36+ x86-64

gllm_inference_binary-0.3.11-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64macOS 15.0+ x86-64

gllm_inference_binary-0.3.11-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (976.6 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.3.11-cp311-cp311-win_amd64.whl (962.7 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.3.11-cp311-cp311-manylinux_2_36_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.36+ x86-64

gllm_inference_binary-0.3.11-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64macOS 15.0+ x86-64

gllm_inference_binary-0.3.11-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (964.0 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.11-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 b1114275d8aa22e59b4f31f1a6b10fe9e21292390b3e4fc9e29e99d78262a7f6
MD5 1fae75016a71ad47fa6f769ab5a9106c
BLAKE2b-256 14a9bc025d3e2cb752c40894a2a4b1f575cd0e7927d3ee1ef033e5e71bfd9520

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.11-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.3.11-cp313-cp313-manylinux_2_36_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.11-cp313-cp313-manylinux_2_36_x86_64.whl
Algorithm Hash digest
SHA256 86505da3fbf124cb02449bc9d6bbb63d7446a845858691e2200743958e7d06bd
MD5 95c2ddda767f05e029ba3a793992564a
BLAKE2b-256 b47f08441739049350fe6aae0f577c8a4e7eb80c4fc5be995b1a8f02a6cab5d1

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.11-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.11-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 8a90e1495e8ea64e39949bbcf9ee874d7db978ee4dd4da4390aee3e8acefa566
MD5 cf9fd39814c6183ad78e26d3570b5868
BLAKE2b-256 c0616f8ec59757571ad1b8fccf50f6a0a976691ca90dde2e288ad4ad8cc9ef1f

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.11-cp313-cp313-macosx_13_0_x86_64.macosx_15_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.3.11-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.11-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 dcc6c7cdc930085cdc0ddc333109d21fa7943844332f8bde880ba33cb55b8b07
MD5 9591bd7cdb2a0011d2fcbff5ce542829
BLAKE2b-256 43e67981597a32f782f545e272f83cee4a1ae83029a7e0a415904a83921510eb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.11-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 279bfb86e42c31406271087434d7eccea62b2222ccf14b5a7ee750707e63f288
MD5 6f592f988de951249b55d466a3973565
BLAKE2b-256 f440e960e4847ac10d2183030586a77e14c196fb3e2b4789897ce81b5b0dc1cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.11-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.3.11-cp312-cp312-manylinux_2_36_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.11-cp312-cp312-manylinux_2_36_x86_64.whl
Algorithm Hash digest
SHA256 b64c307c6809a6c05a2dbe39bbaa8e5f2cb8e083b372ff50a3d4b58164a54257
MD5 83ddc95a25683f48415a2637ad25bdfe
BLAKE2b-256 4b8fda8162731796b38d5c4337c60e199084ac45e770ee1a36eaefe6b3115432

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.11-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.11-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 5c15cb1641f46d52a9c2d874eeb8b922276e157280697390b4fb4cf253a9824b
MD5 a13af306bf1b1b210825db97edc8939b
BLAKE2b-256 3ef8651f99fb8c4de444ee73c288587ef009f5fa472cad0bb413d4fb620a1e28

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.11-cp312-cp312-macosx_13_0_x86_64.macosx_15_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.3.11-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.11-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 d3110f887f008cb038a3850b02110b223b9c2103fc48b15d3c4adbe69ecd07d3
MD5 ff043dee4f592033dc83326aff05556e
BLAKE2b-256 d9bc091ea35ffb37e8fe38a317449434fa4b29294b09d3f10b7889bd78a3bddc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.11-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8348cd20dbea4447c0ad855b87ab3bc9b4577ba3854fcf288f4eafbb00acac31
MD5 45f56314c4ec7977fff69f276c3135c7
BLAKE2b-256 ecc8bb16598c1f8317dfa7b35ca3238b5d6b0fd4383944d2a5b9d4d78f811665

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.11-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.3.11-cp311-cp311-manylinux_2_36_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.11-cp311-cp311-manylinux_2_36_x86_64.whl
Algorithm Hash digest
SHA256 3ee684a7234c06843a75e2bed11b26c344186d18e0639da10b1f71cc6c028550
MD5 4b85a596ca1722b29ad3ef10151afb88
BLAKE2b-256 effc01c81367d90804dcd43cd44b95b2ed2264f992720d81b520097e7c50e84f

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.11-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.11-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 60fa735748145cc027f2976265239037f6dbced7766a5486abe9fa4a435466a5
MD5 c18c7ea4aed280f10414f450b4695afe
BLAKE2b-256 aa1786d1d13ad9bd9bab872eda5e62c09cd2c7ed2c83623a412cf6dbb87f3419

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.11-cp311-cp311-macosx_13_0_x86_64.macosx_15_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.3.11-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.11-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 8c65b01ac45349d20880509fdf8a114c5fff2a1075f0d67b4de7ab706ae99cdc
MD5 18d8fcd7debd7e00531cd9da9e87023e
BLAKE2b-256 34051abb1e69652dbcf7cfc8e511a97c7493fbc35976db460a9a0f161be475f0

See more details on using hashes here.

Provenance

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