Skip to main content

Model Serving made Efficient in the Cloud

Project description

框架环境变量

环境变量 说明 默认值
TI_MODEL_DIR 模型路径 /data/model
TI_PREPROCESS_NUMS 预处理进程数 0
TI_INFERENCE_NUMS 推理进程数 1
TI_POSTPROCESS_NUMS 后处理进程数 0
TI_INFERENCE_MAX_BATCH_SIZE 推理Batch数 1

说明

  • 当TI_PREPROCESS_NUMS==0且TI_POSTPROCESS_NUMS==0时;

    model_service.py 文件中preprocess,postpress,predict 函数在一个进程中执行

  • 否则,model_service.py 文件中preprocess, postpress, predict 函数分别处于不同进程中执行,

    load 函数与predict 函数处于同一进程;

Project details


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 Distribution

If you're not sure about the file name format, learn more about wheel file names.

tencent_tiinfer-0.1.5-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file tencent_tiinfer-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for tencent_tiinfer-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f9b574f3a1372222c76fc92bceedceefc77ba40a1c0bac50dc0a6dc76fdc6094
MD5 6611c3d9c4ca017eef0b7a56ca07bfb9
BLAKE2b-256 b3aed3911391253493880637c950c3e910f91e8f1dca2578548c2385b2e632e1

See more details on using hashes here.

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