From 88e451c63d4c849ae9be70ffd0a3d7d7a9c3160e Mon Sep 17 00:00:00 2001 From: Michael Han <107991372+shimmyshimmer@users.noreply.github.com> Date: Tue, 23 Jun 2026 05:16:57 -0700 Subject: [PATCH] Hub: restore Unsloth owner avatar to HF profile picture (#6606) PR #6364 added a branch that overrode the unsloth owner avatar with the bundled circle-logo-small.png sticker. Revert it so unsloth uploads use the live Hugging Face org avatar again, falling back to the colored initial tile. Upstream re-uploads are unaffected since they still resolve through provider logos. Co-authored-by: Unsloth --- .../src/features/hub/catalog/owner-avatar.tsx | 30 ------------------- 1 file changed, 30 deletions(-) diff --git a/studio/frontend/src/features/hub/catalog/owner-avatar.tsx b/studio/frontend/src/features/hub/catalog/owner-avatar.tsx index 82a1f150d2..852c09ab5f 100644 --- a/studio/frontend/src/features/hub/catalog/owner-avatar.tsx +++ b/studio/frontend/src/features/hub/catalog/owner-avatar.tsx @@ -19,24 +19,6 @@ const SIZES: Record = { lg: "size-12 rounded-[15px] text-[16px]", }; -// Unsloth's own uploads (no upstream provider match) show the bundled Unsloth -// brand avatar instead of a colored-initial tile, so they read as Unsloth even -// in virtualized rows that never fetch the HF profile picture. -const UNSLOTH_OWNER_LOGO: ProviderLogo = { - id: "unsloth", - name: "Unsloth", - logoPath: "/circle-logo-small.png", - treatment: "original", - background: "transparent", - fit: "cover", - // Used directly for the unsloth owner, never via prefix matching. - prefixes: [], -}; - -function isUnslothOwner(owner: string): boolean { - return owner.trim().toLowerCase() === "unsloth"; -} - const AVATAR_IMAGE_RETRY_BASE_MS = 60_000; const AVATAR_IMAGE_RETRY_MAX_MS = 30 * 60_000; @@ -86,15 +68,6 @@ export function OwnerAvatar({ /> ); } - if (isUnslothOwner(owner)) { - return ( - - ); - } return (