mirror of
https://github.com/huggingface/candle.git
synced 2025-06-19 19:58:35 +00:00
MusicGen var-store path cleanup. (#132)
This commit is contained in:
@ -54,6 +54,6 @@ fn main() -> Result<()> {
|
||||
let model = model.deserialize()?;
|
||||
let vb = VarBuilder::from_safetensors(vec![model], DTYPE, &device);
|
||||
let config = GenConfig::small();
|
||||
let _model = MusicgenForConditionalGeneration::load(&vb, config)?;
|
||||
let _model = MusicgenForConditionalGeneration::load(vb, config)?;
|
||||
Ok(())
|
||||
}
|
||||
|
Reference in New Issue
Block a user