Improve local inference settings and model downloader (#8467)

Signed-off-by: jh-block <jhugo@block.xyz>
This commit is contained in:
jh-block
2026-04-14 10:50:50 +02:00
committed by GitHub
parent 2e529b7497
commit 65e5d97cac
10 changed files with 1009 additions and 297 deletions
+3
View File
@@ -541,6 +541,7 @@ export type HfQuantVariant = {
filename: string;
quality_rank: number;
quantization: string;
sharded?: boolean;
size_bytes: number;
};
@@ -1095,6 +1096,8 @@ export type RemoveExtensionRequest = {
};
export type RepoVariantsResponse = {
available_memory_bytes: number;
downloaded_quants: Array<string>;
recommended_index?: number | null;
variants: Array<HfQuantVariant>;
};