chore: draft model downloading
This commit is contained in:
@@ -84,7 +84,7 @@ export default {
|
||||
speculative_config: {
|
||||
enabled: true,
|
||||
algorithm: 'eagle3',
|
||||
draft_model_name: 'Qwen3-30B-A3B-EAGLE3',
|
||||
draft_model: 'Qwen3-30B-A3B-EAGLE3',
|
||||
num_draft_tokens: 8,
|
||||
ngram_min_match_length: null,
|
||||
ngram_max_match_length: null
|
||||
|
||||
@@ -85,7 +85,7 @@ export interface FormData {
|
||||
speculative_config: {
|
||||
enabled: boolean;
|
||||
algorithm: string;
|
||||
draft_model_name: string;
|
||||
draft_model: string;
|
||||
num_draft_tokens: number;
|
||||
ngram_min_match_length: number;
|
||||
ngram_max_match_length: number;
|
||||
@@ -135,6 +135,16 @@ export interface ModelInstanceListItem {
|
||||
id: number;
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
draft_model_source: {
|
||||
source: string;
|
||||
huggingface_repo_id: string;
|
||||
huggingface_filename: string;
|
||||
model_scope_model_id: string;
|
||||
model_scope_file_path: string;
|
||||
local_path: string;
|
||||
};
|
||||
draft_model_download_progress: 0;
|
||||
draft_model_resolved_path: string;
|
||||
}
|
||||
|
||||
export interface ModelInstanceFormData {
|
||||
@@ -214,7 +224,7 @@ export interface CatalogSpec {
|
||||
speculative_config: {
|
||||
enabled: boolean;
|
||||
algorithm: string;
|
||||
draft_model_name: string;
|
||||
draft_model: string;
|
||||
num_draft_tokens: number;
|
||||
ngram_min_match_length: number;
|
||||
ngram_max_match_length: number;
|
||||
|
||||
Reference in New Issue
Block a user