Skip to main content

A library containing components related to model inferences in Gen AI applications.

Project description

GLLM Inference (Binary)

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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.0.0-cp313-cp313-macosx_14_0_arm64.whl (923.2 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

gllm_inference_binary-0.0.0-cp312-cp312-macosx_14_0_arm64.whl (918.3 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

gllm_inference_binary-0.0.0-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.0.0-cp311-cp311-macosx_14_0_arm64.whl (908.4 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

gllm_inference_binary-0.0.0-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.0.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.0.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 63a4dccc55999e9ab81ba0388aef839b00f05a1eb09eeaedf236e829425b8548
MD5 e647bddf5d94ab5ebc6cfb7c0711307f
BLAKE2b-256 af83780d76c837af5315b50b91a74f53c5d09a15014a38b480dbb15ad79cd780

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.0.0-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.0.0-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.0.0-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 558ca1dcfb2f607c07f58ef6bcd89b8475c46ae0a3c4207e10034294408aeb2b
MD5 a859a3b2bc4efdabf479a25ba450b753
BLAKE2b-256 e43664d4a99cdc51dfafd62fc0d9c4a592629d4f93522b1d0133199706f0d64c

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.0.0-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.0.0-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.0.0-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3e40c03b1e58aac931fa9aa5d51e4b93525fda63febf276784423b82ebc4384f
MD5 cecb9f87d7ecc8af05715d21473bdd05
BLAKE2b-256 7b1551ee60354bed4da0c0b6ec2258f10886314932a02fa3b7cce4381315a383

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.0.0-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e0651d15aad2f514e45cfabf85602463287cc77fe747b8eab502ac3beb4f0ba9
MD5 cdfdb8e916899c8955490911c48f6ffc
BLAKE2b-256 9b2518dd82daba8b15cd960fd65b4529d7d0c2f459d08383620806721424d65d

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.0.0-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.0.0-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.0.0-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 306d5ef49bec6a85ec6f5dc78080feee8383068820f54a1e7c842140a0f26bc8
MD5 933e4aba4709413ad4753ec79272f80a
BLAKE2b-256 74c1679b804a81b92d5b002bd52f53c5b3574d40199b52a2f4f37bf91ac18846

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.0.0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 33d2a832835666ea9a33932ba0da7fea05fb7d610c178cc6acec501440a2ed3d
MD5 5f8c0c2487ea4313b444417f6880de07
BLAKE2b-256 bde8d493453aa316fe48efe129c8530c8d0140b54ecabab10e52799baf90ffff

See more details on using hashes here.

Provenance

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