feat: dynamic backends
This commit is contained in:
@@ -128,10 +128,6 @@ export const checkCurrentbackend = (data: {
|
||||
return backendOptionsMap.voxBox;
|
||||
}
|
||||
|
||||
if (isGGUF) {
|
||||
return backendOptionsMap.llamaBox;
|
||||
}
|
||||
|
||||
if (checkOnlyAscendNPU(gpuOptions)) {
|
||||
return backendOptionsMap.ascendMindie;
|
||||
}
|
||||
@@ -229,11 +225,6 @@ export const useCheckCompatibility = () => {
|
||||
return clusterNames.join(', ');
|
||||
};
|
||||
|
||||
const getCurrentCluster = (id: number) => {
|
||||
const cluster = clusterList.find?.((item) => item.value === id);
|
||||
return cluster?.label || '';
|
||||
};
|
||||
|
||||
const handleCheckCompatibility = (
|
||||
evaluateResult: EvaluateResult | null
|
||||
): MessageStatus => {
|
||||
|
||||
Reference in New Issue
Block a user