40 lines
1.2 KiB
YAML
Executable file
40 lines
1.2 KiB
YAML
Executable file
# ============================================================
|
||
# Система: Единая библиотека, Центр ИИ НИУ ВШЭ
|
||
# Модуль: Тесты
|
||
# Авторы: Полежаев В.А., Хританков А.С.
|
||
# Дата создания: 2024 г.
|
||
# ============================================================
|
||
apiVersion: "unified-platform.cs.hse.ru/v1"
|
||
kind: MLComponent
|
||
metadata:
|
||
name: test-mlcmp3
|
||
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
|
||
gpu: "1"
|
||
mlService:
|
||
packageRegistryName: app1-python-package-registry
|
||
inference:
|
||
fileExchange:
|
||
fileBox: s3_files_box
|
||
inferenceFilesPath: /tmp/inference_files
|
||
model:
|
||
modelBox: s3_model_box
|
||
modelPath: /app_data/model
|
||
entryPoint:
|
||
pythonPath: inference
|
||
pythonFunction: inference.run_inference_v2
|
||
connectedBoxes:
|
||
- name: s3_model_box
|
||
path: /app_data
|
||
mountS3Box:
|
||
subPath: inference
|
||
s3BoxName: test-app1-models
|
||
- name: s3_files_box
|
||
copyS3Box:
|
||
s3BoxName: test-app1-user-data
|
||
|