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