fix: add serde default for tie_word_embeddings in Qwen3VLTextConfig
- Add #[serde(default)] attribute to tie_word_embeddings field - Fixes deserialization error when field is missing from config.json - Resolves: missing field 'tie_word_embeddings' error for Qwen3-VL-8B model
This commit is contained in:
@@ -42,6 +42,7 @@ pub struct Qwen3VLTextConfig {
|
||||
pub rms_norm_eps: f64,
|
||||
pub rope_scaling: RopeScaling,
|
||||
pub rope_theta: f32,
|
||||
#[serde(default)]
|
||||
pub tie_word_embeddings: bool,
|
||||
pub use_cache: bool,
|
||||
pub vocab_size: usize,
|
||||
|
||||
Reference in New Issue
Block a user