mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2025-12-13 05:48:56 +00:00
fix: mark encoder.embed_tokens.weight as unused tensor (#721)
This commit is contained in:
parent
b9e4718fac
commit
225162f270
@ -100,6 +100,7 @@ const char* unused_tensors[] = {
|
|||||||
"model_ema.diffusion_model",
|
"model_ema.diffusion_model",
|
||||||
"embedding_manager",
|
"embedding_manager",
|
||||||
"denoiser.sigmas",
|
"denoiser.sigmas",
|
||||||
|
"text_encoders.t5xxl.transformer.encoder.embed_tokens.weight", // only used during training
|
||||||
};
|
};
|
||||||
|
|
||||||
bool is_unused_tensor(std::string name) {
|
bool is_unused_tensor(std::string name) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user