feat: add gpus_per_replicas

This commit is contained in:
jialin
2025-10-20 14:53:33 +08:00
parent 19e275a17a
commit 9b843151fe
10 changed files with 170 additions and 17 deletions
+9 -1
View File
@@ -195,5 +195,13 @@ export default {
'models.accessSettings.public.tips':
'When set to public, anyone can access this model without authentication, which may lead to data exposure risks.',
'models.table.button.deploy': 'Deploy Now',
'models.form.backendVersion.holder': 'Enter or select a version'
'models.form.backendVersion.holder': 'Enter or select a version',
'models.form.gpusperreplica': 'GPUs per Replica',
'models.form.gpusAllocationType': 'GPU Allocation Type',
'models.form.gpusAllocationType.auto': 'Auto',
'models.form.gpusAllocationType.custom': 'Custom',
'models.form.gpusAllocationType.auto.tips':
'System calculates GPUs per replica automatically.',
'models.form.gpusAllocationType.custom.tips':
'You can specify the exact number of GPUs per replica.'
};
+16 -2
View File
@@ -192,7 +192,15 @@ export default {
'models.accessSettings.public.tips':
'When set to public, anyone can access this model without authentication, which may lead to data exposure risks.',
'models.table.button.deploy': 'Deploy Now',
'models.form.backendVersion.holder': 'Enter or select a version'
'models.form.backendVersion.holder': 'Enter or select a version',
'models.form.gpusperreplica': 'GPUs per Replica',
'models.form.gpusAllocationType': 'GPU Allocation Type',
'models.form.gpusAllocationType.auto': 'Auto',
'models.form.gpusAllocationType.custom': 'Custom',
'models.form.gpusAllocationType.auto.tips':
'System calculates GPUs per replica automatically.',
'models.form.gpusAllocationType.custom.tips':
'You can specify the exact number of GPUs per replica.'
};
// ========== To-Do: Translate Keys (Remove After Translation) ==========
@@ -226,6 +234,12 @@ export default {
// 29. 'models.accessSettings.allowedUsers': 'Allowed users',
// 30. 'models.accessSettings.public.tips': 'When set to public, anyone can access this model without authentication, which may lead to data exposure risks.',
// 31. 'models.table.button.deploy': 'Deploy Now',
// 32. 'models.form.backendVersion.holder': 'Enter or select a version'
// 32. 'models.form.backendVersion.holder': 'Enter or select a version',
// 33. 'models.form.gpusperreplica': 'GPUs per Replica',
// 34. 'models.form.gpusAllocationType': 'GPU Allocation Type',
// 35. 'models.form.gpusAllocationType.auto': 'Auto',
// 36. 'models.form.gpusAllocationType.custom': 'Custom',
// 37. 'models.form.gpusAllocationType.auto.tips': 'System calculates GPUs per replica automatically.',
// 38. 'models.form.gpusAllocationType.custom.tips': 'You can specify the exact number of GPUs per replica.'
// ========== End of To-Do List ==========
+16 -2
View File
@@ -195,7 +195,15 @@ export default {
'models.accessSettings.public.tips':
'When set to public, anyone can access this model without authentication, which may lead to data exposure risks.',
'models.table.button.deploy': 'Deploy Now',
'models.form.backendVersion.holder': 'Enter or select a version'
'models.form.backendVersion.holder': 'Enter or select a version',
'models.form.gpusperreplica': 'GPUs per Replica',
'models.form.gpusAllocationType': 'GPU Allocation Type',
'models.form.gpusAllocationType.auto': 'Auto',
'models.form.gpusAllocationType.custom': 'Custom',
'models.form.gpusAllocationType.auto.tips':
'System calculates GPUs per replica automatically.',
'models.form.gpusAllocationType.custom.tips':
'You can specify the exact number of GPUs per replica.'
};
// ========== To-Do: Translate Keys (Remove After Translation) ==========
@@ -221,5 +229,11 @@ export default {
// 21. 'models.accessSettings.allowedUsers': 'Allowed users',
// 22. 'models.accessSettings.public.tips': 'When set to public, anyone can access this model without authentication, which may lead to data exposure risks.',
// 23. 'models.table.button.deploy': 'Deploy Now',
// 24. 'models.form.backendVersion.holder': 'Enter or select a version'
// 24. 'models.form.backendVersion.holder': 'Enter or select a version',
// 25. 'models.form.gpusperreplica': 'GPUs per Replica',
// 26. 'models.form.gpusAllocationType': 'GPU Allocation Type',
// 27. 'models.form.gpusAllocationType.auto': 'Auto',
// 28. 'models.form.gpusAllocationType.custom': 'Custom',
// 29. 'models.form.gpusAllocationType.auto.tips': 'System calculates GPUs per replica automatically.',
// 30. 'models.form.gpusAllocationType.custom.tips': 'You can specify the exact number of GPUs per replica.'
// ========== End of To-Do List ==========
+8 -1
View File
@@ -184,5 +184,12 @@ export default {
'models.accessSettings.public.tips':
'公开后,任何人无需认证即可访问,可能存在数据泄露风险。',
'models.table.button.deploy': '立即部署',
'models.form.backendVersion.holder': '输入或选择一个版本'
'models.form.backendVersion.holder': '输入或选择一个版本',
'models.form.gpusperreplica': '每副本 GPU 数量',
'models.form.gpusAllocationType': 'GPU 分配方式',
'models.form.gpusAllocationType.auto': '自动',
'models.form.gpusAllocationType.custom': '自定义',
'models.form.gpusAllocationType.auto.tips':
'系统自动计算每个副本的 GPU 数量。',
'models.form.gpusAllocationType.custom.tips': '您可以指定每个副本的 GPU 数量'
};