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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.54-cp313-cp313-manylinux_2_31_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.54-cp313-cp313-macosx_13_0_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.4.54-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.54-cp312-cp312-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.54-cp312-cp312-manylinux_2_31_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.54-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.54-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.54-cp311-cp311-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.54-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.54-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.54-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.54-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 5b5fcbe03d5be4ab47778ae730d346c496857a554c766292582ddbdb2535d3c3
MD5 f7cdbad1f42af4af1a52eba8cd8a281e
BLAKE2b-256 36238bede7a34b6661e921b950b49a6cabc8d90fc054597ebe7e149894064481

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.54-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 caf436bd5fdfc2d20aa730d2f32df7509c8923840947e40286ff916629f002aa
MD5 3c5bf1766b2c9cbe1d83f871baf8b843
BLAKE2b-256 67cf5cbd350b4c37e77d8d566b44561d51a88a5815a6e48670261bc97191a7c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.54-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 778e8096a3eba4cdf4e4d05d18265d128e01012a8b2efdc148905d33ca9b67af
MD5 e9646e788567bf9e092fe07b6b034a4a
BLAKE2b-256 2697ee655c768b4d9f923c9c76012e6fffd4c97419ded91f5f10dbf8e7fdd04a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.54-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 dcc5f03e4b34ea8ed0ac6e8ddf521ea5833d04e1cd481a6e885a837d726622d8
MD5 11f70d4cf27a9c092df6bd73e8c94f70
BLAKE2b-256 ee9d7f1d883f2c4154d87f23de1f9e91c3b3bb0c88a51cd6d75b494c94372e4a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.54-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f475356fc0f196de235643c94d1c0bbf573933a211350efa770442439ac8cfb9
MD5 0533c7c9ea6fe35e054735edb5ed2651
BLAKE2b-256 9d4807238c8a6e151e42cb249429009876501968b95f7f3a39a0d563a0e2a52b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.54-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a662af82d9520960d7cac826968a5b1cedd2ceeb586092292527b4adb1b78fe4
MD5 1e63837f5a6996d28f482bae322f5d21
BLAKE2b-256 4cdb29075256e1fba6490ca95e4522dcffcefa508df355222b808a9521fff831

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.54-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b4cd96fc7a54b80ed3ccf353c80455df6a8d49e7910ae4b61586a3b790cfdddf
MD5 6ca44c980e01ae34a71cd7c7ad39c673
BLAKE2b-256 a4f277ef7dc52b4f89dfef985d5041deafa8c3e6f745d2cd0f0f43d8dd307fa0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.54-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 c52dc4db119f97e6e9e795d8b6b011464b3fec9c6dbc3d166da62a0b054f8667
MD5 60556d0ee9fe87bee7ba9f5d3543be08
BLAKE2b-256 b6262499ef63d763c9bddd3747bfb25e2c9266b374fe2de35a740ef5cbaa0042

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.54-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7080037e3954ff686f0affe3307d6bfc0e8306936028342e2af3060f8fbf185a
MD5 4a5343992f0f999f7b662b6cec3e9384
BLAKE2b-256 459abf0bdfcbf1056badb90a17f8df3f6f7b729dd72094c4c8a0572a431af200

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.54-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f1d0b412a12bca1718cc5f14f646dd7e3844ab88cc28383f5a3b54d368902f83
MD5 b633af04b717882fdfa24ca5675de704
BLAKE2b-256 7137ca0775426b85a7bc2012c79d918cc4f5861ae767acba9fa11f50b7123887

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.54-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a7755fdfb483e991e068c0931efd90864ed1bb5213beb206036e1e0c19f5ae69
MD5 628f765c0dee6e7357315b195deae360
BLAKE2b-256 3d6ca1d84f7d28d9b27f8fa63341ba9f5eaf87bf0980c45bb7ac6491788b6f27

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.54-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 6a9f4c8128b1e1ce10909dfa12c057ebe143cb0edfe896f4d6c3e342e6a82e19
MD5 7b02407699d92174ca7156e0a75b6504
BLAKE2b-256 abd60648b3714663135ab5771f78541e48e2095ad1fb0219fc31c1a509d0cf04

See more details on using hashes here.

Provenance

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