Name | promptflow-image-bundle JSON |
Version |
0.3.0
JSON |
| download |
home_page | |
Summary | Allow you to create your own prompt flow runtime base images |
upload_time | 2024-03-05 07:43:07 |
maintainer | |
docs_url | None |
author | Microsoft Corporation |
requires_python | <4.0,>=3.8 |
license | |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Prompt flow image bundle
This bundle package provides a way to use your own base images to build and run prompt flow runtime,
and build high-quality LLM apps with [prompt flow package](https://pypi.org/project/promptflow).
## Example usage:
```dockerfile
# choose your base image, for example AzureML base images
FROM mcr.microsoft.com/azureml/openmpi4.1.0-cuda11.8-cudnn8-ubuntu22.04:latest
# install bundle package
RUN pip install -U promptflow-image-bundle[azure]
# install other requirements if needed
# RUN pip install -r requirements.txt
# expose prompt flow runtime service port
EXPOSE 8080
# start prompt flow runtime service
CMD ["start_promptflow"]
```
Currently, we only support `Ubuntu` and `Debian` based images, and have verified both [AzureML base images](https://github.com/Azure/AzureML-Containers)
and popular images like `ubuntu:22.04`, `debian:11`, `python:3.10`, `continuumio/miniconda3:23.3.1-0`, `nginx:stable`, etc.
If your base images doesn't have Python or Conda, you need to install it in you docker file as a prerequisite.
Raw data
{
"_id": null,
"home_page": "",
"name": "promptflow-image-bundle",
"maintainer": "",
"docs_url": null,
"requires_python": "<4.0,>=3.8",
"maintainer_email": "",
"keywords": "",
"author": "Microsoft Corporation",
"author_email": "",
"download_url": "",
"platform": null,
"description": "# Prompt flow image bundle\r\n\r\nThis bundle package provides a way to use your own base images to build and run prompt flow runtime,\r\nand build high-quality LLM apps with [prompt flow package](https://pypi.org/project/promptflow).\r\n\r\n## Example usage:\r\n\r\n```dockerfile\r\n# choose your base image, for example AzureML base images\r\nFROM mcr.microsoft.com/azureml/openmpi4.1.0-cuda11.8-cudnn8-ubuntu22.04:latest\r\n# install bundle package\r\nRUN pip install -U promptflow-image-bundle[azure]\r\n# install other requirements if needed\r\n# RUN pip install -r requirements.txt\r\n# expose prompt flow runtime service port\r\nEXPOSE 8080\r\n# start prompt flow runtime service\r\nCMD [\"start_promptflow\"]\r\n```\r\n\r\nCurrently, we only support `Ubuntu` and `Debian` based images, and have verified both [AzureML base images](https://github.com/Azure/AzureML-Containers)\r\nand popular images like `ubuntu:22.04`, `debian:11`, `python:3.10`, `continuumio/miniconda3:23.3.1-0`, `nginx:stable`, etc.\r\n\r\nIf your base images doesn't have Python or Conda, you need to install it in you docker file as a prerequisite.\r\n",
"bugtrack_url": null,
"license": "",
"summary": "Allow you to create your own prompt flow runtime base images",
"version": "0.3.0",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5cadf0077333690899ec4cb72b911205ffece4c2876e379117e0af0246bb866f",
"md5": "9a5d179b5a75a382a2d9d1d25e1629be",
"sha256": "3b69352fb41d9b56b736f2bc84b8becf1a9bcae9bc01d0982418f34020257535"
},
"downloads": -1,
"filename": "promptflow_image_bundle-0.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9a5d179b5a75a382a2d9d1d25e1629be",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8",
"size": 7226823,
"upload_time": "2024-03-05T07:43:07",
"upload_time_iso_8601": "2024-03-05T07:43:07.632318Z",
"url": "https://files.pythonhosted.org/packages/5c/ad/f0077333690899ec4cb72b911205ffece4c2876e379117e0af0246bb866f/promptflow_image_bundle-0.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-05 07:43:07",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "promptflow-image-bundle"
}