Skip to content

Commit

Permalink
Dependence on Apex canceled.
Browse files Browse the repository at this point in the history
  • Loading branch information
rc-zb committed Apr 18, 2024
1 parent ea35b49 commit 865a091
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Python #
__pycache__/
4 changes: 3 additions & 1 deletion train_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
from data import mkdir_p
from contextlib import contextmanager
import torch.distributed as dist
from apex.optimizers import FusedAdam as AdamW
# from apex.optimizers import FusedAdam as AdamW
#👆 Nvidia Apex can't be easily deployed. This commenting would block VDVAE from running properly.
# However, it should not interfere Brain-Diffuser.
from vae import VAE
from torch.nn.parallel.distributed import DistributedDataParallel

Expand Down

0 comments on commit 865a091

Please sign in to comment.