diff --git a/dashboard/src/lib/components/FamilyLogos.svelte b/dashboard/src/lib/components/FamilyLogos.svelte index 306a447ed9..e741bedb22 100644 --- a/dashboard/src/lib/components/FamilyLogos.svelte +++ b/dashboard/src/lib/components/FamilyLogos.svelte @@ -7,7 +7,14 @@ let { family, class: className = "" }: FamilyLogoProps = $props(); -{#if family === "favorites"} +{#if family === "recommended"} + + + + +{:else if family === "favorites"} void; @@ -12,6 +13,7 @@ let { families, selectedFamily, + hasRecommended, hasFavorites, hasRecents, onSelect, @@ -19,6 +21,7 @@ // Family display names const familyNames: Record = { + recommended: "Recommended", favorites: "Favorites", recents: "Recent", huggingface: "Hub", @@ -45,6 +48,31 @@
+ + {#if hasRecommended} + + {/if} +
{:else} - - {#if recommendedGroups.length > 0 && otherGroups.length > 0 && !searchQuery.trim()} + + {#if fitsGroups.length > 0 && otherGroups.length > 0 && !searchQuery.trim()}
@@ -978,14 +1002,11 @@ Recommended for your cluster - — fits in available memoryFits in available memory
{/if} - {#each recommendedGroups as group} + {#each fitsGroups as group} {/each} - {#if otherGroups.length > 0 && recommendedGroups.length > 0 && !searchQuery.trim()} + {#if otherGroups.length > 0 && fitsGroups.length > 0 && !searchQuery.trim()}
diff --git a/dashboard/src/lib/components/PrefillDecodeDisaggregation.svelte b/dashboard/src/lib/components/PrefillDecodeDisaggregation.svelte index 7b9c1f6558..1e32005447 100644 --- a/dashboard/src/lib/components/PrefillDecodeDisaggregation.svelte +++ b/dashboard/src/lib/components/PrefillDecodeDisaggregation.svelte @@ -1,5 +1,5 @@