Skip to content

Commit 5f441ab

Browse files
authored
Update flux.hpp
1 parent 031389b commit 5f441ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flux.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,7 @@ namespace Flux {
864864
std::string tensor_name = pair.first;
865865
if (tensor_name.find("model.diffusion_model.") == std::string::npos)
866866
continue;
867-
if (tensor_name.find("guidance_in.in_layer.weight") != std::string::npos) {
867+
if (tensor_name.find("guidance_in.in_layer.weight") != std::string::npos || tensor_name.find("guidance_in.in_layer.A") != std::string::npos) {
868868
// not schnell
869869
flux_params.guidance_embed = true;
870870
}

0 commit comments

Comments
 (0)