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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.18-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.5.18-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.5.18-cp312-cp312-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.18-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.5.18-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.5.18-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.5.18-cp311-cp311-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.18-cp311-cp311-manylinux_2_31_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.18-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.5.18-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.18-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 0896f28f772a5b6dd87d844ded0fdacec385345a59136063815a867dbbb52487
MD5 23775c6064b68f697b7a794ffa31778e
BLAKE2b-256 90a54d6da01586a5ea20d5b86136a6e9de73b23ec619992a65fe9c893e856bcd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.18-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 cb60c857f4470144f5708c5f6e121742d49f159cc30e6e1aa688b9c7b59f55f7
MD5 2d37aef9e02f09981766cde34e411e85
BLAKE2b-256 b809d7848139147147572240034165225bb10d201ba35c4de7246de3305b40b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.18-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 041ed4f1caf25d0f0d1aee33164244f376e693ccb548bf8bad02c1aa4f63f598
MD5 f5b99337ce881ba97e7a8d617f931339
BLAKE2b-256 24bec2dfc3529ad70a2225c0f9ebf3362cb7ce5c94e4c2cbc09a7e4176e0251e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.18-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 67c6ce4c0b4b7f6395ebb0b4e55eaf7eac4c75d71862ec59fc2225dac78fd8a1
MD5 d94f018bc4c0baed3df656e01f191f97
BLAKE2b-256 0e2cdfb58640c2f0ce96b37bc665b6016832686349e8075a66fce35f73c20d00

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.18-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9e28ffc63a39112ebbe2147bffe3f2345978c84367a5ffe6ff697774d15214e8
MD5 be6eaf2e7b258107c7543d7d68b6d6bf
BLAKE2b-256 2806a2ea116cfcfde95cc2db3e23d2987c700ea11da6fbfb41632740f98ec788

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.18-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 cade2df5f9580277597c7d0cd639e48438c9afe092809d75976cf5c83775ab75
MD5 4ae3d652c5171689b51ee63414e0adc4
BLAKE2b-256 c3894bc300d56f394b5753a39c5b3b2f26501ce190b6c66f3c5d68edd9aaad47

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.18-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 69d627d4c90f1645a8f25866b7864ab29e5e587a5f6d5308e26ba04dac43fef2
MD5 4882f0bdcc9b53c1fe07c055cd1970c5
BLAKE2b-256 a2968769654488acdfd69278751d20406dc68d1fd942a4f4001020f1e2667a5f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.18-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ba523e35e4d6d9fad5a53a45c50ece07b8e9922d593759de00f33bdc77f62e5e
MD5 ebf9f4ddb45a1fe56d4c42099337e2fc
BLAKE2b-256 6b525b0ad4decc521537854398c5cb306923dedd1e4dadf6637bfa8da91bee4f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.18-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 48a2283d59df7bd6b72bedcaad15f05ab65ed49a0ac1c9f0e8635daf50905533
MD5 dec1bb0b31ba6d7e22a95ece42f86fd8
BLAKE2b-256 b4fefac11468172307fe8eb4c6215e34a0c86994a30ea17c738da049260ec392

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.18-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d5f0e59cc8680caacaaba92d8029a522d8b9f37b88c2df0e55abbc6fd9c1961e
MD5 1ec72c548b9d35401eb2c9c852d1c10d
BLAKE2b-256 f4dc46c5817f3cdfabf263cca2992ead73bb0671ca135319fd4f4c08d58c84c4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.18-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 8d32d8f4ede8a21fa66313d2f8f5d0c9d16e4f7ddda0a9c9284cfce8bae7e641
MD5 0ff1f04746b15d0bf60e08e4d4b01e5a
BLAKE2b-256 b8df3b9ab9677b271ea151ec0d8f5e4323ea249d5200564cedc9e18077862170

See more details on using hashes here.

Provenance

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