gllm-inference-binary-0.5.9b1


توضیحات

A library containing components related to model inferences in Gen AI applications.
ویژگی مقدار
سیستم عامل -
نام فایل gllm-inference-binary-0.5.9b1
نام gllm-inference-binary
نسخه کتابخانه 0.5.9b1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده Henry Wicaksono <henry.wicaksono@gdplabs.id>, "Delfia N. A. Putri" <delfia.n.a.putri@gdplabs.id>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/gllm-inference-binary/
مجوز -
# GLLM Inference ## Description A library containing components related to model inferences in Gen AI applications. --- ## Installation ### Prerequisites Mandatory: 1. Python 3.11+ — [Install here](https://www.python.org/downloads/) 2. pip — [Install here](https://pip.pypa.io/en/stable/installation/) 3. uv — [Install here](https://docs.astral.sh/uv/getting-started/installation/) Extras (required only for Artifact Registry installations): 1. gcloud CLI (for authentication) — [Install here](https://cloud.google.com/sdk/docs/install), then log in using: ```bash gcloud auth login ``` --- ### Option 1: Install from Artifact Registry This option requires authentication via the `gcloud` CLI. ```bash uv pip install \ --extra-index-url "https://oauth2accesstoken:$(gcloud auth print-access-token)@glsdk.gdplabs.id/gen-ai-internal/simple/" \ gllm-inference ``` --- ### Option 2: Install from PyPI This option requires no authentication. However, it installs the **binary wheel** version of the package, which is fully usable but **does not include source code**. ```bash uv pip install gllm-inference-binary ``` --- ## Local Development Setup ### Prerequisites 1. Python 3.11+ — [Install here](https://www.python.org/downloads/) 2. pip — [Install here](https://pip.pypa.io/en/stable/installation/) 3. uv — [Install here](https://docs.astral.sh/uv/getting-started/installation/) 4. gcloud CLI — [Install here](https://cloud.google.com/sdk/docs/install), then log in using: ```bash gcloud auth login ``` 5. Git — [Install here](https://git-scm.com/downloads) 6. Access to the [GDP Labs SDK GitHub repository](https://github.com/GDP-ADMIN/gl-sdk) --- ### 1. Clone Repository ```bash git clone git@github.com:GDP-ADMIN/gl-sdk.git cd gl-sdk/libs/gllm-inference ``` --- ### 2. Setup Authentication Set the following environment variables to authenticate with internal package indexes: ```bash export UV_INDEX_GEN_AI_INTERNAL_USERNAME=oauth2accesstoken export UV_INDEX_GEN_AI_INTERNAL_PASSWORD="$(gcloud auth print-access-token)" export UV_INDEX_GEN_AI_USERNAME=oauth2accesstoken export UV_INDEX_GEN_AI_PASSWORD="$(gcloud auth print-access-token)" ``` --- ### 3. Quick Setup Run: ```bash make setup ``` --- ### 4. Activate Virtual Environment ```bash source .venv/bin/activate ``` --- ## Local Development Utilities The following Makefile commands are available for quick operations: ### Install uv ```bash make install-uv ``` ### Install Pre-Commit ```bash make install-pre-commit ``` ### Install Dependencies ```bash make install ``` ### Update Dependencies ```bash make update ``` ### Run Tests ```bash make test ``` --- ## Contributing Please refer to the [Python Style Guide](https://docs.google.com/document/d/1uRggCrHnVfDPBnG641FyQBwUwLoFw0kTzNqRm92vUwM/edit?usp=sharing) for information about code style, documentation standards, and SCA requirements.


نیازمندی

مقدار نام
- gllm-core-binary<0.5.0,>=0.3.0
- aiohttp<4.0.0,>=3.12.14
- filetype<2.0.0,>=1.2.0
- httpx<0.29.0,>=0.28.0
- jinja2<4.0.0,>=3.1.4
- jsonref<2.0.0,>=1.1.0
- jsonschema<5.0.0,>=4.24.0
- langchain<2.0.0,>=0.3.8
ython_versio numpy<2.0.0,>=1.26;
ython_versio numpy<3.0.0,>=1.26;
ython_versio numpy<3.0.0,>=2.2;
- pandas<3.0.0,>=2.2.3
- prompt-toolkit<4.0.0,>=3.0.0
- protobuf<7.0.0,>=5.29.4
ys_platfor python-magic<0.5.0,>=0.4.27;
ys_platfor python-magic-bin<0.5.0,>=0.4.14;
- sentencepiece<0.3.0,>=0.2.0
ys_platfor sounddevice<0.6.0,>=0.5.0;
xtr coverage<8.0.0,>=7.4.4;
xtr mypy<2.0.0,>=1.15.0;
xtr pre-commit<4.0.0,>=3.7.0;
xtr pytest<9.0.0,>=8.1.1;
xtr pytest-asyncio<0.24.0,>=0.23.6;
xtr pytest-cov<6.0.0,>=5.0.0;
xtr ruff<0.7.0,>=0.6.7;
xtr anthropic<1.0.0,>=0.60.0;
xtr aioboto3<16.0.0,>=15.0.0;
xtr cohere<6.0.0,>=5.18.0;
xtr openai<3.0.0,>=2.7.0;
xtr google-genai<2.0.0,>=1.52.0;
xtr huggingface-hub<0.31.0,>=0.30.0;
xtr transformers<5.0.0,>=4.52.0;
xtr litellm<1.80.0,>=1.70.0;
xtr livekit<2.0.0,>=1.0.23;
xtr livekit-agents<2.0.0,>=1.3.12;
xtr soxr<2.0.0,>=1.0.0;
xtr openai<3.0.0,>=2.7.0;
xtr portkey-ai<2.0.0,>=1.14.4;
xtr twelvelabs<2.0.0,>=1.1.0;
ython_versio voyageai<0.4.0,>=0.3.0;
xtr xai_sdk<2.0.0,>=1.0.0;


زبان مورد نیاز

مقدار نام
<3.14,>=3.11 Python


نحوه نصب


نصب پکیج whl gllm-inference-binary-0.5.9b1:

    pip install gllm-inference-binary-0.5.9b1.whl


نصب پکیج tar.gz gllm-inference-binary-0.5.9b1:

    pip install gllm-inference-binary-0.5.9b1.tar.gz