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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.3-cp313-cp313-manylinux_2_31_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.3-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.2 MB view details)

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

gllm_inference_binary-0.4.3-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.0 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.3-cp312-cp312-win_amd64.whl (996.2 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.3-cp312-cp312-manylinux_2_31_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.3-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.2 MB view details)

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

gllm_inference_binary-0.4.3-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.0 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.3-cp311-cp311-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.3-cp311-cp311-manylinux_2_31_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.3-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.2 MB view details)

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

gllm_inference_binary-0.4.3-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.0 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 f74d8a79623f3473d44efc696fdd389ca9d70ab111b3e7ed760b0994cea8610f
MD5 495af7bce1907cb6e48944c84ce51487
BLAKE2b-256 a30eb1a9fed6926a173954b096ae436881b2e74cccb420f0c933d2b47d66f5a8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.3-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 827318af409b879fd6330b81272a81ef90c05e79dd673e7dfa0c554076e1052e
MD5 58d66b1ee26019fc831bd5ff5aa11621
BLAKE2b-256 0c70e6198b87409488c9711beecad7a7b18dcdedea5cb6ac94c8e345bd5fbfb3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.3-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 9d75fb6408abda43d4c0cbfb1740186defe3304a9b0d6342b3e1a6d23b4ec268
MD5 87c1626bf004b8d2314c8278763153b3
BLAKE2b-256 4c9c8bb4b3f785536c6a05aebc62d88e3f68281d059c0c99e00131f23b1f4f66

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.3-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 28701fe08ae0b181d07b576bf19331d7011dbfcfedd9ca177d52d71d7820a3bc
MD5 71de946d327628066bd6b3ae27bb7cb3
BLAKE2b-256 9909f12fdeccfacdde9d09f2c071b4a0f86d929bd7ff024c8ac15b3e4f983f5a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 0bb887fdbeb65e8be6d2715f4a5ac8e5a99aadc74e38004b82b8f40e274b5118
MD5 26211c4d7bbf15d8489246ba4c8991fc
BLAKE2b-256 c09c1adb2dc9872040ade9af3c62197626c447d7f2318881e1519a5518e53cf4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.3-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 7b0a0f005003568ec9390f4e9476010888137b5532579be6142d449e6eb25ff2
MD5 a18799abe3f286f39d3aeff848235878
BLAKE2b-256 a18644d0cd9c9c369e81ad2df6702e3220a41e0052db61c7ea3ea12593d817e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.3-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 f01fac12d98100ed4b222c30bf7db7ec5c4a098800d51d079ec14e29b4c2f4ff
MD5 86f06225aa74593c5ef99ae17c3ffb0a
BLAKE2b-256 fe14a9bdf547099d7a4e75deacab341027a4a3beb767584af4bdffca14bddf54

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.3-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 930ecababa8cd7569955ef0e0bbc2289820a496255e904eacbbbb5de2465a442
MD5 c3ee5c86fa6e7e4e2e0d45353936a440
BLAKE2b-256 0ea7a73339450a0b225861348ba31e36eb6c6b4e83eadef720ca7c2ca463edc1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 69195728be23b1ca7b071a3e145ac403199984095ee5ecc17e1622d2a774403f
MD5 d00365303815df772e75fd1b80fd181c
BLAKE2b-256 f8fced067154fde5890bab30ea62a53fa1934d0c72c30c70a0edef1dd9636f16

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.3-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 880434a0f5b2d0f2abcc147da2d83e00e73c38f62579d08deb90167d86bfb04c
MD5 cfda52d0e454a814f0068cd95a348bd1
BLAKE2b-256 cb4b0672992cb44edb6baf85b632db431480500a103ac14ef634ecfa77aaa566

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.3-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 bb6aaba99ba48278df96e985e902a0ca3d719b32b437cb8b9019640915ff129f
MD5 e717d5210b55973fdd5056897eb29029
BLAKE2b-256 5ef2fc59ef7423cfeb1a6e5d6a86f1cd86a93a7b6e479bcf13246129392b105a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.3-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 59cfde1fb38be0bbfff891e2630199cdb395c2cd0010375c39cd4f01bfddc80d
MD5 12ef5693c5a9ecb913c75258b18fa01a
BLAKE2b-256 fc712c8428bb8e0d4c420561ac7bd29da789ee6e83649e7a769ad316851618b3

See more details on using hashes here.

Provenance

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