From cf057d26eccc6421ba34e703b05fe618223a830d Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Mon, 15 Jul 2024 09:49:23 -0400 Subject: [PATCH] fix enum compile error --- .../src/util/model_weights_cache/model_weights_cache_filename.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/service/job/inference_job/src/util/model_weights_cache/model_weights_cache_filename.rs b/crates/service/job/inference_job/src/util/model_weights_cache/model_weights_cache_filename.rs index 92bb74621d..a293c913e1 100644 --- a/crates/service/job/inference_job/src/util/model_weights_cache/model_weights_cache_filename.rs +++ b/crates/service/job/inference_job/src/util/model_weights_cache/model_weights_cache_filename.rs @@ -33,6 +33,7 @@ impl ModelWeightsCacheMapping { fn extension(&self) -> &str { match self.weights_type { // Pt + WeightsType::GptSoVits => "pt", // TODO(bt,2024-07-15): Is this correct? WeightsType::HifiganTacotron2 => "pt", WeightsType::RvcV2 => "pt", WeightsType::SoVitsSvc => "pt",