fix: ModelLoader::load_tensors duplicated check (#623)
Introduced in 2b6ec97fe2
This commit is contained in:
parent
81556f3136
commit
d7c7a34712
@ -1929,9 +1929,6 @@ bool ModelLoader::load_tensors(std::map<std::string, struct ggml_tensor*>& tenso
|
|||||||
if (pair.first.find("cond_stage_model.transformer.text_model.encoder.layers.23") != std::string::npos) {
|
if (pair.first.find("cond_stage_model.transformer.text_model.encoder.layers.23") != std::string::npos) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (pair.first.find("alphas_cumprod") != std::string::npos) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (pair.first.find("alphas_cumprod") != std::string::npos) {
|
if (pair.first.find("alphas_cumprod") != std::string::npos) {
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user