Compare commits

..

2 Commits
main ... v0.0.1

Author SHA1 Message Date
cuidongdong f7e7e48620 Delete Page.interface.txt
Signed-off-by: cuidongdong <515783741@qq.com>
2024-07-02 09:08:34 +08:00
cuidongdong bdeab36439 Add sample.yaml
Signed-off-by: cuidongdong <515783741@qq.com>
2024-07-02 09:07:48 +08:00
2 changed files with 52 additions and 14 deletions

View File

@ -1,14 +0,0 @@
interface Container {
name: 容器名
type: 页面容器tab容器弹窗容器
components: [componentcomponentcomponent]
}
interface Component extend Container{
name:
type
props
}
// 每个容器组件有对应的渲染模板来渲染包含的子组件如tabs用的是TabContainer.templateModal用的是Modal.template生成单独的modal.vue文件

52
sample.yaml Normal file
View File

@ -0,0 +1,52 @@
# PIPELINE DEFINITION
# Name: sample-pipeline
# Inputs:
# batch_size: int
components:
comp-train:
executorLabel: exec-train
inputDefinitions:
parameters:
batch_size:
parameterType: NUMBER_INTEGER
outputDefinitions:
artifacts:
model:
artifactType:
schemaTitle: system.Model
schemaVersion: 0.0.1
parameters:
batch_size:
parameterType: NUMBER_INTEGER
deploymentSpec:
executors:
exec-train:
container:
args:
- echo 'I am a model' > {{$.outputs.artifacts['model'].path}}
command:
- sh
- -c
image: python:3.10
pipelineInfo:
name: sample-pipeline
root:
dag:
tasks:
train:
cachingOptions:
enableCache: true
componentRef:
name: comp-train
inputs:
parameters:
batch_size:
componentInputParameter: batch_size
taskInfo:
name: train
inputDefinitions:
parameters:
batch_size:
parameterType: NUMBER_INTEGER
schemaVersion: 2.1.0
sdkVersion: kfp-2.4.0