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.31-cp313-cp313-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.31-cp313-cp313-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.31-cp313-cp313-macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.4.31-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.31-cp312-cp312-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.31-cp312-cp312-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.31-cp312-cp312-macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.4.31-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.31-cp311-cp311-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.31-cp311-cp311-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.31-cp311-cp311-macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.4.31-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.31-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 8ec76b8bd26caa9796dae1b636db8f10f6e2c842ec36957786aa1e8783925416
MD5 07032f8646f2da935423fb1fe4685c42
BLAKE2b-256 a89f26ae0ae8648a2f3f988158f129a15f4627e98fef69add954db4f9b690975

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.31-cp313-cp313-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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.31-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.31-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 906d0023e5e1a7f3fdf6e99d6368985250c9bd0a4975ffdafc030e688944f4d0
MD5 b2de626e749439144d4ad1adb49a6f06
BLAKE2b-256 23d1a6e56e52abe3adeda94a88d88ca7896bdbeb9508349fb1b2e84adc6568c9

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.4.31-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.31-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a083c1802e278dfb7180090e3f747555975f8e7dd55dd9650712588ccb44e6f9
MD5 dc092c78fe02989bf0690c035df8792c
BLAKE2b-256 a4599d2a84ac35d30eb7a4376a0b1738352085ed497b9cb18ecdeabd56e1773a

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.31-cp313-cp313-macosx_13_0_x86_64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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.31-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.31-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 b4d510999ea9accce9e1852f528a2177838a59023ac13cc4c2015c5734ca7034
MD5 e5e4a3c0bbc914cdc4b57bb3b5af27ba
BLAKE2b-256 1e5edb31113b919d3e79813923c269f468268f8b625434b083d183863ccf130a

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.31-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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.31-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.31-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 4c416cef7d346a6982e5c1efbf2a5a3ad37f0627a02a29f17f5643522b515036
MD5 8c1805fbc4f20b62791e87e9824c8890
BLAKE2b-256 35bdc71e5edb4b7ec3634aa541f8cf0ee02999f5a1e23bcb3a035baa6616222b

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.31-cp312-cp312-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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.31-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.31-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 ece9532410b17b3a0cff3f69fa60b9a13f2354893eb544974a83044721228851
MD5 4c943ef59fa0f142bee296ffb0c7ddda
BLAKE2b-256 6a3c338d080339385a53c55399502fcff40d4fdeeb5b6e6c131555a3df1af44a

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.4.31-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.31-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3ddd907ab52ab7e7730de014b7cef64fc952bf0df2d7540764933f0bec6aa8f1
MD5 363be02b01470b521bb5f38e5844a895
BLAKE2b-256 7906a105060ff7147835b48e57d06062a44985a7649f04745bd190d77aeafe6c

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.31-cp312-cp312-macosx_13_0_x86_64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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.31-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.31-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 02fcf6c569678dcecd1e396ecaa2876f5e882c18764068fe4d5bea5fcb316c79
MD5 ac052b4dd050c702f9ac1ac9d71c894f
BLAKE2b-256 e9010d4452d5f41ac1b59160c9ce14a119582fcc12495f2c76249d13e10e8ee7

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.31-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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.31-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.31-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b530cac9ef18e779261440faa1fe458c2fd2437c24fafa84ee2ff6e65378d89d
MD5 45a55612c1df8208b7a4e11a00f26cb5
BLAKE2b-256 5eb288b1c09e622c6c5b04d4db9043726fa9f318a99e6ee2a4d67e6c62b5d766

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.31-cp311-cp311-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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.31-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.31-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9744b90b83061349ce26b5aa6bd6200d7fe8d6336c20a1135718339f6a144591
MD5 1b8719cae91be802276f3a507e846cb0
BLAKE2b-256 e799fdff7b13e15eabecad4a1a303b5a8439381b664e5f0d5c246fb243d2c974

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.4.31-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.31-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9756817d289b88e262d280a19e16fe87feade57236c0129fed86f9c7a9e9389c
MD5 666a042e1fbc562f31431b08da6d36ec
BLAKE2b-256 de5c0b571a60b4799d1a47a9b77d7fc75fb48da1a64a39879573ca4a666f04c6

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.31-cp311-cp311-macosx_13_0_x86_64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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.31-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.31-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 4ac19030d27493d390feee388785807a18a8bcaa0350b093aed3c5266d1ba0fb
MD5 d81014a13bb6869dc88c57e33e361f37
BLAKE2b-256 8fd817b266ecd17e89477c24f8ed51949721fe399986d2a083598d641a3f4efe

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.31-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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