diff options
author | Dave Lage <rockerboo@gmail.com> | 2024-05-28 00:08:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-28 06:08:00 +0200 |
commit | ea260aeffdf97d0231cdb5cf6d31d33adfc4d4b0 (patch) | |
tree | 6050fb9d81cdca16ce36db8b43b254f9ee684fdc /candle-transformers | |
parent | 0814dfd148474f436bb43314fc41639a7b429aab (diff) | |
download | candle-ea260aeffdf97d0231cdb5cf6d31d33adfc4d4b0.tar.gz candle-ea260aeffdf97d0231cdb5cf6d31d33adfc4d4b0.tar.bz2 candle-ea260aeffdf97d0231cdb5cf6d31d33adfc4d4b0.zip |
Add Debug, Clone, Deserialize to moondream config (#2222)
Diffstat (limited to 'candle-transformers')
-rw-r--r-- | candle-transformers/src/models/moondream.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/candle-transformers/src/models/moondream.rs b/candle-transformers/src/models/moondream.rs index 162f7820..e63fcf6e 100644 --- a/candle-transformers/src/models/moondream.rs +++ b/candle-transformers/src/models/moondream.rs @@ -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, |