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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.49-cp313-cp313-manylinux_2_31_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.49-cp313-cp313-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.4.49-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.49-cp312-cp312-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.49-cp312-cp312-manylinux_2_31_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.49-cp312-cp312-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.4.49-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.49-cp311-cp311-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.49-cp311-cp311-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.4.49-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.49-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.49-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ae60bc09e58ae3ef8e1c51ee4b21c0ba31f7078363aa9c6b831f5a3206988acc
MD5 229f86d8b734802379753b1612ab0cd9
BLAKE2b-256 0b3fe00e41ef0a963af1a0e0d5819dbe826cb5c246bda8c859800423d30c6f88

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.49-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 59f6ff353741a7e3131615bfd080fa866ddc6fe2246466bc5390f203b77139b3
MD5 b31c04ea3af918f7a62fd84fdf0015cf
BLAKE2b-256 0969b292f724974a5de44defa8b9adeb2aa2632b4514ee2083d0ad5b791b20a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.49-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 24802c2d5afea2c483a2c1888bc155576c5a297d629d399918e94f306787131e
MD5 2e280caa55064d765d2a29d7a7457b11
BLAKE2b-256 9f1779eb721f88a24f5f82e7b15741455cf5f3030861b53d3cf7fa917644ab9a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.49-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 6e82b5d9f1c8233e56f0fb39d6182d607e1d779a0e4a84a28724f1da9343110a
MD5 92bc31488f1b5639530b913ece8c9198
BLAKE2b-256 dae8d99baa861956c240c212133fbaa37067e0b4f7d3efb926dc3652964a4ed9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.49-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 29b462edfd440dc65ddbfae0d23c1d42fd0079153afe3f05ab6b9e08b0c18a41
MD5 d5c9770799b3f1e089f6220267a2302d
BLAKE2b-256 9791ea12d345477907b8bdce47aa57808a77b8a6c95dc2717dc316f2883e1d9a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.49-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 80528b67c8885a95f85a2e17628ed47ec07bada460021bb2d6213e76ddb9cc05
MD5 1dc845bc27197d061b9e06f47339fcfd
BLAKE2b-256 af5b04fce0c81a89f3fd3fb90a25713971b11092e5594748a8ad6f1d631b73f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.49-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 62a8c1bc78733ac1115a14cd46b5fc53f6f33e17d178098780b77cfd23020349
MD5 d36f3d3a0227cadc1ffd53d0974e4346
BLAKE2b-256 f0dd0a558d856d9077c74fe13511af97bb965e22d604200454c9d7ffa2a9af5e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.49-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 aee1297562df8f34e0b34be9b35ea5d4b188e4e80adf0c7b21a42838bb9d55a7
MD5 03f053ddc67c84e497d5e36619b41e79
BLAKE2b-256 e11d5a69ff34cd32b93df2cc8f86d08fc4a8ea296eb95482045ea98f58ffa667

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.49-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 dea7ad6eb7dcfb2cbb80210e824be6ac012eb436f6a2ba103a971be6e18abe92
MD5 dbf7b57dcf5f507086f82e90e469945a
BLAKE2b-256 e3c905f951189dfecb2b4d1c2000ca1132a7d2606bae57b749e81cb6778b62f9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.49-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9ef8d969fd6dea99a05418c9f03e220efcff4b7d39ed24d8bfd7df11e036189d
MD5 c893bf9a2494734a8109c7f35432f4e2
BLAKE2b-256 4f2f60345759a1e26440d2baf91aa7e3144596a10f7861555581c3e82b315f04

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.49-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 20570315c8dfc775f6cf1f0478a896b593eb4a966dc91eaa90a2f04d516911e7
MD5 c782fa0457d6203242e820020d86f52f
BLAKE2b-256 2878057d5afa69cc6c37543eec4fe6bdd4f54aa246d9809e9006573ef68f346e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.49-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 8cb084da8909e8f4adf5e8217b1d10a953c10cba33d56b3f155c947980536a7a
MD5 c1d10326d67e7d5035b6d1d11be9113a
BLAKE2b-256 69b6f560ea0b58d7b74fabd77316cb016734384108270944e461ffb8faba2ff9

See more details on using hashes here.

Provenance

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