AnyDoor icon indicating copy to clipboard operation
AnyDoor copied to clipboard

memory requirement

Open zz8615 opened this issue 1 year ago • 2 comments

i am trying to train the model using 2 Telsa V100. I have changed the batch_size to 1 but it still tells me it is out of memory. Is this expected? Thanks!

zz8615 avatar Jan 24 '24 15:01 zz8615

You coul use "ddp_sharded", which requires smaller memories
trainer = pl.Trainer(gpus=1, strategy="ddp_sharded", precision=16, accelerator="gpu", callbacks=[logger], progress_bar_refresh_rate=1)

XavierCHEN34 avatar Jan 25 '24 02:01 XavierCHEN34

Hello,I would like to ask if the code can run using this method. Thank you!

mo230761 avatar Sep 25 '24 11:09 mo230761