Files
li-lizhe 7d6a98bc62 fix(framepack): use text_mask.device instead of hardcoded cuda
get_cu_seqlens creates a cu_seqlens tensor with device="cuda",
which crashes on non-CUDA devices (e.g. Ascend NPU raises
"Torch not compiled with CUDA enabled"). Create it on the same
device as the input text_mask instead, which is device-agnostic.
2026-09-12 09:08:48 +08:00
..
2025-07-08 15:47:07 -04:00
2025-07-08 15:47:07 -04:00
2025-07-08 15:47:07 -04:00
2025-07-08 15:47:07 -04:00
2025-07-08 15:47:07 -04:00
2026-02-19 09:15:37 +01:00
2025-07-08 15:47:07 -04:00