Skip to content

Wan2.1 finetuning script seems to only support bs = 1 #600

@connorxian

Description

@connorxian

This issue aims to raise the attention of the abnormal training setting. I found that serval settings in the model and training files only code for batch size = 1.

train_wan_t2v.py function training_step:
torch.randint(0, self.pipe.scheduler.num_train_timesteps, (1,))

models.wan_video_dit.py: Line 252:
self.modulation = nn.Parameter(torch.randn(1, 2, dim) / dim**0.5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions