Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
younesbelkada committed Oct 11, 2023
1 parent 3f4a279 commit 3466e30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trl/models/modeling_sd_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@


if is_diffusers_greater_than("0.20.2"):
from diffusers.utils import randn_tensor
else:
from diffusers.utils.torch_utils import randn_tensor
else:
from diffusers.utils import randn_tensor


@dataclass
Expand Down

0 comments on commit 3466e30

Please sign in to comment.