From 6656f0f6206a12df0536df5f48dde1891633051c Mon Sep 17 00:00:00 2001 From: Dingkang Liang Date: Mon, 14 Jul 2025 22:49:14 +0800 Subject: [PATCH 1/3] Add hermes as a library and enable download tracking This PR adds hermes as a dedicated library: https://huggingface.co/LMD0311/HERMES --- packages/tasks/src/model-libraries.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/tasks/src/model-libraries.ts b/packages/tasks/src/model-libraries.ts index 049966cf96..189cce5620 100644 --- a/packages/tasks/src/model-libraries.ts +++ b/packages/tasks/src/model-libraries.ts @@ -1175,6 +1175,13 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = { countDownloads: `path:"model_vae_fp16.pt"`, snippets: snippets.threedtopia_xl, }, + hermes: { + prettyLabel: "HERMES", + repoName: "HERMES", + repoUrl: "https://github.com/LMD0311/HERMES", + filter: false, + countDownloads: `path:"ckpt/hermes_final.pth" OR path_extension:"pth" OR path_prefix:"ckpt/" OR path_prefix:"data/"`, + }, } satisfies Record; export type ModelLibraryKey = keyof typeof MODEL_LIBRARIES_UI_ELEMENTS; From ca09e9d7d012434367d6664da2b0ccad6d2950ac Mon Sep 17 00:00:00 2001 From: Lucain Date: Tue, 15 Jul 2025 17:56:04 +0200 Subject: [PATCH 2/3] Update packages/tasks/src/model-libraries.ts --- packages/tasks/src/model-libraries.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tasks/src/model-libraries.ts b/packages/tasks/src/model-libraries.ts index 189cce5620..2391029d47 100644 --- a/packages/tasks/src/model-libraries.ts +++ b/packages/tasks/src/model-libraries.ts @@ -1180,7 +1180,7 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = { repoName: "HERMES", repoUrl: "https://github.com/LMD0311/HERMES", filter: false, - countDownloads: `path:"ckpt/hermes_final.pth" OR path_extension:"pth" OR path_prefix:"ckpt/" OR path_prefix:"data/"`, + countDownloads: `path:"ckpt/hermes_final.pth"`, }, } satisfies Record; From 35b95cabb5c409e7334086e251fc3cd85cce68c1 Mon Sep 17 00:00:00 2001 From: Xin Zhou Date: Wed, 16 Jul 2025 00:35:27 +0800 Subject: [PATCH 3/3] Move HERMES entry to the alphabetical order --- packages/tasks/src/model-libraries.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/tasks/src/model-libraries.ts b/packages/tasks/src/model-libraries.ts index 2391029d47..83ac8f706b 100644 --- a/packages/tasks/src/model-libraries.ts +++ b/packages/tasks/src/model-libraries.ts @@ -430,6 +430,13 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = { repoUrl: "https://github.com/fudan-generative-vision/hallo", countDownloads: `path:"hallo/net.pth"`, }, + hermes: { + prettyLabel: "HERMES", + repoName: "HERMES", + repoUrl: "https://github.com/LMD0311/HERMES", + filter: false, + countDownloads: `path:"ckpt/hermes_final.pth"`, + }, hezar: { prettyLabel: "Hezar", repoName: "Hezar", @@ -1175,13 +1182,6 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = { countDownloads: `path:"model_vae_fp16.pt"`, snippets: snippets.threedtopia_xl, }, - hermes: { - prettyLabel: "HERMES", - repoName: "HERMES", - repoUrl: "https://github.com/LMD0311/HERMES", - filter: false, - countDownloads: `path:"ckpt/hermes_final.pth"`, - }, } satisfies Record; export type ModelLibraryKey = keyof typeof MODEL_LIBRARIES_UI_ELEMENTS;