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.4b2-cp313-cp313-win_amd64.whl (839.9 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.3.4b2-cp313-cp313-manylinux_2_31_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.3.4b2-cp313-cp313-macosx_14_0_arm64.whl (927.5 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

gllm_inference_binary-0.3.4b2-cp313-cp313-macosx_13_0_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.3.4b2-cp312-cp312-win_amd64.whl (842.2 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.3.4b2-cp312-cp312-manylinux_2_31_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.3.4b2-cp312-cp312-macosx_14_0_arm64.whl (923.2 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

gllm_inference_binary-0.3.4b2-cp312-cp312-macosx_13_0_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.3.4b2-cp311-cp311-win_amd64.whl (849.9 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.3.4b2-cp311-cp311-manylinux_2_31_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.3.4b2-cp311-cp311-macosx_14_0_arm64.whl (912.7 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

gllm_inference_binary-0.3.4b2-cp311-cp311-macosx_13_0_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

File details

Details for the file gllm_inference_binary-0.3.4b2-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.4b2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 bbf3d2bd1480c0fa61d74cb15e70ffa468f384fdb7fba1ff11b56eb914954a4b
MD5 d71b3b2aaa0e293b7bd4316e5e7a2b77
BLAKE2b-256 6e15e7bde9310f48df39ddf3cac0f8658f08e9142ba03baab457999e8da5cd5f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.4b2-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 74f74d9a1403ae6b696c60daa7475afdc097082f2cee9a5bdeb377280c38f9ca
MD5 3662228a05a8c3ab53bfaa7098c128b3
BLAKE2b-256 2492eefcf7a78d2f918f970b3c8efcffa72aea5d1bb2f3ec0bfae794216a043e

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.4b2-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.4b2-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 15b5cc23ac63310916411d38c8e2927f0b2cb73fefe4047b4dda92eb746a025f
MD5 7088222d27c2a7045f040c84fb108b3e
BLAKE2b-256 be877317ff8e4ed2beaa55b0214dbf350bdc0d2673372f34d215b471dd6baeb9

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.4b2-cp313-cp313-macosx_14_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.4b2-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.4b2-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 22968388ddb50196c1ec58fbfde274b9830a754b1609150e77d61b6dfda96b48
MD5 e71d5ea9244460f1ded0f11a622a55fd
BLAKE2b-256 da92f19b34ab8ad749760df3d563b2ce6530ee20d7306c5637562bc66e9ab811

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.4b2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 410ca09106075e381e1fe0d1d3830fe2e30bd84fbbe0d23753a5e2ec2124445b
MD5 3cfac26dce52ba487234b15eed342742
BLAKE2b-256 855e32486045f1e15fc7d2e14f221c6da47283332cb8b3710492506fd462b906

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.4b2-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 8ce02d91f827ed94774a50f209d57600736f5e36dcd5f2950537ddc37d6059ac
MD5 3065ee3cc9c6febe2650c87535091260
BLAKE2b-256 fce6c5c170c72fcaa203a45d24215105231bf1f1052cced94b6e98d31f2ed9fd

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.4b2-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.4b2-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 fcaabb7168fcf4311ceaec40ae175559aadaabf3c7136e6148a90a9cabe948d9
MD5 5a8727daa45c6ef6bddf093235d61f6e
BLAKE2b-256 ab9d5173f9aaa6b42a454531fdeb9364072aa9c85ebfd00a41025e2c98513547

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.4b2-cp312-cp312-macosx_14_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.4b2-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.4b2-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a6c64e778900e202a8d3a0654e34664be0939d1b9e301e968ac0efe6eb827cfb
MD5 d91958f71d74299e9834fd62df8fab85
BLAKE2b-256 707acf67e978f057b67929d5c51750ebf44281ed90f041d0087ebdbbb69ef5be

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.4b2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b6ad50398d639f1f2121277f53b652afc5e8d547f4057c042558dc630dc97f88
MD5 0b7b8f90d3572b1434bb161df3d07085
BLAKE2b-256 cdd67ca18f91bc4f56adc9c7c70c81f359d5f6a6b6abd7c5a245da5522e4af01

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.4b2-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 424d705e9de7202fb44e5aed41c3d389cdd3b485e69fa8ddeab9a5682289c40b
MD5 8d57aca096294c6a9cb263de95f98268
BLAKE2b-256 9e785cb00d76c5dff4bddc9940160d3f15dae30125617b350cd9a63cbcb1044d

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.4b2-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.4b2-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e57969f40b3ba24407c5af3c95b6f2f77da507f613deafd226a22e97db8bde8d
MD5 0813dac4c06fbfa83ee39155bcb6e94a
BLAKE2b-256 e7d17dcba821e1d1ad9e6817f1208d518a53c19efb6c8727f4166651afa4e830

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.4b2-cp311-cp311-macosx_14_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.4b2-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.4b2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 186d4268e2d2ab2e677b79850c57378ac8a56d11a01680814992fb078c736d9a
MD5 6094c07a00c78773526d32800581f1bb
BLAKE2b-256 43d3a2a6cc501e7071714589b5deb57eaca9123e8e8633b8b530ce236a7b53a1

See more details on using hashes here.

Provenance

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

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