Skip to content

Commit 1762a1b

Browse files
committed
remove log spam at every forward pass
1 parent 8dfd19f commit 1762a1b

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/model/diffusion/krea2.hpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -759,9 +759,6 @@ namespace Krea2 {
759759
const std::vector<sd::Tensor<float>>& ref_latents = {},
760760
Rope::RefIndexMode ref_index_mode = Rope::RefIndexMode::FIXED) {
761761
auto get_graph = [&]() -> ggml_cgraph* {
762-
if (ref_latents.size() > 0) {
763-
LOG_DEBUG("Running in OSTRIS Krea2 edit mode");
764-
}
765762
return build_graph(x, timesteps, context, ref_latents, ref_index_mode);
766763
};
767764
return restore_trailing_singleton_dims(GGMLRunner::compute<float>(get_graph, n_threads, false, false, false), x.dim());
@@ -782,4 +779,4 @@ namespace Krea2 {
782779
};
783780
} // namespace Krea2
784781

785-
#endif // __SD_MODEL_DIFFUSION_KREA2_HPP__
782+
#endif // __SD_MODEL_DIFFUSION_KREA2_HPP__

0 commit comments

Comments
 (0)