Skip to content

Commit 208782f

Browse files
authored
ModelLoader::load_tensors duplicated check
Introduced in 2b6ec97
1 parent 30b3ac8 commit 208782f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

model.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -1929,9 +1929,6 @@ bool ModelLoader::load_tensors(std::map<std::string, struct ggml_tensor*>& tenso
19291929
if (pair.first.find("cond_stage_model.transformer.text_model.encoder.layers.23") != std::string::npos) {
19301930
continue;
19311931
}
1932-
if (pair.first.find("alphas_cumprod") != std::string::npos) {
1933-
continue;
1934-
}
19351932

19361933
if (pair.first.find("alphas_cumprod") != std::string::npos) {
19371934
continue;

0 commit comments

Comments
 (0)