From e86565624bcbc1c4bf2d33410d924bf97ad05f31 Mon Sep 17 00:00:00 2001 From: Laurent Mazare <laurent.mazare@gmail.com> Date: Mon, 18 Nov 2024 14:32:38 +0100 Subject: Fix for clippy. (#2626) --- .../src/models/stable_diffusion/euler_ancestral_discrete.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/candle-transformers/src/models/stable_diffusion/euler_ancestral_discrete.rs b/candle-transformers/src/models/stable_diffusion/euler_ancestral_discrete.rs index edd5eb50..c27e983a 100644 --- a/candle-transformers/src/models/stable_diffusion/euler_ancestral_discrete.rs +++ b/candle-transformers/src/models/stable_diffusion/euler_ancestral_discrete.rs @@ -1,7 +1,7 @@ //! Ancestral sampling with Euler method steps. //! //! Based on the original [`k-diffusion` implementation by Katherine Crowson]( https://github.com/crowsonkb/k-diffusion/blob/481677d114f6ea445aa009cf5bd7a9cdee909e47/k_diffusion/sampling.py#L72). -/// +//! use super::{ schedulers::{ betas_for_alpha_bar, BetaSchedule, PredictionType, Scheduler, SchedulerConfig, -- cgit v1.2.3