Skip to content

Commit

Permalink
Add Debug, Clone, Deserialize to moondream config (#2222)
Browse files Browse the repository at this point in the history
  • Loading branch information
rockerBOO authored May 28, 2024
1 parent 0814dfd commit ea260ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions candle-transformers/src/models/moondream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use crate::models::with_tracing::{layer_norm, linear_b, LayerNorm, Linear};
use candle::{IndexOp, Module, Result, Tensor, D};
use candle_nn::VarBuilder;

#[derive(Debug, Clone, serde::Deserialize)]
pub struct Config {
pub phi_config: PhiConfig,
pub vision_config: VisionConfig,
Expand Down

0 comments on commit ea260ae

Please sign in to comment.