mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-28 11:11:21 +00:00
fix(ltx): load the LTX-2.5 keyframe embedding as F32
This commit is contained in:
parent
52491bd9f1
commit
867ddd1fb7
1 changed files with 2 additions and 4 deletions
|
|
@ -780,10 +780,8 @@ namespace LTXV {
|
|||
config.audio_hidden_size,
|
||||
2);
|
||||
if (config.use_keyframes_abs_pos_embedding) {
|
||||
params["keyframes_abs_pos_embedding"] = ggml_new_tensor_2d(ctx,
|
||||
get_type(prefix + "keyframes_abs_pos_embedding", tensor_storage_map, GGML_TYPE_F32),
|
||||
config.hidden_size,
|
||||
1);
|
||||
// Added to f32 activations, and backends without BF16 support (e.g. Vulkan on RADV) can't add a BF16 tensor.
|
||||
params["keyframes_abs_pos_embedding"] = ggml_new_tensor_2d(ctx, GGML_TYPE_F32, config.hidden_size, 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue