feat: add schedule type ux

This commit is contained in:
jialin
2024-09-09 13:41:39 +08:00
parent 5c372bbaa3
commit dc4e83447d
21 changed files with 434 additions and 180 deletions
+2 -1
View File
@@ -203,5 +203,6 @@ export default {
'common.button.docs': 'Documentation',
'common.button.version': 'Version',
'common.title.delete.confirm': 'Confirm delete',
'common.button.addLabel': 'Add Label'
'common.button.addLabel': 'Add Labels',
'common.button.addSelector': 'Add Selectors'
};
+11 -3
View File
@@ -12,9 +12,9 @@ export default {
'models.form.configurations': 'Configurations',
'models.form.s3address': 'S3 Address',
'models.form.partialoffload.tips':
'refers to the strategy of offloading as many layers of a model to the GPU as possible based on available resources, while offload all layers completely is not possible.',
'Refers to the strategy of offloading as many layers of a model to the GPU as possible based on available resources, while offload all layers completely is not possible.',
'models.form.distribution.tips':
'allows for offloading part of the computation to single or multiple remote workers when the resources of a single GPU or worker are insufficient.',
'Allows for offloading part of the computation to single or multiple remote workers when the resources of a single GPU or worker are insufficient.',
'models.openinplayground': 'Open in Playground',
'models.instances': 'instances',
'models.table.replicas.edit': 'Edit Replicas',
@@ -40,5 +40,13 @@ export default {
'models.search.networkerror': 'Network connection exception!',
'models.search.hfvisit': 'Please make sure you can visit',
'models.search.unsupport':
'This model is not supported and may be unusable after deployment.'
'This model is not supported and may be unusable after deployment.',
'models.form.scheduletype': 'Schedule Type',
'models.form.scheduletype.auto': 'Auto',
'models.form.scheduletype.manual': 'Manual',
'models.form.scheduletype.auto.tips':
'Automatically deploys model instances to appropriate GPUs/Workers based on current resource conditions.',
'models.form.scheduletype.manual.tips':
'Allows you to manually specify the GPUs/Workers to deploy the model instances to.',
'models.form.manual.schedule': 'Manual Schedule'
};
+4 -4
View File
@@ -8,17 +8,17 @@ export default {
'resources.table.hostname': 'Hostname',
'resources.table.key.tips': 'The same key exists.',
'resources.form.advanced': 'Advanced',
'resources.form.enablePartialOffload': 'Enable Partial Offload',
'resources.form.enablePartialOffload': 'Allow Partial Offload',
'resources.form.placementStrategy': 'Placement Strategy',
'resources.form.workerSelector': 'Matching Worker Labels',
'resources.form.workerSelector': 'Worker Selector',
'resources.form.enableDistributedInferenceAcrossWorkers':
'Enable Distributed Inference Across Workers',
'Allow Distributed Inference Across Workers',
'resources.form.spread.tips':
'Make the resources of the entire cluster relatively evenly distributed among all workers. It may produce more resource fragmentation on a single worker.',
'resources.form.binpack.tips':
'Prioritize the overall utilization of cluster resources, reducing resource fragmentation on Workers/GPUs.',
'resources.form.workerSelector.description':
'The scheduling system selects the most suitable GPU or Worker for deploying model instances based on predefined labels.',
'The system selects the most suitable GPU or Worker for deploying model instances based on predefined labels.',
'resources.table.ip': 'IP',
'resources.table.cpu': 'CPU',
'resources.table.memory': 'RAM',