45 lines
1.3 KiB
YAML
45 lines
1.3 KiB
YAML
|
|
# ============================================================
|
|||
|
|
# Система: Единая библиотека, Центр ИИ НИУ ВШЭ
|
|||
|
|
# Модуль: Тесты
|
|||
|
|
# Авторы: Полежаев В.А., Хританков А.С.
|
|||
|
|
# Дата создания: 2024 г.
|
|||
|
|
# ============================================================
|
|||
|
|
apiVersion: "unified-platform.cs.hse.ru/v1"
|
|||
|
|
kind: MLComponent
|
|||
|
|
metadata:
|
|||
|
|
name: test-mlcmp1
|
|||
|
|
namespace: pu-user1-pa-app1
|
|||
|
|
spec:
|
|||
|
|
image:
|
|||
|
|
existingImageName: platform-reg.stratpro.hse.ru/pu-user1/test-model1:1.0.0-c25bfce
|
|||
|
|
resourceLimits:
|
|||
|
|
cpu: 500m
|
|||
|
|
memory: 256M
|
|||
|
|
mlService:
|
|||
|
|
packageRegistryName: app1-python-package-registry
|
|||
|
|
inference:
|
|||
|
|
fileExchange:
|
|||
|
|
fileBox: s3_files_box
|
|||
|
|
inferenceFilesPath: /tmp/inference_files
|
|||
|
|
model:
|
|||
|
|
modelBox: s3_model_box
|
|||
|
|
modelPath: inference/model
|
|||
|
|
entryPoint:
|
|||
|
|
pythonPath: inference
|
|||
|
|
pythonFunction: inference.run_inference_v2
|
|||
|
|
license:
|
|||
|
|
licenseLocalPath: ./license.txt
|
|||
|
|
api:
|
|||
|
|
prefix: mlcmp1
|
|||
|
|
connectedBoxes:
|
|||
|
|
- name: s3_model_box
|
|||
|
|
path: inference
|
|||
|
|
copyS3Box:
|
|||
|
|
subPath: inference
|
|||
|
|
s3BoxName: test-app1-models
|
|||
|
|
- name: s3_files_box
|
|||
|
|
copyS3Box:
|
|||
|
|
s3BoxName: test-app1-user-data
|
|||
|
|
|
|||
|
|
|