chore: remove inject params tag
This commit is contained in:
@@ -84,13 +84,6 @@ const Instance: React.FC = () => {
|
|||||||
}),
|
}),
|
||||||
children: renderParams(instanceData?.backend_parameters || [])
|
children: renderParams(instanceData?.backend_parameters || [])
|
||||||
},
|
},
|
||||||
{
|
|
||||||
key: '1-1',
|
|
||||||
label: intl.formatMessage({
|
|
||||||
id: 'models.instance.params.autoInjected'
|
|
||||||
}),
|
|
||||||
children: renderParams(instanceData?.injected_backend_parameters || [])
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
key: '3',
|
key: '3',
|
||||||
label: intl.formatMessage({ id: 'benchmark.detail.kvCache' }),
|
label: intl.formatMessage({ id: 'benchmark.detail.kvCache' }),
|
||||||
|
|||||||
@@ -95,7 +95,6 @@ const InjectedParamsCell: React.FC<InjectedParamsCellProps> = ({
|
|||||||
if (!injectedBackendParameters.length) {
|
if (!injectedBackendParameters.length) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
// return null;
|
|
||||||
return (
|
return (
|
||||||
<Tooltip
|
<Tooltip
|
||||||
color="var(--ant-color-bg-elevated)"
|
color="var(--ant-color-bg-elevated)"
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ import ActionsCell from '../instance-cells/actions-cell';
|
|||||||
import CPUOffloadingCell from '../instance-cells/cpu-offloading-cell';
|
import CPUOffloadingCell from '../instance-cells/cpu-offloading-cell';
|
||||||
import DistributeInfoCell from '../instance-cells/distribute-info-cell';
|
import DistributeInfoCell from '../instance-cells/distribute-info-cell';
|
||||||
import DownloadingStatusCell from '../instance-cells/downloading-status-cell';
|
import DownloadingStatusCell from '../instance-cells/downloading-status-cell';
|
||||||
import InjectedParamsCell from '../instance-cells/injected-params-cell';
|
|
||||||
import InstanceStatusCell from '../instance-cells/instance-status-cell';
|
import InstanceStatusCell from '../instance-cells/instance-status-cell';
|
||||||
import NameCell from '../instance-cells/name-cell';
|
import NameCell from '../instance-cells/name-cell';
|
||||||
interface InstanceItemProps {
|
interface InstanceItemProps {
|
||||||
@@ -56,10 +55,6 @@ const InstanceItem: React.FC<InstanceItemProps> = ({
|
|||||||
className="flex align-center"
|
className="flex align-center"
|
||||||
>
|
>
|
||||||
<CPUOffloadingCell record={instanceData}></CPUOffloadingCell>
|
<CPUOffloadingCell record={instanceData}></CPUOffloadingCell>
|
||||||
<InjectedParamsCell
|
|
||||||
record={instanceData}
|
|
||||||
backendParameters={modelData?.backend_parameters}
|
|
||||||
></InjectedParamsCell>
|
|
||||||
<DistributeInfoCell
|
<DistributeInfoCell
|
||||||
record={instanceData}
|
record={instanceData}
|
||||||
workerList={workerList}
|
workerList={workerList}
|
||||||
|
|||||||
Reference in New Issue
Block a user