mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2025-12-12 13:28:37 +00:00
fix: fix CosXL not being detected (#989)
This commit is contained in:
parent
99e17232a4
commit
edf2cb3846
@ -103,8 +103,12 @@ const char* unused_tensors[] = {
|
|||||||
"model_ema.diffusion_model",
|
"model_ema.diffusion_model",
|
||||||
"embedding_manager",
|
"embedding_manager",
|
||||||
"denoiser.sigmas",
|
"denoiser.sigmas",
|
||||||
"edm_vpred.sigma_max",
|
|
||||||
"text_encoders.t5xxl.transformer.encoder.embed_tokens.weight", // only used during training
|
"text_encoders.t5xxl.transformer.encoder.embed_tokens.weight", // only used during training
|
||||||
|
"ztsnr", // Found in some SDXL vpred models
|
||||||
|
"edm_vpred.sigma_min", // Found in CosXL
|
||||||
|
// TODO: find another way to avoid the "unknown tensor" for these two
|
||||||
|
// "edm_vpred.sigma_max", // Used to detect CosXL
|
||||||
|
// "v_pred", // Used to detect SDXL vpred models
|
||||||
"text_encoders.llm.output.weight",
|
"text_encoders.llm.output.weight",
|
||||||
"text_encoders.llm.lm_head.",
|
"text_encoders.llm.lm_head.",
|
||||||
"first_stage_model.bn.",
|
"first_stage_model.bn.",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user