Skip to content

Commit

Permalink
Patch metal bug
Browse files Browse the repository at this point in the history
  • Loading branch information
EricLBuehler committed Oct 16, 2024
1 parent 751be3d commit f57741c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mistralrs-core/src/pipeline/isq.rs
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,8 @@ pub trait IsqModel {

std::fs::create_dir_all(parent)?;

safetensors::serialize_to_file(quantized_values?, &None, serialized)?;

let residual = match organization {
IsqOrganization::Default => self.residual_tensors(),
IsqOrganization::MoeExpertsOnly => self
Expand Down

0 comments on commit f57741c

Please sign in to comment.