We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a8ff2e commit 8d0819cCopy full SHA for 8d0819c
conditioner.hpp
@@ -459,8 +459,8 @@ struct FrozenCLIPEmbedderWithCustomWords : public Conditioner {
459
if (sd_version_is_sdxl(version)) {
460
text_model2->compute(n_threads,
461
input_ids2,
462
- 0,
463
- NULL,
+ num_custom_embeddings,
+ token_embed_custom.data(),
464
max_token_idx,
465
false,
466
&chunk_hidden_states2, work_ctx);
@@ -470,8 +470,8 @@ struct FrozenCLIPEmbedderWithCustomWords : public Conditioner {
470
if (chunk_idx == 0) {
471
472
473
474
475
476
true,
477
&pooled,
0 commit comments