Yifan Yang
Yifan Yang
https://github.com/ali-vilab/UniAnimate-DiT/blob/61d882c25385042f0cf5bcdaf6853238d9756d68/examples/unianimate_wan/train_unianimate_wan.py#L579C17-L588C108 Why only extract the first batch sample?
Have you encountered with problems when using FLASH ATTENTION: RuntimeError: FlashAttention only support fp16 and bf16 data type. I find in class DiTBlock(nn.Module), the module self.norm1 will change x: torch.bfloat16...
Traceback (most recent call last): -- File "/root/code/train.py", line 134, in handle trainer.fit(model=model, datamodule=datamodule) File "/opt/conda/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 561, in fit call._call_and_handle_interrupt( File "/opt/conda/lib/python3.10/site-packages/pytorch_lightning/trainer/call.py", line 48, in _call_and_handle_interrupt return trainer_fn(*args, **kwargs)...