feat: support GGUF export for non-PEFT models + fix venv_t5 switching for local checkpoints (#4455)
* feat: support full model GGUF export, disable incompatible methods in UI * fix: resolve base model from config.json for venv_t5 export switching * feat: detect BNB-quantized models and disable all export methods for quantized non-PEFT checkpoints * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix: relocate Ollama Modelfile alongside GGUFs during non-PEFT export cleanup * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
be901ecdea
commit
ebe45981dd
10 changed files with 362 additions and 14 deletions
|
|
@ -31,6 +31,7 @@ export interface ModelCheckpoints {
|
|||
base_model?: string | null;
|
||||
peft_type?: string | null;
|
||||
lora_rank?: number | null;
|
||||
is_quantized?: boolean;
|
||||
}
|
||||
|
||||
export interface CheckpointListResponse {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue