mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-11 03:24:30 +00:00
fix: apply MiniMax-H3 Diffusers LoRA token_refiner weights (#2306)
This commit is contained in:
1 parent
cfdf3cf037
commit
008b9a20ca
1 file changed
+1
@@ -1723,6 +1723,7 @@ std::string convert_tensor_name(std::string name, SDVersion version) {
|
|||||||
std::vector<std::string> dit_prefix_vec = {
|
std::vector<std::string> dit_prefix_vec = {
|
||||||
"transformer_blocks",
|
"transformer_blocks",
|
||||||
"single_transformer_blocks",
|
"single_transformer_blocks",
|
||||||
|
"token_refiner",
|
||||||
};
|
};
|
||||||
for (const auto& prefix : dit_prefix_vec) {
|
for (const auto& prefix : dit_prefix_vec) {
|
||||||
if (starts_with(name, prefix)) {
|
if (starts_with(name, prefix)) {
|
||||||
|
|||||||
Reference in new issue
Block a user