diff --git a/src/global.less b/src/global.less
index 4e07c4e7..47c06ae5 100644
--- a/src/global.less
+++ b/src/global.less
@@ -638,10 +638,15 @@ body {
inset: 53px auto auto 0 !important;
border-radius: 0 0 var(--border-radius-base) var(--border-radius-base);
border-top: none;
- max-height: 240px;
- min-height: 100px;
+ .ant-cascader-menus {
+ align-items: stretch;
+ }
&.gpu-selector {
+ .ant-cascader-menu {
+ max-height: 400px;
+ height: unset;
+ }
.ant-cascader-menu:last-child {
flex: auto;
diff --git a/src/pages/benchmark/components/summary/instance.tsx b/src/pages/benchmark/components/summary/instance.tsx
index 33d23f21..c1072dd1 100644
--- a/src/pages/benchmark/components/summary/instance.tsx
+++ b/src/pages/benchmark/components/summary/instance.tsx
@@ -124,6 +124,23 @@ const Instance: React.FC = () => {
)
},
+ {
+ key: '2',
+ label: intl.formatMessage({ id: 'models.form.env' }),
+ children: (
+
+ {instanceData?.env
+ ? Object.entries(instanceData?.env || {}).map(
+ ([key, value], index: number) => (
+
+ {`${key}=${value}`}
+
+ )
+ )
+ : '-'}
+
+ )
+ },
{
key: '4',
label: intl.formatMessage({
@@ -159,23 +176,6 @@ const Instance: React.FC = () => {
)}
)
- },
- {
- key: '2',
- label: intl.formatMessage({ id: 'models.form.env' }),
- children: (
-
- {instanceData?.env
- ? Object.entries(instanceData?.env || {}).map(
- ([key, value], index: number) => (
-
- {`${key}=${value}`}
-
- )
- )
- : '-'}
-
- )
}
];
}, [detailData]);
diff --git a/src/pages/llmodels/components/gpu-card.tsx b/src/pages/llmodels/components/gpu-card.tsx
index 2454f780..c5822a09 100644
--- a/src/pages/llmodels/components/gpu-card.tsx
+++ b/src/pages/llmodels/components/gpu-card.tsx
@@ -1,7 +1,6 @@
import { convertFileSize } from '@/utils';
import { AutoTooltip } from '@gpustack/core-ui';
import { useIntl } from '@umijs/max';
-import _ from 'lodash';
import React from 'react';
import styled from 'styled-components';
import '../style/gpu-card.less';
@@ -24,6 +23,7 @@ const ItemInfo = styled.div`
display: flex;
flex-wrap: wrap;
white-space: break-spaces;
+ font-size: 13px;
`;
const Description = styled.div`
@@ -76,7 +76,7 @@ const GPUCard: React.FC<{
/ {convertFileSize(data?.memory?.total || 0)}
-
+ {/*
{intl.formatMessage({ id: 'resources.table.gpuutilization' })}
:{' '}
@@ -85,7 +85,7 @@ const GPUCard: React.FC<{
? _.round(data?.memory?.utilization_rate || 0, 2)
: _.round(data.memory?.allocated / data.memory?.total, 2) * 100}
%
-
+ */}
>
)
}
diff --git a/src/pages/llmodels/forms/schedule-type.tsx b/src/pages/llmodels/forms/schedule-type.tsx
index d8cba9c3..1fdb301e 100644
--- a/src/pages/llmodels/forms/schedule-type.tsx
+++ b/src/pages/llmodels/forms/schedule-type.tsx
@@ -175,7 +175,7 @@ const ScheduleTypeForm: React.FC = () => {
{
root: 'cascader-popup-wrapper gpu-selector'
}
}}
+ styles={{
+ popup: {
+ listItem: {
+ maxWidth: 'unset'
+ }
+ }
+ }}
maxTagCount={1}
label={intl.formatMessage({ id: 'models.form.gpuselector' })}
options={gpuOptions}
diff --git a/src/pages/organizations/index.tsx b/src/pages/organizations/index.tsx
index 40c59e21..b749d763 100644
--- a/src/pages/organizations/index.tsx
+++ b/src/pages/organizations/index.tsx
@@ -59,7 +59,7 @@ const Organizations: React.FC = () => {
))}
-