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.2.47-cp312-cp312-win_amd64.whl (826.8 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.2.47-cp312-cp312-manylinux_2_31_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.2.47-cp312-cp312-macosx_14_0_arm64.whl (908.0 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

gllm_inference_binary-0.2.47-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.2.47-cp311-cp311-win_amd64.whl (835.6 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.2.47-cp311-cp311-manylinux_2_31_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.2.47-cp311-cp311-macosx_14_0_arm64.whl (899.0 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

gllm_inference_binary-0.2.47-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.2.47-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.47-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 1cf8f44333368d80fa27cfd7e2f5b05b4c93a983b509929c7461f53304d52b40
MD5 b7d0b9169a19fef49ddc0bb581009527
BLAKE2b-256 bbb4db5ed59fd034f312d58bf81609b3dc4c22bbc258eeacac73b3cf58428004

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.47-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 04fde04c22aef7a08612b8171e410c8ec876a6cfb94ca93159c41fa4b241bcaa
MD5 ef5ec5679531697031d3ed05b7293678
BLAKE2b-256 3d221e34879387a2b5fa0f02fb45ba751cd6ad449b8551d3525e0197a0972860

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.2.47-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.47-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 29ef1fad2ee925e838b548894713c8fb1dc6003fd261cf473bbf7568d2955fa0
MD5 1de0594831cde9e6e90cd531c0cb1833
BLAKE2b-256 231bd14dd8465ba0d129c9090a7e348befe18d4576014acd3b5cb9244ea57b23

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.47-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 04931123e8774047c4799221013e3b240d9e8f51f63863494054f77299fbcd9c
MD5 008b861c9f46dafa4608c136abf63002
BLAKE2b-256 e9c0a7a90d4cf4aa8df64f1d5b3ab72129de31a1fc22e54a34b78c02ac4b21aa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.47-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2ef1ff5224079beb2d7cd53590efcfbc2255839e8087813225e3df778b63444f
MD5 1e60fcc8d0db12e4c98bfa7dba26a1fe
BLAKE2b-256 8a3455faeeb35fab32f5f1d0b947899145df92dff95cb6cf26ca3b4c310f3f40

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.47-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e3d35e301ed0fd55dbee1e43e9b907b4282d2aa01c732eb77b0e4b1795433dbc
MD5 813f302146d1460a08cffe4cf662fe85
BLAKE2b-256 70dff69b0cab5831082baf80ea7cd9619046d97a447b9cc6a00253b82bd17263

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.2.47-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.47-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 0533736bb618a93251231cb17f96f16dd8c728d8b1f8ddce47957b1c3b218e52
MD5 7bcfe11c26f68ca58e51417598c842ff
BLAKE2b-256 652b205d717b4a098c3b4338b2ba14f298e14d3e7e509a5194c5068bdf9b904c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.47-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c3aac7869ad1c121ea767814f348eee914548ad173127b5c957606b9556ad94d
MD5 cc2ed27d23ab9c6a95b7c12022564dfa
BLAKE2b-256 0086b007afc8223acf1e95424819ce4138d9fc429bc89e5ee20c3030e4ced475

See more details on using hashes here.

Provenance

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