@@ -10,8 +10,8 @@ struct SDCondition {
1010 struct ggml_tensor * c_concat = NULL ;
1111
1212 SDCondition () = default ;
13- SDCondition (struct ggml_tensor * c_crossattn, struct ggml_tensor * c_vector, struct ggml_tensor * c_concat) :
14- c_crossattn (c_crossattn), c_vector(c_vector), c_concat(c_concat) {}
13+ SDCondition (struct ggml_tensor * c_crossattn, struct ggml_tensor * c_vector, struct ggml_tensor * c_concat)
14+ : c_crossattn(c_crossattn), c_vector(c_vector), c_concat(c_concat) {}
1515};
1616
1717struct Conditioner {
@@ -978,7 +978,6 @@ struct SD3CLIPEmbedder : public Conditioner {
978978 }
979979};
980980
981-
982981struct FluxCLIPEmbedder : public Conditioner {
983982 ggml_type wtype;
984983 CLIPTokenizer clip_l_tokenizer;
@@ -987,8 +986,8 @@ struct FluxCLIPEmbedder : public Conditioner {
987986 std::shared_ptr<T5Runner> t5;
988987
989988 FluxCLIPEmbedder (ggml_backend_t backend,
990- ggml_type wtype,
991- int clip_skip = -1 )
989+ ggml_type wtype,
990+ int clip_skip = -1 )
992991 : wtype(wtype) {
993992 if (clip_skip <= 0 ) {
994993 clip_skip = 2 ;
@@ -1085,10 +1084,10 @@ struct FluxCLIPEmbedder : public Conditioner {
10851084 auto & t5_tokens = token_and_weights[1 ].first ;
10861085 auto & t5_weights = token_and_weights[1 ].second ;
10871086
1088- int64_t t0 = ggml_time_ms ();
1089- struct ggml_tensor * hidden_states = NULL ; // [N, n_token, 4096]
1090- struct ggml_tensor * chunk_hidden_states = NULL ; // [n_token, 4096]
1091- struct ggml_tensor * pooled = NULL ; // [768,]
1087+ int64_t t0 = ggml_time_ms ();
1088+ struct ggml_tensor * hidden_states = NULL ; // [N, n_token, 4096]
1089+ struct ggml_tensor * chunk_hidden_states = NULL ; // [n_token, 4096]
1090+ struct ggml_tensor * pooled = NULL ; // [768,]
10921091 std::vector<float > hidden_states_vec;
10931092
10941093 size_t chunk_len = 256 ;
0 commit comments