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.2.51-cp312-cp312-win_amd64.whl (853.7 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.2.51-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.2.51-cp312-cp312-macosx_14_0_arm64.whl (941.2 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

gllm_inference_binary-0.2.51-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.2.51-cp311-cp311-win_amd64.whl (864.5 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.2.51-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.2.51-cp311-cp311-macosx_14_0_arm64.whl (932.9 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

gllm_inference_binary-0.2.51-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.2.51-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.51-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 59bffd1d30a1dd30f3a96d6d514dc21b75c4d5ee0e49e455d4e3915ef4e34d9d
MD5 17b02e5e148500d1760372bb0b9095fb
BLAKE2b-256 52420b6baedd93d439343a05591d52776b1d30bfc9a7717f620a9580510ca11a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.51-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e4a3606af4a35e6bfaf3d93d85a9265c5bb1ae8806b5a5a63adfd8d9366313c8
MD5 aae18eb987e3e4464f529bb786cc2430
BLAKE2b-256 cc43b306aaa181fe608ed215f6bc5bc5b5091f4469143a7f8db78552f21d48b2

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.2.51-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.51-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 56d4899f79c89bc173d4caad6baf60beec9e8faf0eb3386dcba84919d9c2287e
MD5 86b1d8923cd92a83f97fc6ebc2cb2d3c
BLAKE2b-256 6385aef5a2474262db62e4882e2839d8cb64222680bb0732a265cb24d6cbfbc7

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.2.51-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.2.51-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.51-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 574714e9eda6c8ffb317c04d531f4cde94b32852f21f304c4177b9bb77738018
MD5 00e2daadd3e422ef7bc86529a0f61a15
BLAKE2b-256 1394b5cb81c4dd3aed77d4499aad6167fb3871ef0ba70e6b7b18d7fb0f059297

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.51-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 193a8ba7b7dab737b9b68793e6b38c2c1c90d201223b6108bddb2a1db71ee0b6
MD5 348c9fb3b4326e875cb9862e031f2ec7
BLAKE2b-256 90645b47806f21b89e29b1eb6d620ecf7584a3746849f193dcb3fd8addf31828

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.51-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 87bb0da704b868bf140284b323a323388ea54d6ee22c5441257c50f2bd76ee5f
MD5 4860dfce6d9a6d72e325c5097bb040a2
BLAKE2b-256 1be942e54a76c3ce2767a4c746a809bd2fda6c25a3e1e79949d6f73b0466efcd

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.2.51-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.51-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a72d63393a16506b42b7e9a3f575a25bae72ed6aeaea08a77eeccfbeaa0dd78f
MD5 427995f394a2069ded24595bf99fd2c8
BLAKE2b-256 d0bb56e7d5f5453437b66c81571afd345a3edadd0b139e3f32a3c1b7de18f51a

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.2.51-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.2.51-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.51-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 52d7870a2b1c3f08215515f5838f06d7e58873949595c248598c7a7ec4f60dca
MD5 23431817027be3e4690a9e06eb4abc7f
BLAKE2b-256 e0daaf782179c359542a4a01e861e0764193f8b5c0b041adf6077023f5ea546c

See more details on using hashes here.

Provenance

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