Skip to content

Commit c52f72c

Browse files
committed
Update embeddings.py
1 parent 13b603c commit c52f72c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/models/embeddings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ def forward(self, ids: torch.Tensor) -> torch.Tensor:
961961
cos, sin = get_1d_rotary_pos_embed(
962962
self.axes_dim[i],
963963
pos[:, i],
964-
self.theta,
964+
theta=self.theta,
965965
repeat_interleave_real=True,
966966
use_real=True,
967967
freqs_dtype=freqs_dtype,

0 commit comments

Comments
 (0)