Skip to content

Commit

Permalink
Update ddpm.py
Browse files Browse the repository at this point in the history
Fixed rank_zero_only reference that moved AUTOMATIC1111/stable-diffusion-webui#11458
  • Loading branch information
kjerk authored Mar 31, 2024
1 parent cf1d67a commit fb40480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ldm/models/diffusion/ddpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import itertools
from tqdm import tqdm
from torchvision.utils import make_grid
from pytorch_lightning.utilities.distributed import rank_zero_only
from pytorch_lightning.utilities.rank_zero import rank_zero_only
from omegaconf import ListConfig

from ldm.util import log_txt_as_img, exists, default, ismap, isimage, mean_flat, count_params, instantiate_from_config
Expand Down

0 comments on commit fb40480

Please sign in to comment.