diff --git a/src/pages/llmodels/components/hf-model-file.tsx b/src/pages/llmodels/components/hf-model-file.tsx index defb1b6d..06b67e7c 100644 --- a/src/pages/llmodels/components/hf-model-file.tsx +++ b/src/pages/llmodels/components/hf-model-file.tsx @@ -161,7 +161,7 @@ const HFModelFile: React.FC = forwardRef((props, ref) => { } ); const fileList = _.filter(_.get(data, ['Data', 'Files']), (file: any) => { - return filterRegGGUF.test(file.Path) || _.includes(file.Path, '.gguf'); + return filterRegGGUF.test(file.Path) && file.Type === 'blob'; }); const list = _.map(fileList, (item: any) => { diff --git a/src/pages/resources/components/workers.tsx b/src/pages/resources/components/workers.tsx index 66fb6ccf..bf59e0eb 100644 --- a/src/pages/resources/components/workers.tsx +++ b/src/pages/resources/components/workers.tsx @@ -439,7 +439,7 @@ const Resources: React.FC = () => { key="VRAM" render={(text, record: ListItem) => { return ( - + {_.map( _.sortBy(record?.status?.gpu_devices || [], ['index']), (item: GPUDeviceItem, index: string) => {