You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having one issue when I import torchdrug and transformers at the same time. Importing torchdrug will somehow disable some functionality for hugging face transformers and peft as well as torch.distributed.fsdp.FullySharedDataParallel.
In multiple GPU settings, importing torchdrug will cause AssertionError: Expects a fully sharded module but got FullyShardedDataParallel( (_fsdp_wrapped_module):... I just find these errors quite weird for me, if you can provide any hint or solution, I will be very grateful for your help.
Many thanks,
The text was updated successfully, but these errors were encountered:
Howdy,
I am having one issue when I import torchdrug and transformers at the same time. Importing torchdrug will somehow disable some functionality for hugging face transformers and peft as well as torch.distributed.fsdp.FullySharedDataParallel.
In multiple GPU settings, importing torchdrug will cause
AssertionError: Expects a fully sharded module but got FullyShardedDataParallel( (_fsdp_wrapped_module):..
. I just find these errors quite weird for me, if you can provide any hint or solution, I will be very grateful for your help.Many thanks,
The text was updated successfully, but these errors were encountered: