unip-controller/tests/data/resources/pu-user1/apps/app1/ml-cmp1.yaml
2025-04-15 20:56:15 +03:00

44 lines
1.3 KiB
YAML
Executable file
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ============================================================
# Система: Единая библиотека, Центр ИИ НИУ ВШЭ
# Модуль: Тесты
# Авторы: Полежаев В.А., Хританков А.С.
# Дата создания: 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