Skip to content

Commit d7c7a34

Browse files
authored
fix: ModelLoader::load_tensors duplicated check (#623)
Introduced in 2b6ec97
1 parent 81556f3 commit d7c7a34

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)