معرفی شرکت ها


cerebrium-0.4.9


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

-
ویژگی مقدار
سیستم عامل -
نام فایل cerebrium-0.4.9
نام cerebrium
نسخه کتابخانه 0.4.9
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Elijah Roussos
ایمیل نویسنده elijah@cerebrium.ai
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/cerebrium/
مجوز AGPL-3.0-only
# Cerebrium Cerebrium is the Python package built for use with the [Cerebrium](https://www.cerebrium.ai/) platform, which allows you to deploy your machine learning models as a REST API with a single line of code. For usage consult the [documentation](https://docs.cerebrium.ai/). The repo for the documentation can be found [here](https://github.com/CerebriumAI/docs). # Development environment Cerebrium uses Poetry for dependency management and packaging. To install Poetry, follow the instructions [here](https://python-poetry.org/docs/#installation). Alternatively, consult our article on [how to manage your python environments](https://blog.cerebrium.ai/setting-up-your-data-science-and-ml-development-environment-949277339939?gi=54b980dd4e1d). You can run the following steps to setup your Python development environment with the following commands: ```bash poetry install poetry shell ``` You should use this environment to run tests, notebooks and build the package. Furthermore, you should set up a `.env` file in the project root with the following environment variables: ```bash DEVELOPMENT_ENV=dev ``` You can add packages to the project by running the following command: ```bash poetry add <package> ``` You **will** need to relock if you have added any packages to the project. You can do this by running the following command: ```bash poetry lock ``` ## Codespaces Setup To set up a Codespaces for development, you should run the following command to setup AWS: ```bash cd ~ curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" unzip awscliv2.zip sudo ./aws/install ``` ## Running tests To run the tests, run the following command: ```bash poetry run pytest --cov-report html:cov_html\ --cov-report annotate:cov_annotate\ --cov=cerebrium tests/ ``` ## Publishing Development Builds To publish a development build on CodeArtifact, run the following command to configure Poetry: ```bash poetry config http-basic.cerebrium aws $(aws codeartifact get-authorization-token --domain-owner 288552132534 --domain cerebrium --query 'authorizationToken' --output text --region eu-west-1) ``` Then, run the following command to publish the package: ```bash poetry shell # this is needed to set the version dynamically poetry publish --build -r cerebrium ``` If the patch version is not up to date, merge the latest version tag into the branch: ```bash git merge v<tag> ``` ## Install a development build To install a development build, run the following command to configure pip: ```bash aws codeartifact login --tool pip --repository cerebrium-pypi --domain cerebrium --domain-owner 288552132534 --region eu-west-1 ``` Then, pip install: ```bash pip install --pre cerebrium ``` ### Resources for Poetry/CodeArtifact - https://repost.aws/questions/QURD7aFNj_R9-8odJY5mfgrw/npm-publish-for-a-package-to-aws-code-artifact-repo-fails-with-error-the-provided-package-is-configured-to-block-new-version-publishes - https://docs.aws.amazon.com/codeartifact/latest/ug/python-configure-pip.html


نیازمندی

مقدار نام
>=1.7,<2.0 xgboost
>=1.20,<2.0 numpy
>=1.13,<3.0 torch
>=1.2,<2.0 scikit-learn
>=2.0,<2.1 cloudpickle
>=2.28,<3.0 requests
>=4.64,<4.65 tqdm
>=8.2,<8.3 tenacity
>=2.3,<2.4 yaspin
>=1.6,<2.0 censius
>=6.0.2,<7.0 arize
>=1.5,<3.0 pandas
>=1.13,<2.0 onnxruntime
>=1.14,<2.0 onnxruntime-gpu
>=4.26,<5.0 transformers
>=3.5.0,<4.0.0 spacy
>=1.26.96,<2.0.0 boto3
>=0.5,<0.6 loguru
>=1.10.0,<1.11.0 ddtrace
>=0.45.0,<0.51.0 datadog
>=9.4,<10.0.0 Pillow
>=0.2.0,<0.3.0 chitra
>=2.10.0,<2.11.0 datasets
>=5.2.0,<5.3.0 celery
>=0.18.0,<0.19.0 accelerate
>=0.38.0,<0.39.0 bitsandbytes


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

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


نحوه نصب


نصب پکیج whl cerebrium-0.4.9:

    pip install cerebrium-0.4.9.whl


نصب پکیج tar.gz cerebrium-0.4.9:

    pip install cerebrium-0.4.9.tar.gz